procmail
[Top] [All Lists]

Re: Is 'Mark as read' possible?

2007-08-28 07:15:09
On 28-Aug-2007, at 04:12, Tolga wrote:
N.J. Mann wrote:
In message 
<200708280941(_dot_)26643(_dot_)cannewilson(_at_)googlemail(_dot_)com>, Anne 
 
Wilson wrote:
One recipe takes certain bug reports and puts them into Trash.   
Is it possible
to have them marked as read?

Add a "Status: R" header to the message to mark it read. <--- as  
said on
one mail.

That only works for mbox files.

N.J. Mann Said:<1>
  TRAP='mv ${LASTFOLDER} ${LASTFOLDER%%new/*}cur/${LASTFOLDER##*/}: 
2,S'

Seems to do the trick for Maildir

<1> <http://www.xray.mpe.mpg.de/mailing-lists/procmail/2007-08/ 
msg00023.html>
-- 
Generalizations are always inaccurate.  -Mugsy

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail