Hi,
I am setting an archiving mail server using a sub-domain of a
relay_domains on the same server as a virtual_mailbox_domains, so every
message relayed to f...@example.tld (On Microsoft cloud) is also archived
on f...@sub.example.tld (my on-premise mail server) using some bcc trick.
relay_domains = example.tld
virtual_mailbox_domains = sub.domain.tld
But, as per the docs, relay_domains sets "What destination domains (*and
subdomains thereof*) this system will relay mail to." and thus I am
getting the "warning: do not list domain sub.example.tld in BOTH
virtual_mailbox_domains and relay_domains" log.
Is there how to exclude sub.domain.tld from relay_domains when using
example.tld on virtual_mailbox_domains? How can I deal with that? It
seems to be working as expected, but doesn't smells good. Can the
warning be ignored (that's hard)?
Is there another approach I could/should take to archive mail?
Thanks, best regards.
--
Marcio Merlone