Tinni wrote:
> Here my qs. is when a mail is coming to the server , suppose, for
> *user2* or many others,  will the spamassassin  check the mails for
> ham/spam with the *default* database which is bydefault set to
> *user1* ? or it will check only for the mails of *user1* ? I am
> little bit confused  here.

I don't have your original message, but IIRC you said you're calling
SpamAssassin from procmail.  This implies that you're doing so just
before the message is put into a mail folder (whether that's the inbox
for a user or elsewhere is determined by procmail).  On most mail
systems, this *also* means that mail processing is done one message at a
time, for one recipient at a time.

As I said in my first reply, if you want a single global Bayes database
you **MUST** at the very minimum put a bayes_path statement in one of
your local configuration files - local.cf is most commonly used.

When a message is processed by SA, with that bayes_path statement in
place, *ALL* Bayes activity is done on that global database.

> As i understand that individual users_prefs will supercede the
> value of the global parameter settings.

For certain settings, yes.  See the man page for
Mail::SpamAssassin::Conf for the details on which ones.

> So does this concept is for bayes database also?

IIRC, no;  bayes* options are considered "priviledged" settings.  Check
the man page on your installed SpamAssassin copy to be certain for your
usage.

> If yes, then the bayes default databaes whatever learned (spam + ham)
> for default user *user1* will not work for the other users - is this
> so?

Assuming that bayes* options are not priviledged, then yes, any user
could stick in a bayes_path statement and avoid the global database.

Otherwise, all users will refer to the global database.

> I want simply that the default  path  where i am seeing spamassassin
> is updatijng/working will be applicable for all the users.

Please see the suggestions at the bottom of my first reply, and refer to
the man page to make sure you have the settings laid out correctly for
your installed version of SA.

Those settings have been working on one of my systems for several years
now.

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

Reply via email to