Hi Eugene,
Just to check: has the mail actually been deleted by the client?
cyr_expire is there (I believe) to clean up messages and folders that have been flagged as deleted by the client but not yet physically removed. It can't remove mail that is undeleted, no matter how old it is.
Perhaps ipurge might be more what you need?
Cheers,
Nicola
On Tue, Nov 14, 2017, at 04:41 AM, Eugene M. Zheganin wrote:
Hi,I'm using cyrus 2.5.11. I have abount hundred mailboxes, most of themare used by users which still prefer POP3 over IMAP, but recently Inoticed that I have non-deleted mail for almost a year in suchmailboxes. I also have a roundcube web-interface configured to use IMAP,so I took a brief look in one of such mailboxes and in contains only oneletter (obviously not fetched by the user at the time being).I have in cyrus.conf:EVENTS {checkpoint cmd="ctl_cyrusdb -c" period=30delprune cmd="cyr_expire -E 3" at=0400deleteprune cmd="cyr_expire -E 4 -D 5" at=0430expungeprune cmd="cyr_expire -E 4 -X 5" at=0445tlsprune cmd="tls_prune" at=0400}Liiks like 'cyr_expire -E 4 -X 5' should expunge all the old mail, butclearly this isn't happening. Why ? I'vetried to launch it by hand underthe cyrus user - nothing happens. I've also set the 'expire' property to5 for all of the mailboxes:# cyradm --user cyrus localhostPassword:localhost> info{Server Wide}private:admin: NILcomment: NILexpire: NILsquat: NILshared:admin: NILcomment: NILmotd: NILexpire: 5freespace: 97686204most: 97686204;153245190total: 97686204;153245190shutdown: NILsquat: NILlocalhost>This is what's happening when I launch this manually:[cyrus@gw0:~]> cyr_expire -vvv -E 3 -D 3 -X3Expunging deleted messages in mailboxes older than 3.00 daysExpired 0 and expunged 6386 out of 1915882 messages from 316 mailboxesRemoving deleted mailboxes older than 3.00 daysRemoved 0 deleted mailboxesThis doesn't help either (by the way: what is a private and sharedmailbox ? looks like cyrus documentation isn't much better than 15 yearsago).I'm starting to think that may be I should delete these messages by hand.Thanks.Eugene.----Cyrus Home Page: http://www.cyrusimap.org/List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/To Unsubscribe:
---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus