Wireless Access

Reply
Occasional Contributor II

Testing an email is showing lost connection server

Hi everyone;

 

I have configured the file /etc/postfix/main.cf with the following line:

 

relayhost = 10.193.128.14

 

after reset the postfix service and testing sending an email it is showing me the following message:

 

 

[root@localhost postfix]# tail -f /var/log/maillog
Feb 23 17:52:14 cobogsrv02 postfix/pickup[5274]: 1D9A123FA2F: uid=0 from=<root>
Feb 23 17:52:14 cobogsrv02 postfix/cleanup[5342]: 1D9A123FA2F: message-id=<20120223225214.1D9A123FA2F@localhost.localdomain>
Feb 23 17:52:14 cobogsrv02 postfix/qmgr[5275]: 1D9A123FA2F: from=<root@localhost.localdomain>, size=345, nrcpt=2 (queue active)
Feb 23 17:52:14 cobogsrv02 postfix/smtp[5355]: 1D9A123FA2F: to=<cppotro@kpsg.com.co>, relay=10.193.128.13[10.193.128.13]:25, delay=0.06, delays=0.05/0/0/0, dsn=4.4.2, status=deferred (lost connection with 10.193.128.13[10.193.128.13] while receiving the initial server greeting)
Feb 23 17:52:14 cobogsrv02 postfix/smtp[5355]: 1D9A123FA2F: to=<mlinner@kpsg.com.co>, relay=10.193.128.13[10.193.128.13]:25, delay=0.06, delays=0.05/0/0/0, dsn=4.4.2, status=deferred (lost connection with 10.193.128.13[10.193.128.13] while receiving the initial server greeting)
Feb 23 17:52:14 cobogsrv02 postfix/cleanup[5342]: 39E7723FA30: message-id=<20120223225214.39E7723FA30@localhost.localdomain>
Feb 23 17:52:14 cobogsrv02 postfix/bounce[5357]: 1D9A123FA2F: sender delivery status notification: 39E7723FA30
Feb 23 17:52:14 cobogsrv02 postfix/qmgr[5275]: 39E7723FA30: from=<>, size=2531, nrcpt=1 (queue active)
Feb 23 17:52:14 cobogsrv02 postfix/local[5358]: 39E7723FA30: to=<root@localhost.localdomain>, relay=local, delay=0.04, delays=0.03/0/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
Feb 23 17:52:14 cobogsrv02 postfix/qmgr[5275]: 39E7723FA30: removed


 

 

 

Could you say me if I'm configuring well the main.cf file?? or there is and issue with comunication with the mail server.

 

 

Thank you

 

 

Wmontilla

Aruba Employee

Re: Testing an email is showing lost connection server

According to the log it's pointing to 10.193.128.13 instead of 10.193.128.14.  Are you sure the main.cf file does not have any other relayhost entry or you verified it is indeed 10.193.128.14?

 

-Mike

Regular Contributor I

Re: Testing an email is showing lost connection server

See http://www.postfix.org/postconf.5.html#relayhost. 

 

The way you specified things, postfix is going to look up the MX record for 10.193.128.14, which appears to be .13. 

 

Use brackets around the IP address if you want to disable MX lookups. 

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: