Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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!

share|improve this question

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.

share|improve this answer
    
Please provide an explicit example instead of just references. – user70549 Feb 20 '13 at 7:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.