Axel Thimm
2010-Jul-27 20:02 UTC
[Dovecot] dovecot lda & sieve: resubmit folder for resieving
Hi, 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: http://wiki.dovecot.org/HowTo/RefilterMail 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 dovecot-lda. Would it make sense to suggest to have dovecot offer this kind of reprocessing itself? That way nothing would get lost in any transition. -- http://ATrpms.net/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc 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-0002.bin>
Patrick Ben Koetter
2010-Jul-28 09:29 UTC
[Dovecot] dovecot lda & sieve: resubmit folder for resieving
* Axel Thimm <Axel.Thimm at ATrpms.net>:> Hi, > > 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: > > http://wiki.dovecot.org/HowTo/RefilterMail > > 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 > dovecot-lda.Would it help to use sieve capabilities to add flags? p at rick> > Would it make sense to suggest to have dovecot offer this kind of > reprocessing itself? That way nothing would get lost in any transition. > -- > http://ATrpms.net/-- state of mind Digitale Kommunikation http://www.state-of-mind.de Franziskanerstra?e 15 Telefon +49 89 3090 4664 81669 M?nchen Telefax +49 89 3090 4666 Amtsgericht M?nchen Partnerschaftsregister PR 563 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 316 bytes Desc: Digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20100728/9e5dad62/attachment-0002.bin>