POSTFIX - rewrite

1 post / 0 new
#1 Tue, 05/29/2012 - 12:37
Agama

POSTFIX - rewrite

Hello,

I want to make a rewrite for receipt address in postfix, at this moment I have: real-address@domain.com as my email address ... and alias-address@domain.com as an alias. The problem is that ... when someone send me an email to alias-address@domain.com it is delivered to my real-address@domain.com but the recipient in headers is alias-address@domain.com.

I use an support application who matches recipient headers in order to allocate the request to the designed department ... how could I set postfix in order to rewrite recipient headers to real-address@domain.com ?

In other words ... if I send an email to alias-address@domain.com ... I want the recipient headers to be rewritten in real-address@domain.com.

I've read about http://www.postfix.org/ADDRESS_REWRITING_README.html and http://www.postfix.org/trivial-rewrite.8.html ... tried couple of settings but didn't work at all.

Help ... ?!