procmail
[Top] [All Lists]

Re: recipe to add names to a whitelist

2001-11-10 19:41:31
At 17:07 2001-11-10 -0800, Timothy J. Luoma wrote:

:0
*   ^Subject: addwhite \/.*
| addwhite.sh $MATCH

Probably a typo, but your original request on this thread used
"add2white".

yes, typo


       . $HOME/.source

I take it that this script sets $MAILTO, and $ALL ?

yes.... MAILTO= my email address 
and $ALL = $*

(I use those and other variables like TEMP in a lot of scripts, so I just keep 
them in a global file 

echo added $ALL | Mail -s "Added $ALL to whitelist" $MAILTO

It the propercased Mail intentional?

Yes... it uses /usr/bin/Mail

TjL




_______________________________________________
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>