procmail
[Top] [All Lists]

Filter does not work

2004-10-03 17:25:13
Hello, 

I have following filter:

  ____ ( '/home/michelle/.procmail/FLT_blacklist' ) ____________________
 /
|  VERBOSE=ON
|  
|  BLACKLIST=$HOME/.procmail/FLT_blacklist.lst
|  CLEANFROM=`formail -xFrom: |sed -e "s/^.*[ a-zäöüß0-9A-ZÄÖÜ()._-]<//" -e 
"s/>\ .*[ a-zäöüß0-9A-ZÄÖÜ()._-]$//" -e "s/>$//"`
|  ISLISTED=`grep -i "$CLEANFROM" $BLACKLIST`
|  
|  :0 ci
|  * ISLISTED ??
|  ATTENTION/blacklist/list/
|  
|  VERBOSE=OFF
 \______________________________________________________________________

and the blacklist

  ____ ( '/home/michelle/.procmail/FLT_blacklist.lst' ) ________________
 /
|  CME_EXCH_01-SA(_at_)colormatrix(_dot_)co(_dot_)uk
|  customer(_dot_)service(_at_)ups(_dot_)com
|  DSAVTYANWEB001(_at_)tyan(_dot_)com
|  dv-virus(_at_)agrana(_dot_)com
|  FTHW371A-SA(_at_)fthw(_dot_)siemens(_dot_)de
|  invalidaddress(_at_)abcg(_dot_)com
|  NAVMSE-EMAIL(_at_)genialloyd(_dot_)it
|  ravms(_at_)ornet(_dot_)ro
|  warnung(_at_)bund400(_dot_)de
|  owner(_at_)bugs(_dot_)debian(_dot_)org
|  katie(_at_)ftp-master(_dot_)debian(_dot_)org
|  joeyh(_at_)debian(_dot_)org
|  vorlon(_at_)debian(_dot_)org
|  akpm(_at_)osdl(_dot_)org
|  adrian(_dot_)bunk(_at_)stusta(_dot_)de
 \______________________________________________________________________

and it does not work.

  ____ ( '/home/michelle/log/procmail-2004-10-04.log' ) ________________
 /
|  procmail: [16512] Mon Oct  4 02:03:52 2004
|  procmail: Assigning "BLACKLIST=/home/michelle/.procmail/FLT_blacklist.lst"
|  procmail: Executing "formail -xFrom: |sed -e "s/^.*[ 
a-zäöüß0-9A-ZÄÖÜ()._-]<//" -e "s/>\ .*[ a-zäöüß0-9A-ZÄÖÜ()._-]$//" -e "s/>$//""
|  procmail: Assigning "CLEANFROM=joeyh(_at_)debian(_dot_)org"
|  procmail: Executing "grep,-i,joeyh(_at_)debian(_dot_)org 
,/home/michelle/.procmail/FLT_blacklist.lst"
|  procmail: Assigning "ISLISTED="
|  procmail: No match on ! ""
|  procmail: Assigning "VERBOSE=OFF"
|  From root  Mon Oct  4 02:03:52 2004
|   Subject: Re: Dropping 386 support
|    Folder: lists.debian.org/debian-release/2004-10/new/1096848235.16512       
   3324
 \______________________________________________________________________


If I grep manualy

grep -i joeyh(_at_)debian(_dot_)org $HOME/.procmail/FLT_blacklist.lst

it works...

Whats wrong please ?

Greetings
Michelle

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

Attachment: signature.pgp
Description: Digital signature

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