On Wednesday, March 12, 2003, at 06:55 PM, Matt Kettler wrote:


if you run
spamassassin -D --add-to-blacklist  < sample.mail

What do you get?

spamassassin --add-to-blacklist -D < ~/sample.mail
debug: Score set 0 chosen.
debug: using "/usr/share/spamassassin" for default rules dir
debug: using "/etc/mail/spamassassin" for site rules dir
debug: using "/home/craner/.spamassassin" for user state dir
debug: using "/home/craner/.spamassassin/user_prefs" for user prefs file
debug: using "/home/craner/.spamassassin" for user state dir
debug: bayes: tie-ing to DB file R/O /home/craner/.spamassassin/bayes_toks
debug: bayes: tie-ing to DB file R/O /home/craner/.spamassassin/bayes_seen
debug: debug: Only 14 spam(s) in Bayes DB < 200
debug: Score set 1 chosen.
debug: Initialising learner
debug: using "/home/craner/.spamassassin" for user state dir
debug: lock: 1944 created /home/craner/.spamassassin/auto- whitelist.lock.alvin.haskins.yale.edu.1944
debug: lock: 1944 trying to get lock on /home/craner/.spamassassin/auto-whitelist with 0 retries
debug: lock: 1944 link to /home/craner/.spamassassin/auto-whitelist.lock: link ok
debug: Tie-ing to DB file R/W in /home/craner/.spamassassin/auto-whitelist
debug: DB addr list: untie-ing and unlocking.
debug: DB addr list: file locked, breaking lock.
debug: unlock: 1944 unlink /home/craner/.spamassassin/auto-whitelist.lock
bash-2.05$ db_dump ~/.spamassassin/auto-whitelist
VERSION=3
format=bytevalue
type=hash
HEADER=END
DATA=END



Do you get a lock failure message of some sort?

Looks like lock is okay ( debug message with --add-to-whitelist appear okay and addresses are added).

I don't normally use the AWL because I'm using a site-wide type configuration, and the concept of the AWL breaks if you try handle multiple user's email on one database. (no, this isn't a bug, it's conceptually wrong to try to use the AWL that way).

How about individual user databases in conjunction with site-wide use? How else can people add a black/whitelist address to customize SA?


-------
Haskins Laboratories / (203) 865-6163 X 275 /  FAX (203) 865-8963



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to