PDA

View Full Version : SMTP Connection Failed


wysard
09-27-2007, 08:50 PM
Hopefully this is something easy.

On the installation "Outgoing Mail" page the defaults didn't work. So I entered my mail server address, a legitimate user, and legitimate password; just like I would do for Outlook. I got this error:

SMTP Connection Failed! The SMTP connection failed to start [mail.mydomain.net:25]: fsockopen returned Error Number 110 and Error String 'Connection timed out'

I'm hoping it's easy, a permissions thing or something.

Thanks

jstanden
10-02-2007, 11:26 PM
Hey there!

"Connection timed out" could mean a lot of things, but often it's the wrong port or a firewall on the server blocking the port.

Do you have shell access on this machine? If so, you should try a manual SMTP connection like:

# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 test.webgroupmedia.com ESMTP Postfix (Debian/GNU)
HELO localhost
250 test.webgroupmedia.com
QUIT
221 2.0.0 Bye
Connection closed by foreign host.


I added this as a KB article here:
http://www.cerberusweb.com/kb/article/000025

wysard
10-05-2007, 07:43 PM
Thank You:

The firewall cfs was blocking outbound SMTP mail on port 25. Thanks for the hints I needed to find it.

jstanden
10-05-2007, 09:16 PM
No problem! Glad to hear it's fixed. :)