On Sat, 2013-11-09 at 01:35 -0200, Sergio Durigan Junior wrote: > On Friday, November 08 2013, Amir Caspi wrote:
> > I would run spamd as root and initiate spamc with the -u option, to allow > > each user to have his/her own Bayes DB. However, again, it really depends > > on what kind of email system you're running, and how you want to handle > > spam. If you're running a corporate server, you might prefer a global DB; > > if you're running a server with personal users whose email characteristics > > vary widely, you might prefer per-user DBs. For my setup, I prefer > > per-user DBs. You mentioned using SA from procmail, so there usually is no need for the -u user option (see that other sub-thread about this option). Running the spamd daemon as root and calling spamc as the receiving user is an easy way to get per-user Bayes databases. Keep in mind though, this requires Bayes training per user, and every user needs its own $HOME or related options. > Thanks for the opinion. I was considering doing that, and your message > was the final word I needed. > > Now everything is setup per-user, and I am feeding the Bayes DB with > what I have. What I wrote above was partially triggered by this. Not "the Bayes DB", which sounds like a single one to me, but one Bayes db per user. Which requires initial training per user. -- 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; }}}