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

Reply via email to