I have little faith in installing spamassassin from cpan. I'd recommend uninstalling it if you can, and installing from whatever packaging system your OS uses, which I believe is ports.
But if there is a related bug in installation from cpan, it would be nice to track it down and fix it. >From your debug output: Jan 1 17:06:23.374 [20281] dbg: generic: Perl 5.010000, PREFIX=/usr/pkg, DEF_RULES_DIR=/usr/pkg/share/spamassassin, LOCAL_RULES_DIR=/usr/pkg/etc/mail/spamassassin, LOCAL_STATE_DIR=/usr/pkg/var/spamassassin What exactly is the directory sa-update is downloading to? Is it one of those? Does it actually contain rules? $ sa-update -D 2>&1 | grep LOCAL_STATE Jan 1 14:08:54.614 [9446] dbg: generic: Perl 5.010001, PREFIX=/usr, DEF_RULES_DIR=/usr/share/spamassassin, LOCAL_RULES_DIR=/etc/spamassassin, LOCAL_STATE_DIR=/var/lib/spamassassin $ spamassassin -D </dev/null 2>&1 | grep LOCAL_STATE Jan 1 14:09:38.542 [9459] dbg: generic: Perl 5.010001, PREFIX=/usr, DEF_RULES_DIR=/usr/share/spamassassin, LOCAL_RULES_DIR=/etc/spamassassin, LOCAL_STATE_DIR=/var/lib/spamassassin So on my machine, sa-update is downloading to, and spamassassin is loading rules from, the LOCAL_STATE_DIR, and the rule definitions are all in /var/lib/spamassassin/3.004000/updates_spamassassin_org/ . On 01/01, Steve Blinkhorn wrote: > Thank you for your various responses. > > spamassassin --lint -D output is at http://pastebin.com/Hjmt8CbE > > There is only one sa-update on the system. > > I installed from CPAN > > -- > Steve Blinkhorn <st...@prd.co.uk> > > > > > --f46d04428890f2fb1a04b568e766 > > Content-Type: text/plain; charset=ISO-8859-1 > > > > Check you've only got one saupdate etc installed and you are calling the > > saupdate associated with the spamassassin you are running. Ie check there's > > not one installed from ports or as the base install if you hand installed a > > version and vice versa > > > > Martin > > > > On Saturday, 31 December 2011, Steve Blinkhorn <st...@prd.co.uk> wrote: > > > Hi, > > > I just tried to install spamassassin: everything proceeded normally, > > > AFAIK, but the basic "spamassassin -t' on the provided sample fails > > > because no rules are found (line 400, which looks to my untutored eye > > > like an all-purpose error-spitter). sa-update appears to run, and > > > exits silently. There is a rules directory under the the directory > > > where I ran the installation, and also under usr/pkg/share, and they > > > are both populated with files which look relevant. > > > > > > I tweaked the script so as not to require rules, and it ran and > > > produced output. > > > > > > NetBSD 4.01, working as root. What is amiss? > > > > > > -- > > > Steve Blinkhorn <st...@prd.co.uk> > > > > > > > > **************************************************************************** > > > This email is for the addressee only. If you are not the addressee > > > you should immediately delete this email from your system(s) and > > > inform us. It may contain information that is confidential or > > > otherwise privileged, and should not be copied or redistributed to > > > recipients not originally specified as addressees without permission. > > > > > > Psychometric Research & Development Ltd. > > > PO Box 1143, St Albans, Herts, AL1 9UT, UK > > > Registered in England No. 1909571 > > > Registered Office: 47 Holywell Hill, St Albans, Herts, AL1 1HD > > > Phone: +44 (0)1727 841455 > > > www.prd.co.uk > > > > > **************************************************************************** > > > > > > > -- > > -- > > Martin Hepworth > > Oxford, UK > > > > --f46d04428890f2fb1a04b568e766 > > Content-Type: text/html; charset=ISO-8859-1 > > Content-Transfer-Encoding: quoted-printable > > > > Check you've only got one saupdate etc installed and you are calling th= > > e saupdate associated with the spamassassin you are running. Ie check there= > > 's not one installed from ports or as the base install if you hand inst= > > alled a version and vice versa<br> > > <br>Martin<br><br>On Saturday, 31 December 2011, Steve Blinkhorn <<a hre= > > f=3D"mailto:st...@prd.co.uk">st...@prd.co.uk</a>> wrote:<br>> Hi,<br>= > > > I just tried to install spamassassin: everything proceeded normally,<b= > > r> > > > AFAIK, but the basic "spamassassin -t' on the provided sample= > > fails<br>> because no rules are found (line 400, which looks to my untu= > > tored eye<br>> like an all-purpose error-spitter). sa-update appears to = > > run, and<br> > > > exits silently. =A0 There is a rules directory under the the directory= > > <br>> where I ran the installation, and also under usr/pkg/share, and th= > > ey<br>> are both populated with files which look relevant.<br>><br> > > > I tweaked the script so as not to require rules, and it ran and<br>>= > > ; produced output.<br>><br>> NetBSD 4.01, working as root. =A0 What i= > > s amiss?<br>><br>> --<br>> Steve Blinkhorn <<a href=3D"mailto:s= > > t...@prd.co.uk">st...@prd.co.uk</a>><br> > > ><br>> **************************************************************= > > **************<br>> This email is for the addressee only. =A0 If you are= > > not the addressee<br>> you should immediately delete this email from yo= > > ur system(s) and<br> > > > inform us. =A0 It may contain information that is confidential or<br>&= > > gt; otherwise privileged, and should not be copied or redistributed to<br>&= > > gt; recipients not originally specified as addressees without permission.<b= > > r> > > ><br>> Psychometric Research & Development Ltd.<br>> PO Box 11= > > 43, St Albans, Herts, AL1 9UT, UK<br>> Registered in England No. 1909571= > > <br>> Registered Office: 47 Holywell Hill, St Albans, Herts, AL1 1HD<br> > > > Phone: +44 (0)1727 841455<br>> <a href=3D"http://www.prd.co.uk">www= > > .prd.co.uk</a><br>> ****************************************************= > > ************************<br>><br><br>-- <br>-- <br>Martin Hepworth<br> > > Oxford, UK<br> > > > > --f46d04428890f2fb1a04b568e766-- > > > > > -- > Steve Blinkhorn <st...@prd.co.uk> > > **************************************************************************** > This email is for the addressee only. If you are not the addressee > you should immediately delete this email from your system(s) and > inform us. It may contain information that is confidential or > otherwise privileged, and should not be copied or redistributed to > recipients not originally specified as addressees without permission. > > S F Blinkhorn MA PhD CPsychol FBPsS Chairman, > Psychometric Research & Development Ltd. > PO Box 1143, St Albans, Herts, AL1 9UT, UK > Registered in England No. 1909571 > Registered Office: 47 Holywell Hill, St Albans, Herts, AL1 1HD > Phone: +44 (0)1727 841455 > www.prd.co.uk > **************************************************************************** > -- "Blessed are the cracked, for they shall let in the light." http://www.ChaosReigns.com