13 Jun
2016
13 Jun
'16
7:45 p.m.
Op 1-6-2016 om 21:58 schreef @lbutlr:
I have an archive mailbox that contains in excess of 100,000 mail messages (stored in maildir) that accidentally got marked as unread. It is too large for my mail client to select all the mail and mark it as read without throttling.
Is there a simple way that I can use doveadm or something to simply mark every message in that maildir as read? Or do I just loop through every message and move it to <messaage>+S?
find ~/Maildir/.Archive/cur/* -type f -name “1*:2” --exec mv {} {}S \;
Probably something like this:
doveadm flags -u bob remove '\Seen' mailbox dovecot
See man doveadm flags
for more information.
Regards,
Stephan.