I've tried to set up spamassissin approximately as described in
http://wiki.apache.org/spamassassin/SiteWideBayesSetup.

When my users (only 5 of us) receive a spam we redirect it to
[EMAIL PROTECTED] Periodically I do a "sa-learn --showdots --mbox --spam
/home/spam/mbox" from root.

Spamassassin's local.cf contains:
required_hits 5
rewrite_subject 1
subject_tag [SPAM]
report_safe 0
bayes_path /etc/mail/spamassassin/bayes/bayes
bayes_file_mode 0777
use_bayes 1

And each user has a .procmailrc with contents
MAILDIR=$HOME/mail

:0 H
* ^X-Spam-Status: Yes
{
EXITCODE=67
:0:
spam
}

This all seems to work OK, with most spams successfully being marked as
[SPAM] (for BAYES_99) and then dumped in user's spam folder.

However, when I occasionally visit the mbox of user "spam", I find that
many more mails are identified as [SPAM] than are at the users' own
mboxes.

i.e. User "fred" sees spam which is NOT identified as [SPAM], he redirects
it to user "spam" and, for user "spam" it IS identified as [SPAM].

So, my question is, why is filtering working better for user "spam" than
for the other users? And how do I get the other users' mboxes filtered so
well as user "spam"?

Thanks in anticipation.

Reply via email to