Hi,
I want to have a testing system where I want all emails, sent to, sent from and sent internally are delivered to one specific local address - except a handfull recepients on the system, that shall be aliased to another box.
I tried to do this with virtual_alias_maps in
main.cf
virtual_alias_maps = regexp:/etc/postfix/virtual
and
/etc/postfix/virtual:
/.+@dev\.example\.com$/ box1
/.+@rball\.example$/ box1
/.+@.+/ catchall
postmap -q gives me the correct result, but in "real usage" postfix sends all mails always to catchall ... if I remove catchall or limit this regex to something else, it's working, but unfortunately this is no option on this kind of test environment.
Can anyone help me?
Thanks and kind regards
Volker