User preferences don't seem to be working, and it seems to be doing
spamassassin system wide after installing cvs vpopmail and the
spamassassin.patch

Heres my config:

/etc/mail/spamassassin/local.cf -
required_hits 10
rewrite_subject 1
subject_tag [SPAM]
report_safe 0
use_dcc 0
use_pyzor 0
use_razor2 1
skip_rbl_checks 1
rbl_timeout 3
use_bayes 1
bayes_auto_learn 1
allow_user_rules 1

/etc/sysconfig/spamassassin -
SPAMDOPTIONS="-x -d -c -v -u vpopmail -D"
(Your email said to use -uvpopmail  but the default from spamassassin from
-u spamd, I changed it back and forth and I don't believe any difference)

/home/vpopmail/domains/mydomain/.qmail-default -
| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox


What I use to call spamassassin per user in .qmail - 
| spamassassin | maildir ./Maildir/

In a home dir, I have a .spamassassin/user_prefs

And in the users_prefs I have a blacklist_from [EMAIL PROTECTED] 

It did not block the email address..


And basically..when I tail /var/log/maillog (notice the -D above) I see
spamc being called for every email.. Users that don't even have a .qmail
file.. Much less calling spamassassin with it.


What am I doing wrong??  





-----Original Message-----
From: Ken Jones [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 15, 2004 7:04 AM
To: X-Istence
Cc: [EMAIL PROTECTED]
Subject: Re: [vchkpw] spamassassin patch ready ahead of schedule


On Thursday 15 January 2004 5:43 am, X-Istence wrote:
> Raboo Treed wrote:
> > what does the patch do exactly??
> >
> > calls spamc uppon mailcheck?
>
> Yes indeed, it forks, and calls spamc, gives it the message, and then
> checks the score it returns from SPAMD to then if it is over a set limit
> delete it, or otherwise it tags it and delivers it to the users maildir.

Almost but not quite. Tha'ts what the FreeBSD port patch does.
This is slightly different. 
What this does is what I posted as a proposal yesterday.
Basicly: if spamassassin is enabled, and NO_SPAMASSASSIN
bit is 0, then fork spamc, hands it the message, then puts the
resulting email in the regular file.

It does not reject the message if over a certain limit. 
All email goes through, just scanned using the users
preferences if available, otherwise the system preferences.


Ken

Reply via email to