Is there a way to force Postfix to handle mail as new mail (Inmail) instead of Sent mail (Outmail) if a specific header is set?
Because inmail is passed through the rules of routing (for example forwardings) and is just delivered to that address it was received for. Outmail will be deliverd to all addresses in To, CC and BCC.
I want all those (To, Cc) headers be there but I want the mail only sent to a specific address.
I get the mail to a address, parse it in php and want it to be delivered to a users address depending of information inside the mail. But of course the mail already was sent to all other receipients from the sending server.
Usages for that:
- Mailing Lists
- Support Systems