> On Jan 22, 2016, at 1:23 PM, Roman Doe <roman.doe...@gmail.com> wrote:
> 
> Dear community,
> I'm trying to learn how to set a server using Postfix, this is a very complex 
> craft and I can't grasp yet the full potential of this tool. I would need to 
> know if it can do these actions :


It seems to me that for such extensive rules/header rewrites, you’d want to 
look into Postfix’s Milter interface. Basically, Postfix hands the mail off to 
your mail filter (“milter”) and then when the filter’s done deciding who gets 
what mail, how it should arrive in users’ inboxes, etc., it passes it back to 
Postfix for delivery.

http://www.postfix.org/MILTER_README.html 
<http://www.postfix.org/MILTER_README.html>

Postfix is very extensible, and while I’ve never extended it to the level 
you’re talking about, this is where I’d start the process. I’d be curious what 
you end up doing to solve your problem!

Reply via email to