[Dovecot] dovecot lda & sieve: resubmit folder for resieving

Axel Thimm Axel.Thimm at ATrpms.net
Tue Jul 27 23:02:45 EEST 2010


I'm currently restructuring my mail archives and migrated from a decade
and a half old procmail supported solution to sieve.

While doing so I often found that I'd like to filter a bunch of messages
(with "bunch" in the area of 1-10K) with my shiny new sieve script. I
found in the wiki a way to do that:


And it works well, it picks the mails via IMAP and resubmits them to
dovecot-lda. But unfortunately the IMAP flags including \Sent, \Flagged
etc are lost in the process.

I started checking for other solutions beside getmail that might extract
the imap flags as well, but I wouldn't know how to pass them to

Would it make sense to suggest to have dovecot offer this kind of
reprocessing itself? That way nothing would get lost in any transition.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20100727/727875c1/attachment.bin 

More information about the dovecot mailing list