- Emails are not sent from a particular domain example.com.
- Emails are delivered to the domain successfully.
plesk repair mail example.com' does not solve the issue.
The domain A and MX records are properly resolved to the server.
# host example.com
example.com has address 203.0.113.2
example.com mail is handled by 1 mail.example.com.
# host mail.example.com.
mail.example.com has address 203.0.113.2
- Mail server is configured to Send from domain IP addresses at Plesk > Tools & Settings > Mail Server Settings > Outgoing mail mode.
The following error is logged into
/var/log/maillogafter some time:
CONFIG_TEXT: postfix/smtp: connect to example2.com[203.0.113.3]:25: Connection timed out
postfix/smtp: C1774B3E367A: to=<[email protected]>, relay=none, delay=161, delays=10/0.34/150/0, dsn=4.4.1, status=deferred (connect to smtp.example2.com[203.0.113.3]:25: Connection timed out)
The connection is possible from the domain IP address to external SMTP server via 25 port:
# telnet -b 203.0.113.2 203.0.113.3 25 # 203.0.113.2 is used as a source IP
Connected to 203.0.113.3.
Escape character is '^]'.
220 mx.example2.com ESMTP y73si5752559pfj.569 - gsmtp
IP address misconfiguration for the domain.
Re-apply IP address settings for the domain via Plesk > Domains > example.com > Web Hosting Access > OK (without any changes).