2

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!

trnc
  • 688
  • 1
  • 12
  • 31

1 Answers1

2

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.

84104
  • 12,905
  • 6
  • 45
  • 76