procmail
[Top] [All Lists]

Re: variable in save file

2008-02-12 12:00:05
Hallo Thomas,

Am 2008-02-10 12:35:27, schrieb Thomas Richter:
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

Since you use above a file, you should use locking with

    :0:

* .

What should this do?  --  Match anything?
Then remove this line entirely.

kill.sbd/spam-$MAILLANG

This schould work perfectly, but I use

    kill.sbd/spam-${MAILLANG}

Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSN LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

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