4 messages in net.sourceforge.lists.courier-users[courier-users] Rotating mail on a mo...
FromSent OnAttachments
Paul WarrenJan 8, 2003 4:39 am 
Sam VarshavchikJan 8, 2003 5:25 am 
Andrew NewtonJan 8, 2003 6:11 am 
Daniel HigginsJan 8, 2003 6:39 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Rotating mail on a monthly basisActions...
From:Paul Warren (pd@decisionsoft.com)
Date:Jan 8, 2003 4:39:44 am
List:net.sourceforge.lists.courier-users

We are currently in the process of moving our IMAP server from mbox to maildir with courier. One of the few problems I have yet to solve is the problem of rotating mail folders on a monthly basis. We have a script that gets called on the first of every month to move a specified mail folder from foo to foo-Month-Year, and create a new, empty foo.

I'm trying to write an equivalent for Maildir. I'm not an expert on Maildir, so I'm not entirely sure what the safe way to do this is. Currently, I create a new folder called foo-Month-Year and then rename foo/new/* to foo-Month-Year/new/* and foo/cur/* to foo-Month-Year/cur/*

This seems to work, but it seems that my IMAP client does not get notified of this change - all the messages are now listed in the folder index for both folders, although I can't select them in the old folder. Is there any way to get courier to notify the client that the folder has changed and the index needs to be re-read? Also, what should I do with the courierimapuiddb file?

many thanks,

Paul