On 27/10/2019 17.10, Wietse Venema wrote: > Use the local(8) delivery agent. In your $HOME/.forward file, pipe > the mail into a program that encrypts it with your public key, then > writes the result to maildir.
I am using Postfix with Dovecot. I believe it is Dovecot who saves messages to maildir. How would that fit in ? > Postfix content filter is not suitable, as it is designed to > handle multi-recipient email, whereas $HOME/.forward is guaranteed > to handle only one recipient. I see. But, on the other hand, if I used a SMTMD-milter, it would be processed before the queue, and would not interfere with the normal flow through the pipeline.