procmail
[Top] [All Lists]

Re: variable in save file

2008-02-10 11:43:58
Hallo Professional Software Engineering 
<PSE-L(_at_)mail(_dot_)professional(_dot_)org>,
du schriebst am Sonntag, 10.02.2008 um 09:23:14 (-0800):
At 12:35 2008-02-10 +0100, Thomas Richter wrote:

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

What does your VERBOSE LOGfile say, including what $MAILLANG is actually 
set to?

There was a mistake, but after correcting it my variable isn't set to
any value ....

procmail: Executing "formail -xX-Spam-Possible-Language: | sed -e 's/ 
\([a-zA-Z0-9.]\{2,10\}\) .*/\1/g'"
TERM environment variable not set.
procmail: [21224] Sun Feb 10 19:27:56 2008
procmail: Assigning "MAILLANG="
procmail: Match on "."

cat testmail.txt | formail -xX-Spam-Possible-Language: | sed -e 's/ 
\([a-zA-Z0-9.]\{2,10\}\) .*/\1/g'
results in the desired result ...
 
BTW, what is it that you expect that condition line to do for you that you 
couldn't achieve without it?

Can I no condition line?

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>