On Apr 25, 2012, at 6:35 AM, Kevin A. McGrail wrote: > On 4/25/2012 2:38 AM, Chad Leigh Shire.Net LLC wrote: >> I have SA 3.3.2 installed on FreeBSD 9. This was installed from "source" >> and not the package or port. I have some different requirements and so built >> it myself. >> >> I run a bunch of FreeBSD jails on a given system, and have a new area I call >> /usr/public which gets mounted inside each jail. The software gets built >> and installed here, but I work to set things up so that it reads config >> files and uses local space in /usr/local for each system. >> >> I am having an issue with SA 3.3.2 on a new install (my old servers were >> running an old SA 3.x that was pre sa-update) where it claims the rules are >> not found. This includes spamassassin and spamd >> >> If I run spamassassin manually here is the debug output (first part): >> >> spamassassin --configpath=/usr/local/etc/mail/spamassassin/ -D< >> 1335330803.H270347P64367.mail.shire.net >> Apr 25 00:26:06.303 [64987] dbg: logger: adding facilities: all >> Apr 25 00:26:06.303 [64987] dbg: logger: logging level is DBG >> Apr 25 00:26:06.303 [64987] dbg: generic: SpamAssassin version 3.3.2 >> Apr 25 00:26:06.304 [64987] dbg: generic: Perl 5.012004, PREFIX=/usr/public, >> DEF_RULES_DIR=/usr/public/share/spamassassin, >> LOCAL_RULES_DIR=/usr/local/etc/mail/spamassassin, >> LOCAL_STATE_DIR=/usr/local/var/spamassassin > > The LOCAL_STATE_DIR is my belief. > > If you run sa-update --help, the help text will be compiled for your default > rules >
Hi That shows the /usr/local/var/spamassassin which is where the rules are... # ls -al /usr/local/var/spamassassin total 5 drwxr-xr-x 3 spama spama 3 Apr 25 10:07 . drwxr-xr-x 3 root wheel 3 Apr 24 20:27 .. drwxr-xr-x 3 spama spama 4 Apr 25 10:07 3.003002 # I tried changing the ownership to the spamassassin user (spama) but that did not matter (I am also having the issue with spamd) Thanks for the idea. Chad
