On Apr 17, 2012, at 05:29, Mike Zupan wrote: > We are looking to log all outbound emails in code.. not tailing a lot > or anything.. is there an area of the code I can look at first to get > an idea of where the final stop for emails through postfix go before > they are sent out. We are looking to log all cc/bcc emails also. We > have a compliance regulation that we need to meet to prove we sent the > client an email and want to provide support an easy tool. Plus it will > be a fun little hack for us.
Start with the documentation; http://www.postfix.org/postconf.5.html#always_bcc http://www.postfix.org/postconf.5.html#sender_bcc_maps http://www.postfix.org/postconf.5.html#recipient_bcc_maps We use the sender BCC maps for a customer with a similar requirement. Copies all outgoing mail to an external service that stores some kind of hash of the message, in case verification is required later. Cya, Jona