[root@localhost spamassassin-3.0.5]# spamassassin -D -L sample-spam.txt debug: SpamAssassin version 3.0.5 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/kerberos/sbin', keeping. debug: PATH included '/usr/kerberos/bin', keeping. debug: PATH included '/usr/local/sbin', keeping. debug: PATH included '/usr/local/bin', keeping. debug: PATH included '/sbin', keeping. debug: PATH included '/bin', keeping. debug: PATH included '/usr/sbin', keeping. debug: PATH included '/usr/bin', keeping. debug: PATH included '/usr/X11R6/bin', keeping. debug: PATH included '/root/bin', which doesn't exist, dropping. debug: Final PATH set to: /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin debug: using "/etc/mail/spamassassin/init.pre" for site rules init.pre debug: config: read file /etc/mail/spamassassin/init.pre debug: using "/usr/share/spamassassin" for default rules dir debug: config: read file /usr/share/spamassassin/10_misc.cf debug: config: read file /usr/share/spamassassin/20_anti_ratware.cf debug: config: read file /usr/share/spamassassin/20_body_tests.cf debug: config: read file /usr/share/spamassassin/20_compensate.cf debug: config: read file /usr/share/spamassassin/20_dnsbl_tests.cf debug: config: read file /usr/share/spamassassin/20_drugs.cf debug: config: read file /usr/share/spamassassin/20_fake_helo_tests.cf debug: config: read file /usr/share/spamassassin/20_head_tests.cf debug: config: read file /usr/share/spamassassin/20_html_tests.cf debug: config: read file /usr/share/spamassassin/20_meta_tests.cf debug: config: read file /usr/share/spamassassin/20_phrases.cf debug: config: read file /usr/share/spamassassin/20_porn.cf debug: config: read file /usr/share/spamassassin/20_ratware.cf debug: config: read file /usr/share/spamassassin/20_uri_tests.cf debug: config: read file /usr/share/spamassassin/23_bayes.cf debug: config: read file /usr/share/spamassassin/25_body_tests_es.cf debug: config: read file /usr/share/spamassassin/25_hashcash.cf debug: config: read file /usr/share/spamassassin/25_spf.cf debug: config: read file /usr/share/spamassassin/25_uribl.cf debug: config: read file /usr/share/spamassassin/30_text_de.cf debug: config: read file /usr/share/spamassassin/30_text_fr.cf debug: config: read file /usr/share/spamassassin/30_text_nl.cf debug: config: read file /usr/share/spamassassin/30_text_pl.cf debug: config: read file /usr/share/spamassassin/50_scores.cf debug: config: read file /usr/share/spamassassin/60_whitelist.cf debug: using "/etc/mail/spamassassin" for site rules dir debug: config: read file /etc/mail/spamassassin/local.cf debug: config: read file /etc/mail/spamassassin/mailscanner.cf debug: using "/root/.spamassassin" for user state dir debug: using "/root/.spamassassin/user_prefs" for user prefs file debug: config: read file /root/.spamassassin/user_prefs debug: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC debug: plugin: registered Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xa3f9cd8) debug: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC debug: plugin: registered Mail::SpamAssassin::Plugin::Hashcash=HASH(0xaac2760) debug: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC debug: plugin: registered Mail::SpamAssassin::Plugin::SPF=HASH(0xaa9feb4) debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xa3f9cd8) implements 'parse_config' debug: plugin: Mail::SpamAssassin::Plugin::Hashcash=HASH(0xaac2760) implements 'parse_config' debug: using "/root/.spamassassin" for user state dir debug: bayes: no dbs present, cannot tie DB R/O: /root/.spamassassin/bayes_toks debug: Score set 0 chosen. debug: bayes: no dbs present, cannot tie DB R/O: /root/.spamassassin/bayes_toks debug: metadata: X-Spam-Relays-Trusted: debug: metadata: X-Spam-Relays-Untrusted: debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xa3f9cd8) implements 'parsed_metadata' debug: is DNS available? 0 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: decoding: other encoding type (7bit), ignoring 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(0xaac2760)) debug: all '*From' addrs: sender@example.net debug: registering glue method for check_hashcash_value (Mail::SpamAssassin::Plugin::Hashcash=HASH(0xaac2760)) debug: all '*To' addrs: recipient@example.net debug: running body-text per-line regexp tests; score so far=-0.001 debug: running uri tests; score so far=999.999 debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xa3f9cd8) implements 'check_tick' debug: running raw-body-text per-line regexp tests; score so far=999.999 debug: running full-text regexp tests; score so far=999.999 debug: Running tests for priority: 500 debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xa3f9cd8) implements 'check_post_dnsbl' debug: running meta tests; score so far=999.999 debug: running header regexp tests; score so far=999.998 debug: running body-text per-line regexp tests; score so far=999.998 debug: running uri tests; score so far=999.998 debug: running raw-body-text per-line regexp tests; score so far=999.998 debug: running full-text regexp tests; score so far=999.998 debug: Running tests for priority: 1000 debug: running meta tests; score so far=999.998 debug: running header regexp tests; score so far=999.998 debug: running body-text per-line regexp tests; score so far=999.998 debug: running uri tests; score so far=999.998 debug: running raw-body-text per-line regexp tests; score so far=999.998 debug: running full-text regexp tests; score so far=999.998 debug: auto-learn: currently using scoreset 0. debug: auto-learn: message score: 999.998, computed score for autolearn: 0 debug: auto-learn? ham=0.1, spam=12, body-points=0, head-points=0, learned-points=0 debug: auto-learn? yes, ham (0 < 0.1) debug: Learning Ham debug: all '*From' addrs: sender@example.net debug: all '*To' addrs: recipient@example.net debug: lock: 3904 created /root/.spamassassin/bayes.mutex debug: lock: 3904 trying to get lock on /root/.spamassassin/bayes with 10 timeout debug: lock: 3904 link to /root/.spamassassin/bayes.mutex: link ok debug: bayes: 3904 tie-ing to DB file R/W /root/.spamassassin/bayes_toks debug: bayes: 3904 tie-ing to DB file R/W /root/.spamassassin/bayes_seen debug: bayes: found bayes db version 0 debug: bayes: new db, set db version 3 and 0 tokens debug: tokenize: header tokens for *M = " GTUBE1 1010101 example net " debug: tokenize: header tokens for *F = "U*sender D*example.net D*net" debug: tokenize: header tokens for To = "U*recipient D*example.net D*net" debug: tokenize: header tokens for Precedence = " junk" debug: tokenize: header tokens for MIME-Version = " " debug: tokenize: header tokens for *c = " /plain; charset=us-ascii" debug: tokenize: header tokens for Content-Transfer-Encoding = " 7bit" debug: tokenize: header tokens for *RT = " " debug: tokenize: header tokens for *RU = " " debug: bayes: Learned '15b2b262a6ed121f3c1dcb5561dd69dc254dfad8@sa_generated', atime: 1058995800 debug: bayes: 3904 untie-ing debug: bayes: 3904 untie-ing db_toks debug: bayes: 3904 untie-ing db_seen debug: bayes: files locked, now unlocking lock debug: unlock: 3904 unlocked /root/.spamassassin/bayes.mutex debug: is spam? score=999.998 required=5 debug: tests=GTUBE,NO_RECEIVED,NO_RELAYS debug: subtests=__CT,__CTE,__CT_TEXT_PLAIN,__HAS_MSGID,__HAS_SUBJECT,__MIME_VERSION,__MSGID_OK_HOST,__SANE_MSGID,__UNUSABLE_MSGID Subject: [SPAM] Test spam mail (GTUBE) Message-ID: Date: Wed, 23 Jul 2003 23:30:00 +0200 From: Sender To: Recipient Precedence: junk MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Prev-Subject: Test spam mail (GTUBE) X-Spam-Flag: YES X-Spam-Checker-Version: SpamAssassin 3.0.5 (2005-11-28) on localhost.localdomain X-Spam-Level: ************************************************** X-Spam-Status: Yes, score=1000.0 required=5.0 tests=GTUBE,NO_RECEIVED, NO_RELAYS autolearn=ham version=3.0.5 X-Spam-Report: * -0.0 NO_RELAYS Informational: message was not relayed via SMTP * 1000 GTUBE BODY: Generic Test for Unsolicited Bulk Email * -0.0 NO_RECEIVED Informational: message has no Received headers This is the GTUBE, the Generic Test for Unsolicited Bulk Email If your spam filter supports it, the GTUBE provides a test by which you can verify that the filter is installed correctly and is detecting incoming spam. You can send yourself a test mail containing the following string of characters (in upper case and with no white spaces and line breaks): XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X You should send this test mail from an account outside of your network. [root@localhost spamassassin-3.0.5]#