URIBL won't work
Stephen Swaney
steve.swaney at FSL.COM
Thu May 26 21:35:12 IST 2005
> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> Behalf Of Dhawal Doshy
> Sent: Thursday, May 26, 2005 4:27 PM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: URIBL won't work
>
> Arnold [iso-8859-1] J?ger writes:
>
> > Hi,
> >
> > I'm trying to get URI-Checking working with SA 3.0.3.
> >
> > spamassassin -x -D -p /opt/MailScanner/etc/spam.assassin.prefs.conf --
> lint
> > shows:
> >
> > debug: SpamAssassin version 3.0.3
> > debug: Score set 0 chosen.
> > debug: running in taint mode? yes
> > ......
> > debug: diag: module not installed: URI ('require' failed)
> > debug: ignore: using a test message to lint rules
> > debug: using "/etc/spamassassin/init.pre" for site rules init.pre
> > debug: config: read file /etc/spamassassin/init.pre
> > debug: using "/usr/share/spamassassin" for default rules dir
> > ........
> > debug: using "/opt/MailScanner/etc/spam.assassin.prefs.conf" for user
> prefs file
> > debug: config: read file /opt/MailScanner/etc/spam.assassin.prefs.conf
> > debug: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
> > debug: plugin: registered
> Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x8cd36ec)
> > debug: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
> > debug: plugin: registered
> Mail::SpamAssassin::Plugin::Hashcash=HASH(0x8cbdd9c)
> > debug: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
> > debug: plugin: registered
> Mail::SpamAssassin::Plugin::SPF=HASH(0x8d138d0)
> > debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x8cd36ec)
> implements
> > 'parse_config'
> > debug: plugin: Mail::SpamAssassin::Plugin::Hashcash=HASH(0x8cbdd9c)
> implements
> > 'parse_config'
> > .......
> > debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x8cd36ec)
> implements
> > 'parsed_metadata'
> > .............
> > debug: URIDNSBL: domains to query:
> > ..............
> > debug: running uri tests; score so far=0.619
> > debug: registering glue method for check_uridnsbl
> > (Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x8cd36ec))
> > .............
> > debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x8cd36ec)
> implements
> > 'check_post_dnsbl'
> > debug: running meta tests; score so far=4.006
> > debug: running header regexp tests; score so far=5.232
> > debug: running body-text per-line regexp tests; score so far=5.232
> > debug: running uri tests; score so far=5.232
> > debug: running raw-body-text per-line regexp tests; score so far=5.232
> > debug: running full-text regexp tests; score so far=5.232
> > debug: Running tests for priority: 1000
> > debug: running meta tests; score so far=5.232
> > debug: running header regexp tests; score so far=5.232
> > debug: running body-text per-line regexp tests; score so far=5.232
> > debug: running uri tests; score so far=5.232
> > ................
> >
> > but I can't see any URIBL_... in the log.
> >
> > If I try spamassassin -D <message
> > with an appropriate message, I get for example:
> > Content analysis details: (10.1 points, 5.0 required)
> >
> > pts rule name description
> > ---- ---------------------- --------------------------------------------
> ------
> > 0.0 RCVD_BY_IP Received by mail server with no name
> > 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for
> HELO
> > 0.6 URIBL_SBL Contains an URL listed in the SBL blocklist
> > [URIs: fgbasvbk.com]
> > 2.0 URIBL_AB_SURBL Contains an URL listed in the AB SURBL
> blocklist
> > [URIs: fgbasvbk.com]
> > 2.0 URIBL_OB_SURBL Contains an URL listed in the OB SURBL
> blocklist
> > [URIs: fgbasvbk.com]
> > 3.9 URIBL_SC_SURBL Contains an URL listed in the SC SURBL
> blocklist
> > [URIs: fgbasvbk.com]
> > 0.0 DRUGS_ERECTILE Refers to an erectile drug
> > 0.0 DRUGS_ANXIETY Refers to an anxiety control drug
> > 0.0 DRUGS_ANXIETY_EREC Refers to both an erectile and an anxiety
> drug
> >
> >
> > but not a single URIBL in the log.
> >
> > seems that test and real checking use different config, but why?
> >
> > regards
> > Arnold
> >
>
> Find a file called init.pre (usually /etc/mail/spamassassin) and softlink
> it
> to /usr/share/spamassassin or /usr/local/spamassassin, where your regular
> spamassassin related *.cf exist..
>
> but this is a workaround not the actual fix, the actual fix involves
> correcting one the following in MailScanner.conf
>
> SpamAssassin Install Prefix =
> SpamAssassin Site Rules Dir = /etc/mail/spamassassin
> SpamAssassin Local Rules Dir =
> SpamAssassin Default Rules Dir =
>
> The values listed here (including the blanks) work fine for me.
>
> - dhawal
I think you may need to install the URI perl Module. Running:
MailScanner -V
Will show if it's installed or missing.
If it's missing install via CPAN.
Steve
Steve Swaney
President
Fort Systems Ltd.
Phone: 202 338-1670
Cell: 202 352-3262
www.fsl.com
steve.swaney at fsl.com
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list