[BlueOnyx:27050] postfix warning: do not list domain...

Tomohiro Hosaka bokutin at gmail.com
Fri Jun 14 03:21:32 -05 2024


Hello.

# grep warning: /var/log/maillog
then I am flooded with logs like the following, is it just my environment?

Jun 14 16:15:07 bx1 postfix/trivial-rewrite[493563]: warning: do not
list domain host.domain.tld in BOTH mydestination and
virtual_alias_domains
Jun 14 16:30:06 bx1 postfix/trivial-rewrite[495425]: warning: do not
list domain host.domain.tld in BOTH mydestination and
virtual_alias_domains
Jun 14 16:45:06 bx1 postfix/trivial-rewrite[497392]: warning: do not
list domain host.domain.tld in BOTH mydestination and
virtual_alias_domains
Jun 14 17:00:06 bx1 postfix/trivial-rewrite[499333]: warning: do not
list domain host.domain.tld in BOTH mydestination and
virtual_alias_domains

As pointed out, myhostname is also listed in /etc/mail/local-host-names.

# ack 'host.domain.tld|virtual_alias_domains' /etc/postfix/main.cf
/etc/mail/local-host-names
/etc/postfix/main.cf:301:# - destinations that match $virtual_alias_domains,
/etc/postfix/main.cf:704:myhostname = host.domain.tld
/etc/postfix/main.cf:742:virtual_alias_domains = /etc/mail/local-host-names
/etc/mail/local-host-names:3:host.domain.tld

Thanks


More information about the Blueonyx mailing list