[Dovecot] Processing sent items

Timo Sirainen tss at iki.fi
Sun Sep 29 12:46:32 EEST 2013

On 29.9.2013, at 11.51, Bruce Markey <bruce at secryption.com> wrote:

> How does dovecot handle sent items and is it possible to "process" them befor they get saved in the sent item folder?
> My scenario is that I'm running postifx + dovecot with all incoming and outgoing mail passed to a script that encrypts the mail with the public key of the recipient.
> The only place now that has unencrypted mail sitting on the server is the sent items, I'd like to fix that.
> What would be the best way to proceed here?

http://dovecot.org/patches/2.2/mail-filter.tar.gz is a start, but like its README says it can't quite handle modifications of mail contents, but should be possible with some smallish changes.

More information about the dovecot mailing list