On 04/07/17 14:08, Bill Cole wrote:
I have a global alias @example.com pointing to ad...@example.com, which works fine, but when I add a real user, like m...@example.com,
the global alias overrides the real entry in virtual_mailbox_maps
(mysql).

See the VIRTUAL_README and ADDRESS_CLASS_README files in the Postfix
docs. The short version: virtual alias domains and virtual mailbox
domains are distinct, and virtual aliases are evaluated first.

Okay, that's interesting. I am not, so far, using virtual_alias_domains
at all because @other.com -> ad...@example.com in virtual_alias_maps=
seems to achieve the same end result?

I'd like to keep the global @example.com alias as a catchall AFTER
looking up the real virtual_mailbox_maps entry first.

So instead of using virtual_alias_maps just put a @example.com mapping
to the same path as ad...@example.com in virtual_mailbox_maps.

Instead of in virtual_alias_maps? Must try that, thanks.

Reply via email to