Plesk Onyx for Linux
kb: technical
ABT: Group A
Applicable to:
- Plesk Onyx for Linux
Symptoms
Incoming emails are not received, the following error appears in /var/log/maillog
:
CONFIG_TEXT: postfix/trivial-rewrite[772518]: warning: do not list domain example.com in BOTH mydestination and virtual_mailbox_domains
Cause
Postfix misconfiguration.
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
mydestination
parameter in/etc/postfix/main.cf
as below:CONFIG_TEXT: mydestination = localhost.$mydomain, localhost, localhost.localdomain
-
Restart postfix service:
# service postfix restart
Comments
2 comments
I recently migrated from Plesk12 to Onyx using the migration tools. I am now receiving the above error because, I think, the migration process copied over my email accounts for my primary domain as virtual inbox domain. Example
Server1 Plesk12:
- domain: mydomain.io
- email accounts: em0@mydomain.io, em2@mydomain.io ...
Server2 Onyx:
- domain: mydomain.io
- email accounts: em0@mydomain.io, em2@mydomain.io ...
When I send mail to em0@mydomain.io I get "unknown user em0" as response, and i see the above error in the maillog.
How can I tell Onyx to use the vitual boxes on mydomain.io even though they are the primary domain of the server?
Hi Christofer - it is better to remigrate the accounts. Looks like mail account were not created on the dest server
Please sign in to leave a comment.