-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

hi matt,


>> they are where they're supposed to be, i.e. i pointed my SA build to:
>>
>>      perl Makefile.PL \
>>      PREFIX=/usr/local/spamassassin-dev \
>>      DATADIR=/var/MailServer/Conf/SA/Dist \
>>      CONFDIR=/var/MailServer/Conf/SA/Local \
>>      ...

> Questions:

i'm a couple of minutes behind ya! :-)

> 1) does spamassassin --lint (without the specifiers) fail? Based on your build
> parameters it should not.

yup. it fails.


> 2) if it does fail, try spamassassin --lint -D. What's it detecting as the 
> site
> rules dir and default rules dir?

hmm ... there's the problem.  it *is* picking up "my" dirs:


        [3545] dbg: config: using "/var/MailServer/Conf/SA/Local" for site 
rules pre files
        [3545] dbg: config: read file /var/MailServer/Conf/SA/Local/init.pre

but also:

        [3545] dbg: config: using 
"/usr/local/spamassassin/var/spamassassin/3.002000" for sys rules pre
files
        [3545] dbg: config: using 
"/usr/local/spamassassin/var/spamassassin/3.002000" for default rules dir
        [3545] dbg: config: using "/var/MailServer/Conf/SA/Local" for site 
rules dir
...
        [3545] dbg: config: using "/var/root/.spamassassin" for user state dir
        [3545] dbg: config: using "/var/root/.spamassassin/user_prefs" for user 
prefs file
        [3545] dbg: config: read file /var/root/.spamassassin/user_prefs

which are, i think, in the auto-detect path, but NOT where i've told stuff to 
be (like my
systemwide .spamassassin/bayes* etc etc)

> I suspect your problem might be that something created one of SA's default 
> rule
> directories, and SA is auto-detecting it, in preference over the specified
> DATADIR and CONFDIR.

looks to be the case.

> In theory SA should check your build-time specified directory first, unless
> something got screwed up in the build process and SpamAssassin.pm is looking 
> in
> the wrong places.

that's what i'd presumed, if not legitimately understood.

i'm not yet certain, but i that 
"/usr/local/spamassassin/var/spamassassin/3.002000" has me
suspicious ... why's it there?  is that a sa-update creation?

if so, why's sa-update NOT picking up the build-time-spec'd dirs as well?

richard

- --

/"\
\ /  ASCII Ribbon Campaign
 X   against HTML email, vCards
/ \  & micro$oft attachments

[GPG] OpenMacNews at gmail dot com
fingerprint: 50C9 1C46 2F8F DE42 2EDB  D460 95F7 DDBD 3671 08C6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)

iEYEAREDAAYFAkO++6YACgkQlffdvTZxCMa+oACcCLgGkIiijPQ3UWlT1mZLdwHo
4uYAnRMs7V4b/tOAmDEQQw5FRbU99sDC
=T8ls
-----END PGP SIGNATURE-----

Reply via email to