procmail
[Top] [All Lists]

variable in save file

2008-02-10 04:44:15
Hi,
I try to sort my spam by language. I got the right lang in a variable but 
procmail
doesn't accept the variable in file to save to.

MAILLANG=`formail -xX-Spam-Possible-Language: | sed -e 
's/X-Spam-Possible-Language: \([a-zA-Z0-9.]\{2,10\}\) .*/_0/g'`

:0
* .
kill.sbd/spam-$MAILLANG

mfg Thomas Richter

-- 
ss7://49.431.801306       Wot're we going to do tonight, Brain ?
gsm://49.179.5192431   The same thing we do every night, Pinky .
icq://124849926                     Try to TAKE OVER THE WORLD !
mailto:richter(_at_)thomas-richter(_dot_)de    http://www.thomas-richter.de
____________________________________________________________
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

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