Scott Taylor wrote:
> I was running spamd but spam was being badly missed, so while reading
> docs on the SA site, I ran into that new recipe and now it catches a
> lot more spam.  spamd is running as root, spawned from
> /etc/init.d/spamassasin, 5 times, although I don't know if I need to
> be doing that, doesn't make much sense...

O_o  Truly weird;  barring some strange installation screwup (ie, spamd
is calling code from SA2.6x instead of 3.x), you should see *identical*
scores with both calling methods, except that spamd/spamc is a whole lot
faster and far less likely to cause your system to stall mail
processing.

> OK, but wouldn't 0666 be sufficient?  Why would one want/need to
> execute a DB file?

It's actually more of a sort of bitmask;  SA also uses that setting to
make sure permissions on the directory the bayes_* files are in are
appropriate as well (among other things, it allows anyone to create the
bayes_journal file, which is used to accumulate changes to the main BDB
files in several different contexts).

The _toks and _seen BDB files are actually created with the execute bits
removed.

-kgd
-- 
Get your mouse off of there!  You don't know where that email has been!

Reply via email to