Prev: smtpd_recipient_restrictions = check_recipient_access & sendmail
Next: Spam filtering problem [Probably really a BIND problem, but let's not poison the well...]
From: Jeff Lacki on 5 Apr 2010 23:05 Hi- In the last few days I noticed that email I send to my gmail account from my postfix server never makes it to gmail. I havent touched the config in a few weeks so nothing should have changed from when it worked. My server relays through my ISP. My domain DNS records are working fine and I checked for blacklisting and Im not blacklisted. The log file shows 250 sent. I tried commenting out the relay_host line so it would go directly to gmail and I got: Apr 5 22:33:01 myserver postfix/smtp[27160]: connect to alt3.gmail-smtp-in.l.google.com[209.85.218.17]:25: Connection timed out Apr 5 22:33:31 myserver postfix/smtp[27160]: connect to alt4.gmail-smtp-in.l.google.com[74.125.157.27]:25: Connection timed out Apr 5 22:33:31 myserver postfix/smtp[27160]: 2372872E0D7: to=<myemail(a)gmail.com>, relay=none, delay=660, delays=510/0.02/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.157.27]:25: Connection timed out) It just keeps repeating this after the retry period (Im assuming). Anyone have any idea what to check next or why this might be happening? Thanks, Jeff
From: Sahil Tandon on 5 Apr 2010 23:51 On Mon, 05 Apr 2010, Jeff Lacki wrote: > I havent touched the config in a few weeks so nothing should > have changed from when it worked. My server relays through > my ISP. My domain DNS records are working fine and I checked > for blacklisting and Im not blacklisted. The log file shows > 250 sent. > > I tried commenting out the relay_host line so it would go > directly to gmail and I got: > > Apr 5 22:33:01 myserver postfix/smtp[27160]: connect to alt3.gmail-smtp-in.l.google.com[209.85.218.17]:25: Connection timed out > Apr 5 22:33:31 myserver postfix/smtp[27160]: connect to alt4.gmail-smtp-in.l.google.com[74.125.157.27]:25: Connection timed out > Apr 5 22:33:31 myserver postfix/smtp[27160]: 2372872E0D7: to=<myemail(a)gmail.com>, relay=none, delay=660, delays=510/0.02/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.157.27]:25: Connection timed out) > > It just keeps repeating this after the retry period (Im assuming). > > Anyone have any idea what to check next or why this > might be happening? Something (likely a firewall) is prohibiting you from directly connecting to the gmail.com MX; I am able to connect to it just fine from here. If you typically send mail via a relayhost, continue doing so, and ask the admins of said relayhost to help troubleshoot your problem with delivery to gmail. This is not a Postfix issue. -- Sahil Tandon <sahil(a)tandon.net>
From: Daniel L'Hommedieu on 6 Apr 2010 07:41 On Apr 5, 2010, at 23:51, Sahil Tandon wrote: > On Mon, 05 Apr 2010, Jeff Lacki wrote: >> I havent touched the config in a few weeks so nothing should >> have changed from when it worked. My server relays through >> my ISP. My domain DNS records are working fine and I checked >> for blacklisting and Im not blacklisted. The log file shows >> 250 sent. >> >> I tried commenting out the relay_host line so it would go >> directly to gmail and I got: >> >> Apr 5 22:33:01 myserver postfix/smtp[27160]: connect to alt3.gmail-smtp-in.l.google.com[209.85.218.17]:25: Connection timed out >> Apr 5 22:33:31 myserver postfix/smtp[27160]: connect to alt4.gmail-smtp-in.l.google.com[74.125.157.27]:25: Connection timed out >> Apr 5 22:33:31 myserver postfix/smtp[27160]: 2372872E0D7: to=<myemail(a)gmail.com>, relay=none, delay=660, delays=510/0.02/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.157.27]:25: Connection timed out) >> >> It just keeps repeating this after the retry period (Im assuming). >> >> Anyone have any idea what to check next or why this >> might be happening? > > Something (likely a firewall) is prohibiting you from directly > connecting to the gmail.com MX; I am able to connect to it just fine > from here. If you typically send mail via a relayhost, continue doing > so, and ask the admins of said relayhost to help troubleshoot your > problem with delivery to gmail. This is not a Postfix issue. Jeff, It's just what Sahil said. Your ISP is blocking outbound SMTP, at least to gmail, so you will only be able relay through your ISP. Daniel
From: Jerry on 6 Apr 2010 08:30 On Tue, 6 Apr 2010 07:41:31 -0400, Daniel L'Hommedieu <dlhommedieu(a)gmail.com> articulated: > On Apr 5, 2010, at 23:51, Sahil Tandon wrote: > > On Mon, 05 Apr 2010, Jeff Lacki wrote: > >> I havent touched the config in a few weeks so nothing should > >> have changed from when it worked. My server relays through > >> my ISP. My domain DNS records are working fine and I checked > >> for blacklisting and Im not blacklisted. The log file shows > >> 250 sent. > >> > >> I tried commenting out the relay_host line so it would go > >> directly to gmail and I got: > >> > >> Apr 5 22:33:01 myserver postfix/smtp[27160]: connect to > >> alt3.gmail-smtp-in.l.google.com[209.85.218.17]:25: Connection > >> timed out Apr 5 22:33:31 myserver postfix/smtp[27160]: connect to > >> alt4.gmail-smtp-in.l.google.com[74.125.157.27]:25: Connection > >> timed out Apr 5 22:33:31 myserver postfix/smtp[27160]: > >> 2372872E0D7: to=<myemail(a)gmail.com>, relay=none, delay=660, > >> delays=510/0.02/150/0, dsn=4.4.1, status=deferred (connect to > >> alt4.gmail-smtp-in.l.google.com[74.125.157.27]:25: Connection > >> timed out) > >> > >> It just keeps repeating this after the retry period (Im assuming). > >> > >> Anyone have any idea what to check next or why this > >> might be happening? > > > > Something (likely a firewall) is prohibiting you from directly > > connecting to the gmail.com MX; I am able to connect to it just fine > > from here. If you typically send mail via a relayhost, continue > > doing so, and ask the admins of said relayhost to help troubleshoot > > your problem with delivery to gmail. This is not a Postfix issue. > > Jeff, > > It's just what Sahil said. Your ISP is blocking outbound SMTP, at > least to gmail, so you will only be able relay through your ISP. Why not just use port 587? You will have to configure SASL, etc; however, once done it should work just fine. That is how I do it. -- Jerry postfix-user(a)seibercom.net TO REPORT A PROBLEM see http://www.postfix.org/DEBUG_README.html#mail TO (UN)SUBSCRIBE see http://www.postfix.org/lists.html A New York City ordinance prohibits the shooting of rabbits from the if the car is in motion.
From: Daniel L'Hommedieu on 6 Apr 2010 08:35
On Apr 6, 2010, at 08:30, Jerry wrote: > On Tue, 6 Apr 2010 07:41:31 -0400, Daniel L'Hommedieu > <dlhommedieu(a)gmail.com> articulated: > >> On Apr 5, 2010, at 23:51, Sahil Tandon wrote: >>> On Mon, 05 Apr 2010, Jeff Lacki wrote: >>>> I havent touched the config in a few weeks so nothing should >>>> have changed from when it worked. My server relays through >>>> my ISP. My domain DNS records are working fine and I checked >>>> for blacklisting and Im not blacklisted. The log file shows >>>> 250 sent. >>>> >>>> I tried commenting out the relay_host line so it would go >>>> directly to gmail and I got: >>>> >>>> Apr 5 22:33:01 myserver postfix/smtp[27160]: connect to >>>> alt3.gmail-smtp-in.l.google.com[209.85.218.17]:25: Connection >>>> timed out Apr 5 22:33:31 myserver postfix/smtp[27160]: connect to >>>> alt4.gmail-smtp-in.l.google.com[74.125.157.27]:25: Connection >>>> timed out Apr 5 22:33:31 myserver postfix/smtp[27160]: >>>> 2372872E0D7: to=<myemail(a)gmail.com>, relay=none, delay=660, >>>> delays=510/0.02/150/0, dsn=4.4.1, status=deferred (connect to >>>> alt4.gmail-smtp-in.l.google.com[74.125.157.27]:25: Connection >>>> timed out) >>>> >>>> It just keeps repeating this after the retry period (Im assuming). >>>> >>>> Anyone have any idea what to check next or why this >>>> might be happening? >>> >>> Something (likely a firewall) is prohibiting you from directly >>> connecting to the gmail.com MX; I am able to connect to it just fine >>> from here. If you typically send mail via a relayhost, continue >>> doing so, and ask the admins of said relayhost to help troubleshoot >>> your problem with delivery to gmail. This is not a Postfix issue. >> >> Jeff, >> >> It's just what Sahil said. Your ISP is blocking outbound SMTP, at >> least to gmail, so you will only be able relay through your ISP. > > Why not just use port 587? You will have to configure SASL, etc; > however, once done it should work just fine. That is how I do it. Jerry, For me that wasn't a workable solution, since many of the recipients, of messages sent from my server, are on servers that use technology such as the zen spamhaus list, which blocks email sent from dynamic ranges. This ends up blocking my mail anyway, so I just relay. Daniel |