Re: cyrus not able to delete files after migration

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

 



> 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
----
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