On Thursday 15 January 2004 11:23 am, Systems Administrator wrote:
> User preferences don't seem to be working, and it seems to be doing
> spamassassin system wide after installing cvs vpopmail and the
> 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??
It might be the -x option to spamd
-x, --nouser-config Disable user config files
With this setup, no users will need a .qmail file to call spamassassin.
vdelivermail envoked from .qmail-default will call it.
For .qmail-user files in the domain's directory, you try calling spamassassin
| spamc -f [EMAIL PROTECTED] | whatever