Archival Use of OfflineImap

X Ryl boite.pour.spam at
Wed Jan 30 08:49:43 GMT 2013


You can of course have a script that moves all your files that are older
than a month in a Maildir folder that's ignored by OfflineImap (see
nametrans documentation on how to filter out a folder).
In that case, you might be interested in the 'syncdate' option from my
'next' branch too if you bootstrap your sync so the file's timestamp will
match the message's Date header. Then moving out the "archived" file will
be a simple "find -mtime -exec" command to run after each sync.

Also, I've commited a patch from Grant Likely that add the option
"startdate" (resp. maxdate), but as far as I understand your goal, it might
not be exactly what you want.

On Tue, Jan 29, 2013 at 9:58 PM, Flesher, Eli <eli at> wrote:

> I am looking at using OfflineIMAP in a manner which I've previously used
> IMAPSync.
> I was able to setup IMAPSync to sync from server to local mailbox and
> purge from the server all mail which was greater than 30 days old,
> effectively creating an archive mailbox. I then served the 'local' mailbox
> and connected to it with my mail client.
> Am I being thick and just can't find this functionality in OfflineIMAP or
> is it not present?
> Eli
> _______________________________________________
> OfflineIMAP-project mailing list
> OfflineIMAP-project at
> OfflineIMAP homepage:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the OfflineIMAP-project mailing list