We are moving away from our Barracuda relay, and in testing, we cannot find anywhere, where we can view the outgoing message to confirm what is being sent. We can only see the email address, and not the subject or body. Is there a way?
I think the concensus with PMG is against verbose message/content logging. I don't believe there is a straight forward way to log msg bodies other than BCC them. It is possible to log additional headers.
Add to the postfix config by copying the default template /var/lib/pmg/templates/main.cf.in to /etc/pmg//templates/main.cf.in and adding:
Code:
header_checks = regexp:/etc/postfix/header_checks
Create /etc/postfix/header_checks, specify extra headers to log or remove. e.g.
Code:
# Log
/^\s*Subject:/ INFO
/^\s*From:/ INFO
/^\s*To:/ INFO
/^\s*Envelope-To:/ INFO
# Remove
/^\s*User-Agent/ IGNORE
/^\s*X-Enigmail/ IGNORE
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.