Follow-up to self. *gnarf* On Wed, 2010-09-22 at 00:35 +0200, Karsten Bräckelmann wrote: > On Tue, 2010-09-21 at 17:18 -0500, Chuck Campbell wrote: > > > Done this in /etc/mail/spamassassin/local.cf > > > waiting for appropriate message(s) to arrive and check headers. > > > > OK, this works properly now, and I see a USER_IN_WHITELIST under spam tests.
You did keep a sample this time, so you don't have to wait for another one, right? ;) > > How do I sort out the per_user prefs issues I've got (they clearly aren't > > working). > If the same (user) settings work in site-wide config, but not in > user_prefs, the issue most likely is that the user_prefs are not used > for some reason. Key for debugging is to have a sample, and to reproduce the issue by passing the sample to SA exactly as your mail processing chain would. (IIRC you didn't mention how you integrate SA.) > There are some relevant spamd command line options, that might cause > this. And of course, using some glue to SA that does not provide the > user for per-user settings to work at all comes to mind. -- 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; }}}