------ Original Message ------ Received: Fri, 11 Feb 2005 11:55:10 AM EST From: Robert Menschel <[EMAIL PROTECTED]> To: FH <[EMAIL PROTECTED]>Cc: users@spamassassin.apache.org Subject: Re: Care and feeding instructions for SpamAssassin?
> Hello FH, > > Thursday, February 10, 2005, 11:48:37 AM, you wrote: > > F> Hopefully this isn't a FAQ, I looked over the list on the website and > F> while there is some useful info there I didn't see answers to all my > F> questions (or maybe I just didn't realize they were answered as this is > F> all new to me ;)) > > The major problems/questions as I read your email are FAQs, though > possibly not listed yet as FAQ on the wiki. > Thanks for the help/pointers :D So where are these other FAQs? I think I need a good crash course on how/where to setup custom rules and to make sure the learning process is doing what it is supposed to be doing. For example the dates on the /var/spool/spamassassin files (journal/seen/toks) seem to be constantly changing but the /usr/local/share/spamassassin files (what I think are the rules files) haven't changed since I installed them. I would have thought after running sa_learn they would have changed a bit. Does that sound right? I have to say I'm getting a little frustrated w/ the process/program. For example no matter how many times I dump spam w/ "Tadalafil" into the sa-learn process (and these are the messages I get not the forwarded messages I was talking about earlier) it's still not marking new messages as spam :( Help/clues/hints/suggestions from anyone/everyone are welcomed :D Thanks BTW since lint output seems to be a popular thing people ask about here's what I get, in case there's something about the way I'm running it that's not correct. In particular are those ('require' failed) messages something to be concerned about? spamassassin --lint -D debug: SpamAssassin version 3.0.2 debug: Score set 0 chosen. debug: running in taint mode? yes debug: Running in taint mode, removing unsafe env vars, and resetting PATH debug: PATH included '/usr/dt/bin', keeping. debug: PATH included '/usr/local/bin', keeping. debug: PATH included '/usr/ccs/bin', keeping. debug: PATH included '/usr/openwin/bin', keeping. debug: PATH included '/bin', keeping. debug: PATH included '/usr/bin', keeping. debug: PATH included '/usr/ucb', keeping. debug: PATH included '/usr/contrib/bin', which doesn't exist, dropping. debug: PATH included '/usr/sbin', keeping. debug: PATH included '/usr/local/sbin', keeping. debug: Final PATH set to: /usr/dt/bin:/usr/local/bin:/usr/ccs/bin:/usr/openwin/bin:/bin:/usr/bin:/usr/ucb:/usr/sbin:/usr/local/sbin debug: diag: module not installed: DBI ('require' failed) debug: diag: module installed: DB_File, version 1.810 debug: diag: module installed: Digest::SHA1, version 2.10 debug: diag: module installed: IO::Socket::UNIX, version 1.21 debug: diag: module installed: MIME::Base64, version 3.05 debug: diag: module installed: Net::DNS, version 0.48 debug: diag: module not installed: Net::LDAP ('require' failed) debug: diag: module not installed: Razor2::Client::Agent ('require' failed) debug: diag: module installed: Storable, version 2.13 debug: diag: module not installed: URI ('require' failed) debug: ignore: using a test message to lint rules debug: using "/etc/mail/spamassassin/init.pre" for site rules init.pre debug: config: read file /etc/mail/spamassassin/init.pre debug: using "/usr/local/share/spamassassin" for default rules dir debug: config: read file /usr/local/share/spamassassin/10_misc.cf debug: config: read file /usr/local/share/spamassassin/20_anti_ratware.cf debug: config: read file /usr/local/share/spamassassin/20_body_tests.cf debug: config: read file /usr/local/share/spamassassin/20_compensate.cf debug: config: read file /usr/local/share/spamassassin/20_dnsbl_tests.cf debug: config: read file /usr/local/share/spamassassin/20_drugs.cf debug: config: read file /usr/local/share/spamassassin/20_fake_helo_tests.cf debug: config: read file /usr/local/share/spamassassin/20_head_tests.cf debug: config: read file /usr/local/share/spamassassin/20_html_tests.cf debug: config: read file /usr/local/share/spamassassin/20_meta_tests.cf debug: config: read file /usr/local/share/spamassassin/20_phrases.cf debug: config: read file /usr/local/share/spamassassin/20_porn.cf debug: config: read file /usr/local/share/spamassassin/20_ratware.cf debug: config: read file /usr/local/share/spamassassin/20_uri_tests.cf debug: config: read file /usr/local/share/spamassassin/23_bayes.cf debug: config: read file /usr/local/share/spamassassin/25_body_tests_es.cf debug: config: read file /usr/local/share/spamassassin/25_hashcash.cf debug: config: read file /usr/local/share/spamassassin/25_spf.cf debug: config: read file /usr/local/share/spamassassin/25_uribl.cf debug: config: read file /usr/local/share/spamassassin/30_text_de.cf debug: config: read file /usr/local/share/spamassassin/30_text_fr.cf debug: config: read file /usr/local/share/spamassassin/30_text_nl.cf debug: config: read file /usr/local/share/spamassassin/30_text_pl.cf debug: config: read file /usr/local/share/spamassassin/50_scores.cf debug: config: read file /usr/local/share/spamassassin/60_whitelist.cf debug: using "/etc/mail/spamassassin" for site rules dir debug: config: read file /etc/mail/spamassassin/local.cf debug: using "/home/root/.spamassassin" for user state dir debug: using "/home/root/.spamassassin/user_prefs" for user prefs file debug: config: read file /home/root/.spamassassin/user_prefs debug: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC debug: plugin: registered Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x530df0) debug: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC debug: plugin: registered Mail::SpamAssassin::Plugin::Hashcash=HASH(0xbf1e6c) debug: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC debug: plugin: registered Mail::SpamAssassin::Plugin::SPF=HASH(0xaf651c) debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x530df0) implements 'parse_config' debug: plugin: Mail::SpamAssassin::Plugin::Hashcash=HASH(0xbf1e6c) implements 'parse_config' config: SpamAssassin failed to parse line, skipping: rewrite_subject 1 config: SpamAssassin failed to parse line, skipping: subject_tag Spam [_HITS_] debug: bayes: 25711 tie-ing to DB file R/O /var/spool/spamassassin/sa_toks debug: bayes: 25711 tie-ing to DB file R/O /var/spool/spamassassin/sa_seen debug: bayes: found bayes db version 3 debug: Score set 3 chosen. debug: ---- MIME PARSER START ---- debug: main message type: text/plain debug: parsing normal part debug: added part, type: text/plain debug: ---- MIME PARSER END ---- debug: metadata: X-Spam-Relays-Trusted: debug: metadata: X-Spam-Relays-Untrusted: debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x530df0) implements 'parsed_metadata' debug: is Net::DNS::Resolver available? yes debug: Net::DNS version: 0.48 debug: trying (3) sun.com... debug: looking up NS for 'sun.com' debug: NS lookup of sun.com succeeded => Dns available (set dns_available to hardcode) debug: is DNS available? 1 debug: decoding: no encoding detected debug: URIDNSBL: domains to query: debug: all '*From' addrs: [EMAIL PROTECTED] debug: Running tests for priority: 0 debug: running header regexp tests; score so far=0 debug: registering glue method for check_hashcash_double_spend (Mail::SpamAssassin::Plugin::Hashcash=HASH(0xbf1e6c)) debug: registering glue method for check_for_spf_helo_pass (Mail::SpamAssassin::Plugin::SPF=HASH(0xaf651c)) debug: SPF: message was delivered entirely via trusted relays, not required debug: registering glue method for check_hashcash_value (Mail::SpamAssassin::Plugin::Hashcash=HASH(0xbf1e6c)) debug: all '*To' addrs: debug: registering glue method for check_for_spf_softfail (Mail::SpamAssassin::Plugin::SPF=HASH(0xaf651c)) debug: SPF: message was delivered entirely via trusted relays, not required debug: registering glue method for check_for_spf_pass (Mail::SpamAssassin::Plugin::SPF=HASH(0xaf651c)) debug: registering glue method for check_for_spf_helo_softfail (Mail::SpamAssassin::Plugin::SPF=HASH(0xaf651c)) debug: registering glue method for check_for_spf_fail (Mail::SpamAssassin::Plugin::SPF=HASH(0xaf651c)) debug: registering glue method for check_for_spf_helo_fail (Mail::SpamAssassin::Plugin::SPF=HASH(0xaf651c)) debug: running body-text per-line regexp tests; score so far=-3.174 debug: running uri tests; score so far=-3.174 debug: registering glue method for check_uridnsbl (Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x530df0)) debug: bayes corpus size: nspam = 11260, nham = 32359 debug: tokenize: header tokens for *F = "U*ignore D*compiling.spamassassin.taint.org D*spamassassin.taint.org D*taint.org D*org" debug: tokenize: header tokens for *m = " 1108408685 lint_rules " debug: tokenize: header tokens for *RT = " " debug: tokenize: header tokens for *RU = " " debug: bayes token 'H*Ad:D*org' => 0.03389870558404 debug: bayes token 'somewhat' => 0.0460923486526347 debug: bayes token 'H*F:D*org' => 0.13140575611986 debug: bayes: score = 0.1090180451204 debug: bayes: 25711 untie-ing debug: bayes: 25711 untie-ing db_toks debug: bayes: 25711 untie-ing db_seen debug: Razor2 is not available debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x530df0) implements 'check_tick' debug: running raw-body-text per-line regexp tests; score so far=-5.125 debug: running full-text regexp tests; score so far=-5.125 debug: Razor2 is not available debug: Current PATH is: /usr/dt/bin:/usr/local/bin:/usr/ccs/bin:/usr/openwin/bin:/bin:/usr/bin:/usr/ucb:/usr/sbin:/usr/local/sbin debug: Pyzor is not available: pyzor not found debug: DCCifd is not available: no r/w dccifd socket found. debug: DCC is not available: no executable dccproc found. debug: Running tests for priority: 500 debug: RBL: success for 1 of 1 queries debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x530df0) implements 'check_post_dnsbl' debug: running meta tests; score so far=-5.125 debug: running header regexp tests; score so far=-3.899 debug: running body-text per-line regexp tests; score so far=-3.899 debug: running uri tests; score so far=-3.899 debug: running raw-body-text per-line regexp tests; score so far=-3.899 debug: running full-text regexp tests; score so far=-3.899 debug: Running tests for priority: 1000 debug: running meta tests; score so far=-3.899 debug: running header regexp tests; score so far=-3.899 debug: using "/home/root/.spamassassin" for user state dir debug: lock: 25711 created /home/root/.spamassassin/auto-whitelist.mutex debug: lock: 25711 trying to get lock on /home/root/.spamassassin/auto-whitelist with 30 timeout debug: lock: 25711 link to /home/root/.spamassassin/auto-whitelist.mutex: link ok debug: Tie-ing to DB file R/W in /home/root/.spamassassin/auto-whitelist debug: auto-whitelist (db-based): [EMAIL PROTECTED]|ip=none scores 0/0 debug: AWL active, pre-score: -3.899, autolearn score: -3.899, mean: undef, IP: undef debug: DB addr list: untie-ing and unlocking. debug: DB addr list: file locked, breaking lock. debug: unlock: 25711 unlocked /home/root/.spamassassin/auto-whitelist.mutex debug: Post AWL score: -3.899 debug: running body-text per-line regexp tests; score so far=-3.899 debug: running uri tests; score so far=-3.899 debug: running raw-body-text per-line regexp tests; score so far=-3.899 debug: running full-text regexp tests; score so far=-3.899 debug: is spam? score=-3.899 required=4 debug: tests=ALL_TRUSTED,BAYES_20,MISSING_HEADERS,MISSING_SUBJECT,NO_REAL_NAME debug: subtests=__HAS_MSGID,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__SANE_MSGID,__UNUSABLE_MSGID lint: 2 issues detected. please rerun with debug enabled for more information.