
30 Jul
2007
30 Jul
'07
7:55 p.m.
In message <20070730175130.GA1193@oberon.njm.f2s.com>, N.J. Mann wrote:
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/
On seconds thoughts, as an example that is buggy. A better example is: :0 * regexp { :0 { TRAP='mv $LASTFOLDER ${LASTFOLDER}:2,F' } :0 my-maildir-mail-box/ } Cheers, Nick. --