Wildcard aliases in postfix

aliaspostfix

is there way to specify wildcard aliases in postfix virtual table?

eg.

support+*@foo.bar

gets sent to

support+*@bar.foo

in this way i want to achieve that all mails with a support+Project@foo.bar address get redirected to another server..

thanks!

Best Answer

Use a regex table or pcre_table as one of your alias_maps (or virtual_alias_maps). You consider using transport_maps if you want the mail delivered to another box without aliasing.