On 9/16/2015 3:16 AM, Mario Rosic wrote:
> 
> For the record:
> Apparently there is a way to do conditional rewriting in postfix but
> it's ugly and doesn't scale. It is described here in a post from
> Noel Jones:
> http://thread.gmane.org/gmane.mail.postfix.user/125861/focus=125866
> This is useful too:
> http://www.108.bz/posts/it/conditional-address-rewriting-with-postfix/


That was a special case for rewriting a single address, and is not
intended for nor suitable for general rewriting.

Postfix rewriting (including the procedure above) is described in
the official documentation:
http://www.postfix.org/ADDRESS_REWRITING_README.html

Additional rewriting, including arbitrary conditional rewriting, can
be done in a milter or smtp proxy.




  -- Noel Jones

Reply via email to