sawyl: (Default)
[personal profile] sawyl
Discovered how to mark messages as read using procmail and maildir today. Turns out the trick involves renaming the mail after it's been delivered, thus:

MAILDIR=$HOME/Maildir :0 c $MAILDIR/ :0 ai * LASTFOLDER ?? ()\/[^/]+^^ | mv $LASTFOLDER $MAILDIR/cur/$MATCH:2,S

Way more complicated than using formail to add a "Status: RO" as used to be the way of things with mbox.

Profile

sawyl: (Default)
sawyl

August 2018

S M T W T F S
   123 4
5 6 7 8910 11
12131415161718
192021222324 25
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 5th, 2026 12:44 am
Powered by Dreamwidth Studios