• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Postfix unable to send some mails: deferred

Nicola Urbinati

Basic Pleskian
Hi,

We're having a problem with postfix (Ubuntu 18.04.04, Obsidian 18.0.21 update #1), unable to send some mails, that remain deferred for days.

Here's some lines from mail.log:

postfix/smtp[18169]: 0AAB71240D32: to=<[email protected]>, relay=none, delay=8873, delays=8867/0.03/6.5/0, dsn=4.4.1, status=deferred (connect to mx-eu.mail.am0.yahoodns.net[188.125.72.74]:25: Connection refused)
postfix/smtp[25102]: C38BC1241292: to=<[email protected]>, relay=none, delay=2298, delays=2293/0.02/5.1/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[173.194.202.27]:25: Connection refused)

Here's what seems a full transition:
postfix/smtp[5461]: E5971124104F: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, conn_use=2, delay=265, delays=0.01/186/0/79, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as BDA281240FDC)
postfix/smtp[6209]: BDA281240FDC: to=<[email protected]>, relay=none, delay=5.2, delays=0.01/0/5.2/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[173.194.202.26]:25: Connection refused)

If I "telnet alt4.gmail-smtp-in.l.google.com 25", I get the following response, getting the proper connection:
Connected to alt4.gmail-smtp-in.l.google.com.
Escape character is '^]'.
220 mx.google.com ESMTP j19si166558pga.271 - gsmtp

What's going on?
 
Here is a full log for an outgoing mail (not all mails get stucked like this):

Nov 20 09:32:16 srvurb01 postfix/smtp[26537]: B8A9F124135D: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=96, delays=0.33/0.01/0.01/96, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 09CE71241360)
Nov 20 09:32:16 srvurb01 postfix/qmgr[5502]: B8A9F124135D: removed
Nov 20 09:32:17 srvurb01 postfix/smtp[26772]: connect to gmail-smtp-in.l.google.com[66.102.1.26]:25: Connection refused
Nov 20 09:32:18 srvurb01 postfix/smtp[26772]: connect to alt1.gmail-smtp-in.l.google.com[209.85.233.26]:25: Connection refused
Nov 20 09:32:19 srvurb01 postfix/smtp[26772]: connect to alt2.gmail-smtp-in.l.google.com[142.250.4.26]:25: Connection refused
Nov 20 09:32:20 srvurb01 postfix/smtp[26772]: connect to alt3.gmail-smtp-in.l.google.com[108.177.97.27]:25: Connection refused
Nov 20 09:32:21 srvurb01 postfix/smtp[26772]: connect to alt4.gmail-smtp-in.l.google.com[173.194.202.26]:25: Connection refused
Nov 20 09:32:21 srvurb01 postfix/smtp[26772]: 09CE71241360: to=<[email protected]>, relay=none, delay=5.2, delays=0.02/0.01/5.1/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[173.194.202.26]:25: Connection refused)
 
Ok,

Found out the problem: ConfigServer set with SMTP_BLOCK = On.

With that option set to OFF, all traffic is now going fine.
 
Hi Nicolas,

ConfigServer is CSF, a popular Firewall and Intrusion Detection software you can add to Plesk, manually or trhough some extensions (Juggernaut for example).

So you could have it enabled by one of such extensions, or you could have another similar software doing it (blocking outgoing SMTP connections).

Also check port 25 (or your SMTP port if different).
 
Back
Top