procmail
[Top] [All Lists]

Re: IMAP filtering, how to mark my own messages read

2005-08-23 14:46:37
Klaus Johannes Rusch wrote on 2005-08-23 18:47:
Timothy Luoma wrote:
what I would like to do is to be able to mark messages that I send as  
already read, so I don't think there's a new message only to find out  
it's just the message that I sent.

Anyone have any ideas how to do that?
:0Wfh
* ^From: .*youraddress
| formail -I"Status: RO"

PS. This question has been asked many times before, and answers to this 
and other FAQs can be found in the procmail archives, for example 
http://mailman.rwth-aachen.de/pipermail/procmail/2005-June/thread.html#22341


Timothy uses maildir and not mbox-folders so changing the
in-mail-status-flag wont work (except perhaps for UW-imap).

In maildir (and maildir++) the status is part of the filename, so after
the file is written to new you need to get the filename and change it
with :2,S while moving it to cur. (http://cr.yp.to/proto/maildir.html)

There is to my knowledge no builtin in procmail to do that, and there is
no faq about it either.

Best regards,
Emil



____________________________________________________________
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