procmail
[Top] [All Lists]

Re: recipe provided with mutt gnupg how-to

2000-11-27 13:44:13

:0 h
* ^Subject:[    ]+\/(|send)[    ]+key pub\>.*
| mutt -s "Re: $MATCH" `formail -rtzxTo:` </clau/mykey.asc
 
My major concern is '(|send)' (i read this to mean <nothing> OR 'send').
This doesn't work, though -- the recipe doesn't trigger on a message
with the subject, 'key pub':

 That's correct - the condition above requires at least *two* spaces or
 tabs between "Subject:" and "key" if "send" is omitted.

 I'd suggest

 * ^Subject:[    ]+\/(send[    ]+)?key pub\>.*

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>