SpamAssassin 3.1 & Pyzor/Razor/DCC

Steve Freegard smf at F2S.COM
Wed Nov 2 16:51:56 GMT 2005


Hi Peter,

On Wed, 2005-11-02 at 14:33 +0000, Peter Bates wrote:
> Hello all/Steve!
> 
> > smf at F2S.COM 02/11/05 13:21:35 >>>
> >Curious - next best thing is going to be to pick a quiet time and run
> a
> >batch through MailScanner with 'Debug = yes' and 'Debug SpamAssassin
> =
> >yes' and see if anything shows up there.
> 
> Well, I've done that, and I have a few odd results, which probably
> explain why bits aren't working...
> 
> Right at the top we have:
> 
> [16029] dbg: config: using "/usr/etc/mail/spamassassin" for site rules
> pre files
> [16029] dbg: config: using "/usr/share/spamassassin" for sys rules pre
> files
> [16029] dbg: config: using "/usr/share/spamassassin" for default rules
> dir

> Whoops... I think that begins to explain my problem.
> 
> I can also see:
> 
> [16029] info: config: failed to parse line, skipping: urirhssub
> URIBL_JP_SURBL
> multi.surbl.org.        A   64
> 
> [16029] dbg: uri: running uri tests; score so far=0.96
> [16029] dbg: rules: no method found for eval test check_uridnsbl
> rules: failed to run URIBL_JP_SURBL test, skipping:
>         (Can't locate object method "check_uridnsbl" via package
> "Mail::SpamAssa
> ssin::PerMsgStatus" at
> /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/PerMsgSt
> atus.pm line 2581.
> )
> 
> ... which also explain why I seem to be seeing no hits on URIs since
> upgrading.
> 
> Any thoughts?
> 
> There's clearly something that was okay in my MailScanner.conf (or
> spam.assassin.prefs.conf) for 3.0.4 but is now very *unhappy*.
> 
> In MailScanner.conf:
> 
> SpamAssassin Install Prefix =
> SpamAssassin Site Rules Dir = /etc/mail/spamassassin
> SpamAssassin Local Rules Dir =
> SpamAssassin Default Rules Dir =
> 
> Oh, just as it seemed an obvious thing to do,
> I symlinked /usr/etc/mail/spamassassin to /etc/mail/spamassassin,
> and guess what? It now works...
> 
> Is there some default setting here I'm missing in what is a fairly
> 'out of the box' install?

I've just been building some RPM's for SA 3.1 - it appears that the
MakeMaker config has changed between 3.0.x and 3.1.x.

How did you build SpamAssassin?? - I found that I had run:

perl Makefile.PL PREFIX=/usr SYSCONFDIR=/etc/mail/spamassassin 

to get it to look in the correct places (in 3.0.x I only had to specify
PREFIX).

Kind regards,
Steve.

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