On Fri, Mar 17, 2006 at 05:34:02PM -0800, Dan Kohn wrote:
> Guys, I'm seeing similar problems with my non-root install on a  
> FreeBSD hosting account, where prefix=$HOME.  With SpamAssassin  
> 3.1.1, I only get this header added:

Jason's problem, as far as I can tell, was related to permission issues.
He's all working now.

> X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on  
> emlis.pair.com
> 
> When I reinstall 3.1.0, I get the full headers and the spammy message  
> as an attachment.  Here's a debug log showing things working with  
> 3.1.0 but not with 3.1.1.  One other datapoint: with 3.1.1, lint  
> shows that it doesn't recognize any of my custom rule scores from  
> user_prefs.

You typically see this behavior if the default rules can't be read.  Check
that the default files were installed, and the permissions are correct --
specifically, permissions on the files and the directories all the way up to
root.

> [emlis:~/src/Mail-SpamAssassin-3.1.1]$ spamassassin -V
> SpamAssassin version 3.1.0
>   running on Perl version 5.8.3
> [emlis:~/src/Mail-SpamAssassin-3.1.1]$ spamassassin -D <  
> ~/.spamassassin/sample-spam.txt
[...]
> [73724] dbg: config: using "/usr/home/dankohn/share/spamassassin" for  
> sys rules pre files
> [73724] dbg: config: using "/usr/home/dankohn/share/spamassassin" for  

ok, found the files.

[...]
> DPREFIX="/usr/home/dankohn"  -DDEF_RULES_DIR="/usr/home/dankohn/share/ 
> spamassassin"  -DLOCAL_RULES_DIR="/usr/home/dankohn/etc/mail/ 

ok, you're going to install to the same place, good.
> [emlis:~/src/Mail-SpamAssassin-3.1.1]$ spamassassin -V
> SpamAssassin version 3.1.1
>   running on Perl version 5.8.3
[...]
> [74128] dbg: config: using "/usr/home/dankohn/var/spamassassin/ 
> 3.001001" for sys rules pre files
> [74128] dbg: config: using "/usr/home/dankohn/var/spamassassin/ 
> 3.001001" for default rules dir

This directory isn't the installed default, but it is correct for where
sa-update puts files.  My guess is that you tried an sa-update which
made the directory, but then it had a problem and so there are no files
in there.

So I'd recommend you either do an sa-update and verify that it completes (run
with -D), or remove the .../var/spamassassin dir.

-- 
Randomly Generated Tagline:
You tell 'em Clock, You've got the time.

Attachment: pgpHQSPMld9db.pgp
Description: PGP signature

Reply via email to