views:

34

answers:

1

Is it possible to have postfix log the actual contents of an email (Subject, Body) it sends?

I checked in /var/logs/mail.info and mail.log but looks like that's just some basic stuff, like headers.

A: 

I didn't see anything in a quick look at postconf(5). One option is to use 'always_bcc = [email protected]' to get a copy of every email that goes through the system.

Gonzalo