[Dovecot] How to set MDNSent flag on a large amount of mails?

Patrick Nagel patrick.nagel at star-group.net
Tue Jun 3 20:17:40 EEST 2008


Hi,

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?

Patrick.

-- 
STAR Software (Shanghai) Co., Ltd.            http://www.star-group.net/
Phone:    +86 (21) 3462 7688 x 826             Fax:   +86 (21) 3462 7779

PGP key:         https://stshacom1.star-china.net/keys/patrick_nagel.asc
Fingerprint:           E09A D65E 855F B334 E5C3 5386 EF23 20FC E883 A005



More information about the dovecot mailing list