spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karsten Br├Ąckelmann <guent...@rudersport.de>
Subject Re: Change .spamassassin directory
Date Thu, 22 Jul 2010 16:27:05 GMT
On Thu, 2010-07-22 at 08:57 -0700, Neil Hodge wrote:
> All:
> 
> Just wondering how to change the user-local prefs directory
> .spamassassin.  I have tried all combinations of commands and options,
> including
> 
> /usr/bin/spamassassin --configpath=/path/to/saprefs,

man spamassassin-run

That would be --prefspath. Only used for per-user preferences, usually
does *not* contain any rules. The --configpath points to the stock rules
dir by default, and should *not* be changed.

Begs the question, why you want to change the default ~/.spamassassin
anyway?


> but I keep getting the response
> 
> "config: no rules were found!  Do you need to run 'sa-update'? at
> /usr/bin/spamassassin line 403."

Well, since installing SA 3.3.1, did you actually run sa-update?

You do realize that this is now mandatory since 3.3 to grab the latest
stock rule-set, do you? (Alternatively, a separate rules tarball is
available.) SA doesn't ship with all rules bundled any longer.


> Neither does the symbolic link
> 
> .spamassassin -> /path/to/saprefs
> 
> work, i.e. it keeps getting changed to an actual directory.  I am
> running SA 3.3.1 from within procmail.  Any ideas???  Thanks.

spamc / spamd rather than the plain and costly 'spamassassin' script, I
hope. Any chance the spamd daemon is started with the -c create user
prefs option?


-- 
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;
}}}


Mime
View raw message