hi!
just to know because is non-trivial to mark a maildir message as read with
procmail, i use this to mark cvs commits in debian-boot as read.

<procmailrc>
# trick to mark cvs commits from debian-boot ML as read
:0
* X-Mailing-List: <[EMAIL PROTECTED]>
{
    # first deliver to maildir so LASTFOLDER gets set'd
    :0 c
    debian-boot/

    # then move it to cur/
    :0 ai
    * ^Subject: cvs commit to debian-installer.*
    * LASTFOLDER ?? ()\/[^/]+^^
    |mv "$LASTFOLDER" "debian-boot/cur/$MATCH:2,S"
}
</procmailrc>

i got the idea from:
http://www.rosat.mpe-garching.mpg.de/mailing-lists/procmail/2000-10/msg00262.html

cheers,
filippo.
--
Filippo Giunchedi
GNU/PG key id: 1024D/6B79D401
Random signature follows:

"unix is simple, but it just takes a genius to understand the simplicity"
-- Dennis Ritchie

Attachment: msg22809/pgp00000.pgp
Description: PGP signature

Reply via email to