For marking my own mail messages as read on Mutt I am using the
following recipe:
:0 Wf
* ^From: .*kurtz[0-9][0-9][0-9]
| formail -I "Status: RO"
This is, mail from any address which contains my login plus three digits is
considered as mail generated from here. However, the following doesn't
work:
:0 Wf
* ^From: .*kurtz[0-9]{3}
| formail -I "Status: RO"
I suspected that somehow I had to escape those `{' and `}'. However,
none of the following work:
* ^From: .*kurtz[0-9]\{3\} nor
ME=kurtz[0-9]{3} or
ME=kurtz[0-9]\{3\} or
ME='kurtz[0-9]{3}' with
* $ ^From: .*($ME) nor
* $ ^From: .*($\ME)
Neither reading the fine manual nor googling I have found a way
round. Any feedback will be very useful!
____________________________________________________________
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