On Thu, 2010-03-04 at 14:36 -0600, Ron Johnson wrote:
> I want my users (it's a small at-home setup of fetchmail, postfix, 
> SA and courier-imap) to be able to whitelist certain users.

You do *not* need allow_user_rules, to enable per-user whitelist_* or
blacklist_* settings.

See the docs [1], and pay special attention to the first sentence in the
User Preferences section. Also note that Whitelist and Blacklist Options
is a sub-section of this. :)


On a related note, the plain whitelist_from without a rcvd or auth
constraint is dangerous to use. If possible, always use the constraint
ones, and the plain one strictly as a fall-back if there is no other
possibility -- and you really need the whitelist. In almost all cases,
you don't, and the real problem (if any) goes by unnoticed.


> This is what my various config files look like:
> 
>      $ tail -n1 /etc/spamassassin/local.cf
>      allow_user_rules        1
> 
>      $ cat ~/.spamassassin/user_prefs
>      header    L_TO_ME   ToCc =~ /ron\.l\.johns...@cox\.net/
>      describe  L_TO_ME   Email addressed to me
>      score     L_TO_ME   0.010

For this, you need allow_user_rules 1.

>      whitelist_from  nytdir...@nytimes.com

For this, you don't.

However, you did *not* show any evidence, headers, or whatever, that the
L_TO_ME user rule does not work...

How is SA called? Are you using per-user configuration?


[1] http://spamassassin.apache.org/full/3.2.x/doc/Mail_SpamAssassin_Conf.html

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

Reply via email to