Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th October 2007, 06:11
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
 
Default Problem on install/configure postfix

Hi folks,


Continued on "The Perfect Setup - Ubuntu Feisty Fawn (Ubuntu 7.04) - Page 5"
http://www.howtoforge.com/perfect_setup_ubuntu704_p5

All went through w/o major problem unitl coming to "telnet localhost 25". I copy/paste the commands on the "Howto" to proceed.


Please help me to clarify following points

1)
On running;
Code:
# postconf -e 'smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination'
I replaced "permit_mynetworks" with "permit_eth0". Did I make a mistake here? I have only one NIC on this PC


2)
On running;
# openssl genrsa -des3 -rand /etc/hosts -out smtpd.key 1024
Code:
284 semi-random bytes loaded
Generating RSA private key, 1024 bit long modulus
.........++++++
.............++++++
e is 65537 (0x10001)
Enter pass phrase for smtpd.key:1024 [Enter]
Verifying - Enter pass phrase for smtpd.key:1024[Enter]
I use the same smtpd.key number "1024". Can I use different number?



Coming to "telnet localhost 25"

# telnet localhost 25
Code:
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection timed out

The firewall blocks it.
# iptables -F


# cat /etc/rc.local | grep 127.0.0.1
Code:
iptables -I OUTPUT 3 -j REJECT -s 127.0.0.1 --reject-with icmp-port-unreachable

# telnet localhost 25
Code:
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 server1.example.com ESMTP Postfix (Ubuntu)
ehlo localhost
(hanging here)

quit 
Connection closed by foreign host.
"server1.example.com" has not been changed to "ubuntu.xyz.com". Where shall I check and how to fix the problem?


TIA


Edit-1 :
====

Hi Falko,

I have finished up to section:-
"18 Synchronize the System Clock"

without problem. Your HOWTO works perfect. Wonderful!!! Thanks.

If NOT installing ISPConfig, do I need proceeding section:-
19 Install Some Perl Modules Needed By SpamAssassin (Comes With ISPConfig)
???


Edit-2 (to fix above problem) :
====

Re-run following steps;

# postconf -e 'myhostname = ubuntu.xyz.com'
no printout

(Remark: Previously I ran;
# postconf -e 'myhostname = server1.example.com' )

# /etc/init.d/postfix restart
Code:
 * Stopping Postfix Mail Transport Agent postfix                                               [ OK ] 
 * Starting Postfix Mail Transport Agent postfix                                               [ OK ]
# iptables -F
# telnet localhost 25
Code:
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 ubuntu.xyz.com ESMTP Postfix (Ubuntu)
ehlo localhost
250-ubuntu.xyz.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
quit
221 2.0.0 Bye
Connection closed by foreign host.
Above problem SOLVED


B.R.
satimis

Last edited by satimis; 26th October 2007 at 18:15. Reason: PROMBLE SOLVED
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 17:58
Problem with install PostFix - Pls Help! joelee HOWTO-Related Questions 3 28th July 2007 10:23
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36
PostFix problem! SevenSniff General 2 14th October 2006 14:44


All times are GMT +2. The time now is 20:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.