Re: cyr_expire bug with misconfigured metapartition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 26 Feb 2010, Andrew Morgan wrote:

> I have been bringing up some new Cyrus backends in my Murder cluster
> lately, and I stumbled across a bug of sorts in cyr_expire.  I had a
> slightly wrong imapd.conf with respect to metapartitions, which said:
>
>   defaultpartition: p1
>   partition-p1: /var/spool/cyrus/mail/data1
>   metap1: /var/spool/cyrus/mail/meta1
>   partition-p2: /var/spool/cyrus/mail/data2
>   metap2: /var/spool/cyrus/mail/meta2
>   metapartition_files: index cache expunge squat
>
> Obviously, the correct config should have been:
>
>   defaultpartition: p1
>   partition-p1: /var/spool/cyrus/mail/data1
>   metapartition-p1: /var/spool/cyrus/mail/meta1
>   partition-p2: /var/spool/cyrus/mail/data2
>   metapartition-p2: /var/spool/cyrus/mail/meta2
>   metapartition_files: index cache expunge squat
>
> The only reason I discovered this was wrong was that my cyr_expire command
> refused to expire expunged messages and mailboxes, and didn't honor
> "expire" annotations.  I'm running delayed expunge and delayed delete.
>
> Once I fixed the config, cyr_expire began behaving normally again.

Another quirk I forgot it mention is that users could see their DELETED 
folders in the Other Users.DELETED hierarchy, which led to some fun when 
one of them tried to delete the deleted folder a few times.  :)

 	Andy
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux