You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Sven Hergenhahn <sv...@gmx.net> on 2005/03/03 11:20:06 UTC
whitelist_from ignored
Hi All,
I have the following problem (and it only occurs since I mistakenly upgraded spamassassin in Debian unstable and overwrote the config...)
I run spamassassin 3.0.2 as user spamfilter,
the command is:
/usr/sbin/spamd --create-prefs --max-children 5 --helper-home-dir -u spamfilter --nouser-config -d --pidfile=/var/run/spamd.pid
I keep my whitelist_from lines in
/home/spamfilter/.spamassassin/user_prefs
the file is read successfully:
spamfilter@myhost:~/.spamassassin$ spamassassin -D --lint :
debug: SpamAssassin version 3.0.2
...
debug: using "/etc/spamassassin" for site rules dir
debug: config: read file /etc/spamassassin/local.cf
debug: using "/home/spamfilter/.spamassassin" for user state dir
debug: using "/home/spamfilter/.spamassassin/user_prefs" for user prefs file
debug: config: read file /home/spamfilter/.spamassassin/user_prefs
...
debug: bayes: 6063 tie-ing to DB file R/O /home/spamfilter/.spamassassin/bayes_toks
debug: bayes: 6063 tie-ing to DB file R/O /home/spamfilter/.spamassassin/bayes_seen
debug: bayes: found bayes db version 3
...
debug: Tie-ing to DB file R/W in /home/spamfilter/.spamassassin/auto-whitelist
debug: auto-whitelist (db-based): ignore@compiling.spamassassin.taint.org|ip=none scores 0/0
debug: AWL active, pre-score: -2.361, autolearn score: -2.361, mean: undef, IP: undef
debug: running body-text per-line regexp tests; score so far=-2.361
debug: running uri tests; score so far=-2.361
debug: running raw-body-text per-line regexp tests; score so far=-2.361
debug: running full-text regexp tests; score so far=-2.361
debug: is spam? score=-2.361 required=5
debug: tests=ALL_TRUSTED,BAYES_05,MISSING_HEADERS,MISSING_SUBJECT,NO_REAL_NAME
debug: subtests=__HAS_MSGID,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__SANE_MSGID,__UNUSABLE_MSGID
but the whitelists configured in user_prefs are ignored, I cannot find USER_IN_WHITELIST in my mail headers and a score of -100 is not applied (this worked until I upgraded...).
I don't use user-configs, but keep everything together in the spamfilter account's spamassassin dir.
Any ideas how to re-activate the whitelists?
System: Debian unstable, SA scores all default
Thanks in advance,
Sven
--
Sven Hergenhahn
Heidelberg
Germany
To err is human - and to blame it on a computer is even more so.
-Robert Orben
Re: whitelist_from ignored
Posted by Sven Hergenhahn <sv...@gmx.net>.
Hi Matt,
thanks for the reply!
I changed the defaults to
/usr/sbin/spamd --create-prefs --max-children 5 --helper-home-dir -u spamfilter -d --pidfile=/var/run/spamd.pid
(removed nouser-config option) - and now it works again.
Looks like if wanting to use user whitelists, one needs to either store them in /etc/spamassassin/local.cf or - even if run as a dedicated user - you cannot switch off the nouser-config option.
That's a bit strange to me to be honest, especially as --lint shows that user_prefs of the user spamfilter is parsed...
Anyway, thanks for your help,
Sven
> >I run spamassassin 3.0.2 as user spamfilter,
> >
> >the command is:
> > /usr/sbin/spamd --create-prefs --max-children 5 --helper-home-dir -u
> > spamfilter --nouser-config -d --pidfile=/var/run/spamd.pid
> >
> >I keep my whitelist_from lines in
> >/home/spamfilter/.spamassassin/user_prefs
> >
> >the file is read successfully:
> >spamfilter@myhost:~/.spamassassin$ spamassassin -D --lint :
>
> OK, the -D --lint looks fine.. Have you tried feeding SA a message that
> should match in debug mode?
>
> spamassassin -D <test_message.txt
>
> Hack up a copy of the sample-nonspam.txt that comes with SA if you have no
> other source of email as a text file...
>
>
--
Sven Hergenhahn
Heidelberg
Germany
Computers are useless. They can only give you answers.
-Pablo Picasso
Re: whitelist_from ignored
Posted by Matt Kettler <mk...@evi-inc.com>.
At 05:20 AM 3/3/2005, Sven Hergenhahn wrote:
>I run spamassassin 3.0.2 as user spamfilter,
>
>the command is:
> /usr/sbin/spamd --create-prefs --max-children 5 --helper-home-dir -u
> spamfilter --nouser-config -d --pidfile=/var/run/spamd.pid
>
>I keep my whitelist_from lines in
>/home/spamfilter/.spamassassin/user_prefs
>
>the file is read successfully:
>spamfilter@myhost:~/.spamassassin$ spamassassin -D --lint :
OK, the -D --lint looks fine.. Have you tried feeding SA a message that
should match in debug mode?
spamassassin -D <test_message.txt
Hack up a copy of the sample-nonspam.txt that comes with SA if you have no
other source of email as a text file...