On Sat, 13 Feb 2016, Viktor Dukhovni wrote:

Now I checked the postfix virtual domain documentation and parameter descriptions and I don't understand it much better. Is that intended behaviour, that mydestination includes subdomains and virtual_alias_domains not?

Neither includes sub-domains, however the default value of
relay_domains include $mydestination.  I always set relay_domains
explicitly (either empty or to the desired domains).

Ah, so because of that default they get accepted and because they are delivered to a local user the relay has no effect?

Am I right that "domains (and subdomains thereof)" is only true for relay_domains and that for virtual_alias_domains I always need to specify all the subdomains individually?

But after reading docs a bit more I think I can drop the virtual_alias_domains completely and let the PCRE based virtual_alias_maps do all the work?

Ciao
--
http://www.dstoecker.eu/ (PGP key available)

Reply via email to