[Dovecot] Bash script to mark all mail read in Maildir + Dovecot

Timo Sirainen tss at iki.fi
Fri Jan 9 18:51:30 EET 2009


On Fri, 2009-01-09 at 16:26 +0000, Andrew Oakley wrote:
> Hi, I'm writing a script to mark all new mail read, including all mail
> in folders, for my system which uses Maildir and Dovecot.

Another way would be:

printf "1 select inbox\n2 store 1:* +flags \\seen\n" | dovecot --exec-mail imap

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090109/5e8a8ef4/attachment.bin 


More information about the dovecot mailing list