On Wed, 2011-03-02 at 08:00 -0800, macke...@animalhead.com wrote:
> On Mar 1, 2011, at 9:50 AM, Karsten Bräckelmann wrote:

> > > Mar  1 09:12:23.566 [68051] dbg: generic: Perl 5.010001, PREFIX=/usr/
> > > local, DEF_RULES_DIR=/usr/local/share/spamassassin, LOCAL_RULES_DIR=/
> > > etc/mail/spamassassin, LOCAL_STATE_DIR=/var/lib/spamassassin
> >   ^^^^^^^^^^^^^^^^^^^^^
> > There's a severe difference to the man-pages you just quoted.
> >
> > How did you install SA? It appears you ended up with two different
> > installations, though both being 3.3.1.
> 
> Installing SA 3.3.1 via CPAN cleared up problems from a failed attempt
> by our hosting provider to update something on the server (they never
> said exactly what), which left SA inoperative.  (It cleared up problems
> except for this one -- how SA tagged spam.)  The original SA install
> years ago was using a script from our hosting provider.

Indeed, two different installations. It appears, the man-page is the one
installed by your hosting provider, showing paths that actually are not
used life.

The correctly working executable you do use, installed via CPAN, uses
the SA default paths. That explains why it didn't clear up this problem
of report_safe -- it's non-0 by default.


> animalhead:~ $ spamassassin -D --lint 2>&1 | grep "site rules"
> Mar  2 07:33:27.529 [75068] dbg: config: using "/etc/mail/ 
> spamassassin" for site rules pre files

> So I edited etc/mail/spamassassin/local.cf to include report_safe 0.
> Probably all will be well now.
> 
> This problem may go back further than the 3.1.1 install.  I have a vague
> memory of trying to tweak some scoring coefficients years ago, without
> SA noticing those changes.

Well, you need to edit cf files in the site-config path your executable
actually uses. ;)


> Thanks very much,

Glad we've tracked down the bugger. :)


-- 
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}

Reply via email to