[Dovecot] exclude a folder for lazy expunge (move to trash)

Angel L. Mateo amateo at um.es
Wed Aug 22 11:01:08 EEST 2012


Hello,

	I'm configuring lazy expunge plugin to act as a kind of backup of my 
user's emails.

	I'm getting a little problem because a lot of my users use "move to 
trash" behaviour in their email client (most of them are using 
thunderbird which has no option to hide deleted messages and is a hassle 
working with mark as deleted with it). The problem combining move to 
trash with lazy expunge is that messages are stored in the expunge 
namespace twice, first when it was deleted from the original folder and 
the second when is deleted from the trash.

	So... is there any way to exclude trash folder from lazy expunge 
plugin, so mails are stored in the expunge namespace only when they are 
deleted from their original folder and not from the trash?

	Another idea... We are purging trash folders with a cron running 
"doveadm purge" commands. Is there any way to run this command disabling 
lazy expunge plugin?

	Any other idea not to duplicate these emails?

-- 
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información       _o)
y las Comunicaciones Aplicadas (ATICA)      / \\
http://www.um.es/atica                    _(___V
Tfo: 868887590
Fax: 868888337



More information about the dovecot mailing list