On Fri, 2010-03-05 at 11:41 -0600, Ron Johnson wrote: > On 2010-03-04 15:41, Ron Johnson wrote:
> > spamfilter unix - n n - - pipe flags=Rq user=spamfilter \ > > argv=/usr/local/bin/spamfilter.sh \ > > -f ${sender} -- ${recipient} > Definitely looks like SA isn't being run from the individual users's > accounts. While I agree, given the above postfix conf, this is a wrong conclusion based on the commands below. > m...@haggis:~$ spamassassin -D --lint 2> SA-debug.output.txt You are running SA as the user 'me'. Postfix does not. > m...@haggis:~$ grep user_prefs SA-debug.output.txt > Mar 5 11:32:48.538 [11220] dbg: config: using \ > "/home/me/.spamassassin/user_prefs" for user prefs file You are seeing pure DEBUG messages there. This will not be output without the -D switch. > r...@haggis:~# spamassassin -D --lint 2> SA-debug.output.txt > r...@haggis:~# grep user_prefs SA-debug.output.txt No ~/.spamassassin/ dir? Not created either, or maybe created for the first time? Anyway, postfix doesn't call SA as root. -- char *t="\10pse\0r\0dtu...@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; }}}