cyr_expire and messages where Date: is in the future?

David Carter dpc22 at cam.ac.uk
Wed Jan 9 09:50:06 EST 2008


On Wed, 9 Jan 2008, Mike Eggleston wrote:

> I tried and experiment that worked using 'ipurge -d 1 -X 
> user.$user.spam'. The delete flags were set properly. I guess I still 
> need to run a cyr_expire to expunge the messages?
>
> I want to \Delete all messages in user.*.spam and user.*.backup. Can I 
> use those patterns with ipurge?

"ipurge -f -d 1 -X user/*/spam" works for me (2.3cvs). The messages get 
expunged and expired immediately, which is what I would expect from:

   mailbox_expunge(&the_box, purge_check, &stats, EXPUNGE_FORCE);

cyr_expire is normally used to expire expunged messages if you are running 
with delayed expunge. ipurge appears to bypass this.

-- 
David Carter                             Email: David.Carter at ucs.cam.ac.uk
University Computing Service,            Phone: (01223) 334502
New Museums Site, Pembroke Street,       Fax:   (01223) 334679
Cambridge UK. CB2 3QH.


More information about the Info-cyrus mailing list