Does that mean that conditional address rewriting will never be implemented, not even in future releases?
I have been searching for a solution to this problem for a while and I have noticed that I am by far not the only one who would be very happy to see such a feature in a future postfix release. :) Regards, Mario R Am 2015-09-15 um 16:50 schrieb Wietse Venema: > Mario Rosic: >> Example: >> I would like to create a new alias called post...@rosicmario.eu (to >> receive mail) AND a rewrite rule that changes the sender from >> m...@rosicmario.eu to post...@rosicmario.eu ONLY IF the the recipient is >> postfix-users@postfix.org. > That may be implemented in mail submitting programs such as mutt. > >> Is that even possible with postfix? > This would require a plugin, such as a Milter or content filter, > that can modify the ENTIRE message envelope, headers, and body. > > Postfix processes one line at a time in a stateless manner (meaning > that the code that rewrites the sender does not know what the > recipients are). > > Wietse