Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have configured a postfix instance. But when try to send mail, I get this error:

Mar 13 14:45:01 2448-3900-2400 postfix/smtp[9397]: E7C0880B9307: to=<shilpa39@yahoo.com>, relay=incr1324a.gowaytrip.com[87.117.198.200]:25, delay=10, delays=0.02/0.01/10/0.03, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 4454880B04F0)
Mar 13 14:48:30 2448-3900-2400 postfix-out/smtp[10030]: 4454880B04F0: to=<shilpa39@yahoo.com>, relay=none, delay=209, delays=59/0.02/150/0, dsn=4.4.1, status=deferred (connect to mta6.am0.yahoodns.net[98.138.112.38]:25: Connection timed out)

And when I comment the relayhost parameter, mail is sent successfully.

How can I fix this?

share|improve this question
    
Why are you using a relayhost? –  NickW Mar 13 '13 at 12:00
1  
In addition to NickW's question...It says, "connection timed out". Can you connect to port 25 on mta6.am0.yahoodns.net from the command line (using, e.g., telnet)? Is there a local firewall blocking outbound connections on port 25? –  larsks Mar 13 '13 at 13:18
    
I have checked and no firewall is blocking the port 25.And I also checked using telnet its successfully working on port 25.Further when I comment the relayhost line them mails are delivered successfully to my account. –  jenni Mar 14 '13 at 5:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.