I am using postfix mail server and i need to replace mail content inside every incoming and outgoing message based on some predefined rules.
What is needed is to filter remote and local mail to replace every instance of user@domain.com in header or body with user@blah.com
header_checks and body_checks options seem cumbersome, maybe there is better/faster option that works on whole message instead going line by line