On Fri, 2009-07-24 at 11:57 -0700, John Hardin wrote: > On Fri, 24 Jul 2009, Greg Troxel wrote:
> > > > I have long wanted to be able to > > > > > > > > whitelist_from f...@bar -3.0 > > > > > > > > to have per-entry scores. Obviously though I haven't wanted it > > > > enough to write the code. First of all -- I don't like the term whitelist in this context. What's being discussed is a small, almost marginal adjustment to the score. Using "whitelist" for anything that low (even -1 has been mentioned previously) is just watering down the definition. That said, something like the above might be useful in some cases. Not that I ever felt the need for it, but still. Also, there are custom plugins [1] out there, which provide similar or related functionality -- and even are *much* easier to maintain for *users*, than the user_prefs. See the Addressbook and LDAPfilter plugins. The latter even mentions support for per-domain listings. However, I strongly agree with a note in the Addressbook plugin's description. This doesn't really work for all addresses (unless rcvd or auth constrained, sic!). It is a common spammer pattern to send From forged address A, to Recipient A, B and C at the same domain. Thus, giving negative scores to your family, friends or co-workers is in some cases likely to result in FNs. Anyway, I hope everyone who really needs and uses whitelisting, also has the ShortCircuit plugin enabled. If you deliberately WHITE-list, why waste more cycles on the mail? [1] http://wiki.apache.org/spamassassin/CustomPlugins -- 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; }}}