Long delays receiving mail from Google Mail hosted domains

Problem

If you have been having difficulty with delays receiving mail from people that use either Gmail or have their domain Google Mail hosted, then you might like to have a look at your firewall and see if it is blocking the incoming mail.

We have been having a great deal of problems with mail being delayed on receipt, and in some cases this can be minutes growing to hours. In one case exceeded the 2 day limit and bounced back to the sender. In all cases we had no record of the mail being anywhere near our servers until it was actually delivered to a mail client, usually seconds after being recorded hitting our servers.

We used the incredibly useful Analyze Headers feature of MXToolbox on delayed mail and found that in every case it came through a Google mail server. What was most alarming was the indication that it was on a blacklist!

Hop Delay From By With Time (UTC) Blacklist
1 * 10.25.225.211 HTTP 6/23/2017 8:24:31 AM
2 59 minutes mail-lf0-f54.google.com SMTP 6/23/2017 9:23:56 AM
3 0 seconds mail-lf0-f54.google.com 209.85.215.54 HE1EUR02FT018.mail.protection.outlook.com 10.152.10.248 Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) 6/23/2017 9:23:56 AM problem - Millennia Cloud Services Ltd

So we then ran the mail server through the RBL checker on MXToolbox and low and behold:

RBL Listing

Not all blacklists had been fired, and it seems that SORBS was used by our SonicWall firewall as a RBL checker, which was installed by default.

Resolution

We understand that there have been issues recorded with SORBS. Therefore we looked up what to change these to on our firewall, and picked the following as potentials with the help of our anti-spam provider, Spam Titan, which had not been blocking the mail when it got through our firewall:

• zen.spamhaus.org
• psbl.surriel.com
• truncate.gbudb.net
• bl.spamcop.net

Of these the SpamCop one is known to produce a low number of false positives and automatically de-lists servers, meaning more of a chance of a problem going away even if you get one in the first place.

So we chose this and zen.spamhaus.org as two RBLs on the firewall and removed SORBS completely.

Within a few minutes mail which we had been expected for hours that morning started to come through, Later in the day a conversation with a customer that had become very stilted due to mail delay became instant once more.

Conclusion

So the conclusion is: if you are being driven up the wall by delayed email into your site, use the MXToolbox tools to verify the servers giving you hassle, and then have a look at the RBL rules set either on your firewall or other anti-spam system filtering your mail. Try new values for RBL servers, and wait and see if it improves your situation like it did us!

Interestingly 99% of the other mail domains we communicate with had never given us this problem, which is why it had been so frustrating. Also it is not easy to tell if somebody using their own domain is actually hosted by Google until you analyse the headers of an email they send – it was not just mail from Gmail itself that was affected.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

#main-content .dfd-content-wrap {margin: 0px;} #main-content .dfd-content-wrap > article {padding: 0px;}@media only screen and (min-width: 1101px) {#layout.dfd-portfolio-loop > .row.full-width > .blog-section.no-sidebars,#layout.dfd-gallery-loop > .row.full-width > .blog-section.no-sidebars {padding: 0 0px;}#layout.dfd-portfolio-loop > .row.full-width > .blog-section.no-sidebars > #main-content > .dfd-content-wrap:first-child,#layout.dfd-gallery-loop > .row.full-width > .blog-section.no-sidebars > #main-content > .dfd-content-wrap:first-child {border-top: 0px solid transparent; border-bottom: 0px solid transparent;}#layout.dfd-portfolio-loop > .row.full-width #right-sidebar,#layout.dfd-gallery-loop > .row.full-width #right-sidebar {padding-top: 0px;padding-bottom: 0px;}#layout.dfd-portfolio-loop > .row.full-width > .blog-section.no-sidebars .sort-panel,#layout.dfd-gallery-loop > .row.full-width > .blog-section.no-sidebars .sort-panel {margin-left: -0px;margin-right: -0px;}}#layout .dfd-content-wrap.layout-side-image,#layout > .row.full-width .dfd-content-wrap.layout-side-image {margin-left: 0;margin-right: 0;}
%d bloggers like this: