I hate to beat a dead horse.. but why not use exiscan+spamd? It just
works... no fuss
bkw
----- Original Message -----
From: "Marc Perkel" <marc@???>
To: <exim-users@???>
Sent: Thursday, May 15, 2003 9:29 PM
Subject: [Exim] Smart Readfile for Advanced Spam Filtering
> OK - got it all working!!!!! YES!
>
> Why have I been bugging everyone for this? Because it's a very powerful
> spam filtering tool. Here's one of 9 filters I've built so far. This
> filter wilkl read a text file containing banned links and add a header
> if it matches. I then use Spam Assassin to score it.
>
>
> # Tests for Links to Banned Sites
> #
>
> if "$message_body:" matches
>
\x28http\:\/\/\|mailto\:\x29.{0,15}\x28${sg{${sg{${sg{${readfile{/etc/exim/l
ists/blocklinks}{|}}}{\\|+}{|}}}{#.*?\\|}{}}}{\\|\$}{}}\x29.{0,10}\/
> then
> headers add "X-Temp-Blocklink: YES"
> endif
>
> The text file it reads contains:
>
> 5moni
> addsaturation
> affinitycommerce
> affistats
> animalobsession
> bannedcd
> bargaineye
> bettervling
> bimbos
> bingonet
> biosweep
> blackboxhosting
> bluehornet
> bridgewater
> bronzealliance
> bukkake
> cc123
> census\.biz
> clicktrack
> compare-lender
> consumer-alert
> coolspecnet
> cumslut
> cyberforce
> dailycomnet
> datex
> dealnetwork
> dealz
> debtguru
> dforyi
> discountviagra
> domainsforeveryone
> dyfyi
> e-centives
> emailads
> emailcourier
> emode.com
> enlargepills
> epinions
> e-proprietary
> escript
> etequinox
> ew01
> executive-level
> faqchat
> farmsex
> fastbustzone
> femaleceleb
> flipside.com
> foryourfamily
> freakyfarm
> freedigitalppv
> free.*host
> freeht
> freenotes
> fyi01
> gammae
> girls4u
> hellomail
> hellomailer
> hidden.*cam
> hookah1up
> hugefist
> iamsuccess
> ientry
> incestuals
> inkjet
> insuranceiq
> jutan
> lasalle-maple
> latex-teens
> linksynergy
> liquidgeneration
> ltracker
> m0rtage
> mailshipping
> mddailynews
> megatobacco
> micro-detective
> mnjmtech
> mybill
> myobmail
> nastyfucking
> needanewjob
> netcardsplus
> ns-hosting
> obbizopp
> onlinefullservice
> optilc
> pervert
> picturejudge
> porewo
> porn.*mail
> porno
> postdirect
> premiumsmail
> prepaid
> priceisright
> qksrv
> qualitywatchworld
> radarline
> raveonmail
> rocketfibre
> router5.com
> rxmedical
> sd[0-9][0-9]
> securediscounts
> secureinternetstores
> sexoio
> shopnow
> sil[0-9]{2,}
> smilepop
> sruhost
> totemmail
> trackingclick
> trueadvantage
> unsecured-credit
> valdostainsider
> valodata
> vistaprint
> web-hosting-choices
> winsysmaster
> xeemo
> -yahoo\.com
> youngblue
> young.*girls
> yourpenis
> yourthings\.com\.br
> yourvling
> zizi
> zmarketing
> zoanmail
>
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at
http://www.exim.org/ ##
>