Ralf Hauser: > Messages with a certain content type should be bcc'd to an additional > address for my use-case at hand.
Wietse Venema: > That is currently not built into Postfix, but it could be done with > a Milter: in the header and body event handlers look at the content, > and in the end-of-message handler invoke the "add recipient" action. > But I agree that having to do that would suck. > > (The reason Milters can add BCC recipients but header/body_checks > can't: Milter support was added later, and I have not found the > make the BCC functionality available in header/body_checks). I am now testing an implementation of BCC in (cleanup) header/body_checks. This reuses the "add recipient" code that was implemented for Milters. Wietse