On Mon, Nov 08, 2010 at 08:50:04PM -0800, Aaron C. de Bruyn wrote:
> The short question:
> I'm looking for a way to store the headers of every message that passes 
> through my postfix system.  Any pointers?
> (I've read FAQ #45 and it seems to require me to enter the headers I want 
> flagged)
> 
Logging headers to syslog:
main.cf:
header_checks = pcre:/etc/postfix/header_checks.pcre

/etc/postfix/header_checks.pcre:
/^.*/           WARN

Or use always_bcc or recipient_bcc_maps to bcc the entire email to a mailbox.

Devdas Bhagat

Reply via email to