
30 Jul
2007
30 Jul
'07
7:51 p.m.
In message <20070730172912.635b9e9c@roadrunner.darksystem.net>, Sebastian Krohn wrote:
I'm in the situation that i want to set some of the mails i save into an maildir storage as 'read' for mails from a specific sender.
While the recipes are no problem I have not the slightest idea how i could manage to set the 'read' status? Any ideas/pointers?
I use the following to set the "flagged" flag: :0 * my-regexp-here { TRAP='mv $LASTFOLDER ${LASTFOLDER}:2,F' } :0 my-maildir-mail-box/ It works like a charm. To mark the mail as READ rather than "flagged" the filename extension should be R rather than F, i.e. { TRAP='mv $LASTFOLDER ${LASTFOLDER}:2,R' } but I haven't tested this. Cheers, Nick. --