[Dovecot] Deleted mailboxes with lazy_expunge

Angel L. Mateo amateo at um.es
Fri Sep 16 13:34:16 EEST 2011


El 16/09/11 12:08, Timo Sirainen escribió:
> On Fri, 2011-09-16 at 11:51 +0200, Angel L. Mateo wrote:
>> Hello,
>>
>> 	I'm trying to configure lazy_expunge plugin (as a way to provide easy
>> backup for mails). This is my configuration (as explained in dovecot wiki):
>
> dovecot -n output would have been better. What do you use as

	Yes, I know but I forgot it :-(. You have now the config.

> mail_location? My guess is that you have specified INDEX or CONTROL path
> there, which isn't currently compatible with this..
>
	Yes, I'm using INDEX in mail_location

>> 	I use just one namespace because I don't want to differentiate between
>> deleting mails or deleting mailboxes, but I have the same problem using
>> the 3 namespaces.
>
> In above config you're using 3 namespaces, not 1. This problem shouldn't
> exist if you use just one namespace.

	I have tried with both configurations with the same problem.

	I have made another test, this time with 1 namespace and with 
thunderbird directly expunging messages (to avoid moving them to trash 
and then purging trash). With this, dovecot logs:

Sep 16 12:26:48 myotis30 dovecot: imap(angel.luis): Debug: Namespace 
.EXPUNGED/: Using permissions from 
/home/alumnos/46/113246/Maildir/expunged: mode=0700 gid=-1
Sep 16 12:26:48 myotis30 dovecot: imap(angel.luis): Debug: Namespace 
.EXPUNGED/: Permission lookup failed from 
/home/alumnos/46/113246/Maildir/expunged/.kk
Sep 16 12:26:48 myotis30 dovecot: imap(angel.luis): Debug: Namespace 
.EXPUNGED/: Using permissions from 
/home/alumnos/46/113246/Maildir/expunged: mode=0700 gid=-1
Sep 16 12:26:48 myotis30 dovecot: imap(angel.luis): Debug: Namespace 
.EXPUNGED/: Permission lookup failed from 
/home/alumnos/46/113246/Maildir/expunged/.kk
Sep 16 12:26:48 myotis30 dovecot: imap(angel.luis): Debug: Namespace 
.EXPUNGED/: Using permissions from 
/home/alumnos/46/113246/Maildir/expunged: mode=0700 gid=-1

	but "kk" mail folder isn't created in the expunge namespace.
>
>> 	and my mail client reports the error "[CANNOT] Can't rename mailboxes
>> accross specified storages" and the mail folder isn't created in the
>> DELETED namespace.
>
> With http://hg.dovecot.org/dovecot-2.0/rev/e57bd3e2ec27 it'll now log
> the reason why it's not possible.
>
	I'm going to try it...


-- 
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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: doveconf.txt
URL: <http://dovecot.org/pipermail/dovecot/attachments/20110916/61b8aa72/attachment-0004.txt>


More information about the dovecot mailing list