procmail
[Top] [All Lists]

recipe provided with mutt gnupg how-to

2000-11-20 10:00:24
Hello all,

The recipe included with the mutt/gnupg how-to is:

<snip>

:0 h
* ^Subject:[    ]+\/(|send)[    ]+key pub\>.*
| mutt -s "Re: $MATCH" `formail -rtzxTo:` </clau/mykey.asc

<snip>

This doesn't make a lot of sense to me (the trailing '.*', for
example, looks suspicious).

The intent is, upon receiving an email with 'send key pub' in the
subject, respond with the contents of a specific text file.

There are many recipes of this type floating around -- can anyone see
a reason for doing it the above way?  Aren't there much more elegant
ways to do this?

many thanks,

cory

ps: please cc me on any replies.
_______________________________________________
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>