Hi,

I have a configuration/understanding problem with virtual_alias_maps and
a regexp to catch all my domains.

This is my config:

main.cf:
virtual_alias_maps =
    regexp:/etc/postfix/virtual_aliases_global.regexp,
[...]

virtual_aliases_global.regexp:
/^(postmaster|root|MAILER-DAEMON|abuse|admin)(\+.*)*@.*$/  postmaster
/^(bin|daemon|named|nobody|uucp|www|ftp-bugs|postfix|manager|dumper|operator|decode)(\+.*)*@.*$/
root

This works really great for:
[email protected]
[email protected]
postmaster+something@....

But sadly it also works for:
[email protected]

Is there a way to have the regexp match only domains listed in
virtual_mailbox_domains?
Or do I have to compile a file that has all my domains in it?

Thanks.
 
Claudius Steinhauser
 
Koch APL-Systems GmbH

Reply via email to