These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for postfix/trivial-rewrite[24514]: warning: do not list domain in BOTH mydestination and virtual_alias_domains on the new forum.
Howdy,
That's just a warning, and isn't anything to worry about.
However, you can read more about it, along with how to make it go away, in this thread:
https://www.virtualmin.com/node/12579
digging up this 4 year old thread :)
Even though it is just a warning, mail on my virtualmin host seems to fail (forwaring catch-all to e.g. GMail doesn't work) and I would like to narrow down the cause, by eliminating all wired messages and errors.
In /var/log/mail.log I get:
Aug 22 16:29:35 [hostname] postfix/trivial-rewrite[4779]: warning: do not list domain [domain-name] in BOTH mydestination and virtual_alias_domains
In my /etc/postfix/main.cf I got:
commenting-out any of the lines results in these usual error-mails being returned, saying "message could not be delivered to one or more recipients"
Where could I start digging?
Server is debian 7 wheezy, postfix mail_version = 2.7.1, webmin 1.7, Virtualmin 4.09gpl
Cheers! :)