Theo Van Dinter <[EMAIL PROTECTED]> said: > If you put it after the --spam, the "./unham/1." will be considered an option > to -D.
That was indeed my problem. Thanks. > Verify the DBs in use, and what msgid is being learnt. The DBs and msgid are the same each time, but I am getting different journal entry counts. Here are debug excerpts: command: su spamfilter -D -c '/usr/bin/sa-learn --spam ./unham/1.' debug 1: .. debug: Syncing Bayes journal and expiring old tokens... debug: lock: 17055 created /home/spamfilter/.spamassassin/bayes.lock.cornelius.alibi.com.17055 debug: lock: 17055 trying to get lock on /home/spamfilter/.spamassassin/bayes with 0 retries debug: lock: 17055 link to /home/spamfilter/.spamassassin/bayes.lock: link ok debug: bayes: 17055 tie-ing to DB file R/W /home/spamfilter/.spamassassin/bayes_toks debug: bayes: 17055 tie-ing to DB file R/W /home/spamfilter/.spamassassin/bayes_seen debug: bayes: found bayes db version 2 debug: synced Bayes databases from journal in 0 seconds: 1293 unique entries (3429 total entries) debug: Syncing complete. .. debug: bayes: Learned '[EMAIL PROTECTED]' same command: su spamfilter -D -c '/usr/bin/sa-learn --spam ./unham/1.' debug output 2: .. debug: Syncing Bayes journal and expiring old tokens... debug: lock: 17248 created /home/spamfilter/.spamassassin/bayes.lock.cornelius.alibi.com.17248 debug: lock: 17248 trying to get lock on /home/spamfilter/.spamassassin/bayes with 0 retries debug: lock: 17248 link to /home/spamfilter/.spamassassin/bayes.lock: link ok debug: bayes: 17248 tie-ing to DB file R/W /home/spamfilter/.spamassassin/bayes_toks debug: bayes: 17248 tie-ing to DB file R/W /home/spamfilter/.spamassassin/bayes_seen debug: bayes: found bayes db version 2 debug: synced Bayes databases from journal in 0 seconds: 29 unique entries (446 total entries) debug: Syncing complete. .. debug: bayes: Learned '[EMAIL PROTECTED]' So it's the same message ID, but the journal line indicates different entry counts. What does that mean? When I attempt to forget the message, here are the results: command: su spamfilter -c '/usr/bin/sa-learn -D --forget ./unham/1.' debug output: .. debug: Syncing Bayes journal and expiring old tokens... debug: lock: 17517 created /home/spamfilter/.spamassassin/bayes.lock.cornelius.alibi.com.17517 debug: lock: 17517 trying to get lock on /home/spamfilter/.spamassassin/bayes with 0 retries debug: lock: 17517 link to /home/spamfilter/.spamassassin/bayes.lock: link ok debug: bayes: 17517 tie-ing to DB file R/W /home/spamfilter/.spamassassin/bayes_toks debug: bayes: 17517 tie-ing to DB file R/W /home/spamfilter/.spamassassin/bayes_seen debug: bayes: found bayes db version 2 debug: synced Bayes databases from journal in 0 seconds: 22 unique entries (176 total entries) debug: Syncing complete. .. debug: forget: message [EMAIL PROTECTED] not learnt, ignored Where the databases and message ID are the same, why isn't sa-learn learning anything? What do the different journal entry counts mean? Thank you for responding. /k -- Kyle Silfer Systems Manager NuCity Publications 505.346.0660 x242