On Mon, 19 Oct 2009, Michael Jean wrote: > I have a problem with postfix. It is installed on a host in my small > home lan behind a router. My ISP is rogers. I have 3 external email > addresses I am testing to/from, one of them being m...@rogers.com, the > others m...@somewhere.ca and m...@somewhereelse.ca. My local domain is > mydomain.ca so I am trying to send from m...@mydomain. > > I can receive mail for m...@mydomain.ca from each of these accounts no > problem but I can only send mail successfully from this account to > m...@rogers.com. > > mail.log: > Oct 14 23:31:16 mymailhost postfix/smtp[9166]: 5F01426400: > to=<m...@somewhere.ca>, relay=none, delay=60, delays=0.04/0.02/60/0, > dsn=4.4.1, status=deferred (connect to > filter.somewhere.ca[ipaddress]:25: Connection timed out) > > Oct 14 23:31:51 mymailhost postfix/smtp[9188]: 7EFCE26403: > to=<m...@somewhereelse.ca>, relay=none, delay=60, delays=0.03/0.01/60/0, > dsn=4.4.1, status=deferred (connect to > mail.somewhereelse.ca[ipaddress]:25: Connection timed out)
Your ISP blocks outbound traffic on port 25 when it is not destined for rogers SMTP servers. > Oct 14 23:31:36 mymailhost postfix/smtp[9178]: 164E126402: > to=<m...@rogers.com>, relay=mx2.rog.mail.yahoo.com[206.190.37.7]:25, > delay=60, delays=0.03/0.01/60/0.14, dsn=2.0.0, status=sent (250 ok > dirdel) A rogers server, and thus allowed by your ISP. > I attempted to use relayhost=[smtp.broadband.rogers.com] in main.cf > > with sasl_passwd: > [smtp.broadband.rogers.com] me:myrogerspassword > > then postmap sasl_passwd and reload and send new test messages but then > mail no longer is delivered to m...@rogers.com (or the others). This is an insufficient problem description. Show logs related to the problem along with the output of 'postconf -n' that proves you set relayhost. -- Sahil Tandon <sa...@tandon.net>