Le 24 mai 2014 à 18:14, Stanislas SABATIER a écrit :

> System installed : Dovecot 2.2.12 as IMAP server and Postfix as MTA.
> Dovecot and Postfix connected via LMTP
> + Dovecot mail plugin 'mail-filter' to encrypt/decrypt emails on the fly
> with public/private users' RSA keys.
> 
> [...]
> Final result : user3 is receiving the email encrypted with user2's rsa key !

Hello Stanislas,

All of this sounds a bit "bizarre", not to say frightening...
To avoid any ambiguity, could you post the output of doveconf -n?
As well your encryption and decryption scripts?
And tell us how postfix is configured wrt LMTP?


> Problem : how to force Dovecot to deinit then reinit mail-filter plugin
> for each user to be sure that each email is encrypted with the right key
> before it is saved to users' mailboxes ?

There could perhaps be a (temporary) workaround at Postfix's level, by limiting 
the number of recipients?

Axel

Reply via email to