[EMAIL PROTECTED] wrote:
Hello,

i want to start my own local uribl.

Spamassassin should read a raw-textfile for example /home/spamblack.txt where some url's are in

wunschurlaub.biz
euromillion.de

and another......

If match one of these entries, the Mail should marked with X Points.

How do i implement this?

Mmm. To literally match URIs against a local flat text file, you'll need to write a plugin that does just that.

However, it's probably easier to do one of two things:

1) Create a script that takes the flatfile and writes out a SpamAssassin config file with URI rules for each URI in a suitable location

2) Create a script to stuff the URIs into a DNS zone of your own, and duplicate a suitable configuration fragment from eg URIBL or SURBL.

I've done both of these; the first for a while with SA2.5x, the second starting with SA2.63 shortly after a patch appeared to look up URIs in DNS instead of relying on great long lists of URI rules.

-kgd

Reply via email to