Symptoms
-
Incoming emails are not received, the following error appears in
/var/log/maillog
:postfix/trivial-rewrite[772518]: warning: do not list domain example.com in BOTH mydestination and virtual_mailbox_domains
Cause
Postfix misconfiguration causes email routing issues and prevents a certain domain from receiving incoming emails.
Resolution
According to the official Postfix documentation it is prohibited to list virtual mailbox domain name as mydestination
domain name.
-
Connect to the server using SSH.
-
Correct the necessary
mydestination
parameter in/etc/postfix/main.cf
by setting it to the following value that is compatible with other Plesk configurations:mydestination = localhost.$mydomain, localhost, localhost.localdomain
-
Restart the Postfix service, so that the changes can take effect:
# service postfix restart