Hallo Thomas,
Am 2008-02-10 22:30:03, schrieb Thomas Richter:
MAILLANG2=`formail -xX-Spam-Possible-Language:`
Since the "sed" command below can not work over multiple lines, I would
use:
MAILLANG2=`formail -czx "X-Spam-Possible-Language:"`
assings the variable:
procmail: Executing "formail -xX-Spam-Possible-Language: | sed -e 's/
\([a-zA-Z0-9.]\{2,10\}\) .*/\1/g'"
procmail: Assigning "MAILLANG="
procmail: Executing "formail,-xX-Spam-Possible-Language:"
procmail: Assigning "MAILLANG2= zh.big5 ja.euc-jp zh.gb2312"
Can you send the part of the E-Mail with this Header?
(original and unstriped)
Note: Is this a spamassassin Header?
You do not need "sed" to get the language. :-)
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