[prev in list] [next in list] [prev in thread] [next in thread] 

List:       procmail
Subject:    Re: recipe provided with mutt gnupg how-to
From:       Lars Hecking <lhecking () nmrc ! ucc ! ie>
Date:       2000-11-27 19:37:51
[Download RAW message or body]


> :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@lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic