Applicable to:
- Plesk for Linux
Symptoms
-
There are a lot of emails stuck in the mail queue shown in Plesk in Tools & Settings > Mail Server Settings > Mail queue.
-
All stuck emails were sent to a certain domain example.com.
-
Both automatic connection by the mail server and the manual connection to the receiving mail server fails:
-
Automatic connection by the mail server - the following error is found in the file
/var/log/maillog
:CONFIG_TEXT: hostname postfix/qmgr[7584]: 0CEFF7E685: removed
hostname postfix/qmgr[7584]: 99B1A7E666: from=jdoe@example.net, size=705, nrcpt=1 (queue active)
hostname postfix/qmgr[7584]: C9B817E66C: from=jdoe@example.net, size=1219, nrcpt=1 (queue active)
hostname postfix/smtp[12133]: connect to mail.example.com[203.0.113.2]:25: Connection timed out
hostname postfix/smtp[12133]: 99B1A7E666: to=john@example.com, relay=none, delay=137241, delays=137121/0.01/120/0, dsn=4.4.1, status=deferred (connect to mail.example.com[203.0.113.2]:25: Connection timed out) -
Manual connection:
# telnet mail.example.com 25
Trying 203.0.113.2...
telnet: connect to address 203.0.113.2: Connection timed out
-
Cause
Firewall configuration on the recipient mail server blocks connections from the Plesk server.
MX records list for the recipient domain contains outdated record(s).
Resolution
Contact the owners of the recipient domain example.com so they revise the MX records list to contain correct IP addresses and allow connections over port 25 on the firewalls of their mail servers.
Comments
1 comment
The issue is similar but it has nothing to do with the receivers firewall There are multiple receivers and none of their emails have had any prior issues receiving or sending emails. The server restarted and now 500+ emails stuck in the que. We have tried accessing via SSH and command line to force emails from the que to be delivered however nothing works.
Please sign in to leave a comment.