I recently setup a new Debian server,
After installing and setting up sendmail for the first time, I am not able to send e-mail.
Reason : Connection timeout.
Output from the /var/log/mail.log :
> May 6 02:42:53 k***** sm-mta: q465gjxF013677: > to=<*****@gmail.com>, ctladdr=<*****@*****.ca> (1001/1001), > delay=01:00:08, xdelay=00:00:00, mailer=esmtp, pri=300329, > relay=alt4.gmail-smtp-in.l.google.com., dsn=4.0.0, stat=Deferred: > Connection timed out with alt4.gmail-smtp-in.l.google.com.
Output from netstat :
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 15069/sendmail: MTA tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 15069/sendmail: MTA
Telnet on 25 is also successful when ran from an other computer (telnet theserver.imworkingon.com 25) but not if I try to run it from the server im working on. This is telling me that somehow the outbound port 25 seems to be blocked...
Anyone have any ideas?