[Dovecot] How to set MDNSent flag on a large amount of mails?
johannes at sipsolutions.net
Tue Jun 3 20:20:43 EEST 2008
On Wed, 2008-06-04 at 01:17 +0800, Patrick Nagel wrote:
> On Tue, 03 Jun 2008 19:37:50 +0300, Timo Sirainen <tss at iki.fi> wrote:
> > How about making your script use IMAP protocol?
> > 1 list "" *
> > 2 select <each mailbox>
> > 3 uid search header Disposition-Notification-To ""
> > 4 uid store <search result as msgset> +flags $MDNSent
> Thanks, Timo! Never thought of that :)
> I'll give it a try tomorrow... netcat would be the bridge between my shell
> and dovecot then, I guess?
That'll work, I tend to use python because it comes with error checking,
you can use http://johannes.sipsolutions.net/files/cleanspam.txt and
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 828 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080603/0b067d87/attachment.bin
More information about the dovecot