cyrus not able to delete files after migration

Simon Matter simon.matter at invoca.ch
Fri Feb 16 11:48:57 EST 2007


> I have cyrus 2.3.7-4 on Centos 4.4 ( reiserfs partitions).
>
>  We recently migrated the data and everything apparently is working
> fine. We simply rsynced /var/spool/imap and /var/lib/imap from the old
> cyrus box
>
> But what we have realized is when a user deletes the mail and expunges
> the mail is not seen in the mailbox ( imap or pop ) and the quota file
> is also updated properly. But the physical file is not deleted
>
> When I reconstruct the mailbox all expunged mail-files are deleted but
> newer files are still stick on even after expunge until next
> reconstruct
>
> What may be causing the issue. How can I debug ??
> ( We have around 22000 mailboxes with around 20GB of mails per day )

Everything is fine with your server, check 'man imapd.conf'. Your rpm uses
'expunge_mode: delayed' by default for good reason. If you set 'delprune  
   cmd="cyr_expire -E 3 -X 7" at=0400' in cyrus.conf your mails are
deleted physically after 7 days. Makes restores much easier with
unexpunge.

Simon


More information about the Info-cyrus mailing list