Score:0

How to tell how many users are sending/receiving encrypted email in Postfix/Dovecot?

cn flag

I have access to the /var/log/mail.log files. They also output to Splunk. How do I find out how many users are sending/receiving encrypted email in Postfix/Dovecot? They use Enigmail/PGP in their Thunderbird clients.

Score:3
jp flag

Standard mail.log generated by postfix doesn't contain information about email content and it is impossible to determine whether an email was encrypted by a MUA.

cn flag
Ah ok, not even via mail headers? Sorry what's MUA?
jp flag
The only header logged is `message-id`. MUA is Mail User Agent. Thunderbird is a MUA.
Score:2
ws flag

First you need to check if you are violating privacy by probing the content of emails, then you need to tell Postfix to log the Content-Type header.

I don't know what content-type value Enigmail uses, it is likely one of X-PGP-Encoding-Format or X-PGP-Encoding-Version.

You might want to explicity set these in the Postfix header regexes.

jp flag
BTW, [Enigmail isn't supported anymore](https://www.enigmail.net/index.php/en/home/news/71-2021-08-31-end-of-support-for-thunderbird) as Thunderbird [since 78](https://support.mozilla.org/en-US/kb/openpgp-thunderbird-howto-and-faq#w_does-thunderbird-support-openpgp) supports PGP natively.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.