Bayes is gone

Martin Hepworth martinh at SOLID-STATE-LOGIC.COM
Tue Mar 15 11:32:19 GMT 2005


Anders

in the tests - BAYES_60. so it's working fine.

Also you've got ALL_TRUSTED firing. May I suggest you read the
documentation on the SA network tests and set the internal_networks or
trusted_networks correctly.


--
Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300


Anders Kongsted wrote:
> Hi Dhawal,
>
> Our company is a support firm, with a lot of customers. The servers are
> on diff. locations. So I don't think this is a great ideas! :-) But
> thanks for your suggestion...
>
> But my problem is continues. The server don't use bayes. The debug shows
> as below:
>
> 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/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: diag: module installed: DBI, version 1.32
> debug: diag: module installed: DB_File, version 1.806
> debug: diag: module installed: Digest::SHA1, version 2.01
> debug: diag: module installed: IO::Socket::UNIX, version 1.2
> debug: diag: module installed: MIME::Base64, version 2.12
> debug: diag: module installed: Net::DNS, version 0.31
> 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.06
> debug: diag: module installed: URI, version 1.21
> 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/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: 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(0x84cd570)
> debug: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
> debug: plugin: registered
> Mail::SpamAssassin::Plugin::Hashcash=HASH(0x8c364ec)
> debug: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
> debug: plugin: registered Mail::SpamAssassin::Plugin::SPF=HASH(0x8c154d0)
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84cd570)
> implements 'parse_config'
> debug: plugin: Mail::SpamAssassin::Plugin::Hashcash=HASH(0x8c364ec)
> implements 'parse_config'
> debug: using "/root/.spamassassin" for user state dir
> debug: bayes: 861 tie-ing to DB file R/O /root/.spamassassin/bayes_toks
> debug: bayes: 861 tie-ing to DB file R/O /root/.spamassassin/bayes_seen
> debug: bayes: found bayes db version 3
> debug: using "/root/.spamassassin" for user state dir
> 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(0x84cd570)
> implements 'parsed_metadata'
> Net::DNS version is 0.31, but need 0.34dnsavailable-1 at
> /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Dns.pm line 1230.
> debug: decoding: no encoding detected
> 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(0x8c364ec))
> debug: registering glue method for check_for_spf_helo_pass
> (Mail::SpamAssassin::Plugin::SPF=HASH(0x8c154d0))
> debug: all '*From' addrs: ignore at compiling.spamassassin.taint.org
> debug: registering glue method for check_hashcash_value
> (Mail::SpamAssassin::Plugin::Hashcash=HASH(0x8c364ec))
> debug: all '*To' addrs:
> debug: registering glue method for check_for_spf_softfail
> (Mail::SpamAssassin::Plugin::SPF=HASH(0x8c154d0))
> debug: registering glue method for check_for_spf_pass
> (Mail::SpamAssassin::Plugin::SPF=HASH(0x8c154d0))
> debug: registering glue method for check_for_spf_helo_softfail
> (Mail::SpamAssassin::Plugin::SPF=HASH(0x8c154d0))
> debug: registering glue method for check_for_spf_fail
> (Mail::SpamAssassin::Plugin::SPF=HASH(0x8c154d0))
> debug: registering glue method for check_for_spf_helo_fail
> (Mail::SpamAssassin::Plugin::SPF=HASH(0x8c154d0))
> debug: running body-text per-line regexp tests; score so far=-3.174
> debug: running uri tests; score so far=-3.174
> debug: bayes corpus size: nspam = 9097, nham = 248
> 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 = "  1110885240 lint_rules "
> debug: tokenize: header tokens for *RT = " "
> debug: tokenize: header tokens for *RU = " "
> debug: bayes token 'H*F:D*org' => 0.999608806096528
> debug: bayes token 'body' => 0.998754716981132
> debug: bayes token 'somewhat' => 0.992426229508197
> debug: bayes token 'H*Ad:D*org' => 0.978
> debug: bayes: score = 0.751197816321349
> debug: bayes: 861 untie-ing
> debug: bayes: 861 untie-ing db_toks
> debug: bayes: 861 untie-ing db_seen
> debug: registering glue method for check_uridnsbl
> (Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84cd570))
> debug: Razor2 is not available
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84cd570)
> implements 'check_tick'
> debug: running raw-body-text per-line regexp tests; score so far=-2.802
> debug: running full-text regexp tests; score so far=-2.802
> debug: Razor2 is not available
> debug: Current PATH is:
> /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin
>
> 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: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84cd570)
> implements 'check_post_dnsbl'
> debug: running meta tests; score so far=-2.802
> debug: running header regexp tests; score so far=-1.576
> debug: running body-text per-line regexp tests; score so far=-1.576
> debug: running uri tests; score so far=-1.576
> debug: running raw-body-text per-line regexp tests; score so far=-1.576
> debug: running full-text regexp tests; score so far=-1.576
> debug: Running tests for priority: 1000
> debug: running meta tests; score so far=-1.576
> debug: running header regexp tests; score so far=-1.576
> debug: using "/root/.spamassassin" for user state dir
> debug: lock: 861 created
> /root/.spamassassin/auto-whitelist.lock.mail.n-k-spedition.dk.861
> debug: lock: 861 trying to get lock on
> /root/.spamassassin/auto-whitelist with 0 retries
> debug: lock: 861 link to /root/.spamassassin/auto-whitelist.lock: link ok
> debug: Tie-ing to DB file R/W in /root/.spamassassin/auto-whitelist
> debug: auto-whitelist (db-based):
> ignore at compiling.spamassassin.taint.org|ip=none scores 0/0
> debug: AWL active, pre-score: -1.576, autolearn score: -1.576, mean:
> undef, IP: undef
> debug: DB addr list: untie-ing and unlocking.
> debug: DB addr list: file locked, breaking lock.
> debug: unlock: 861 unlink /root/.spamassassin/auto-whitelist.lock
> debug: Post AWL score: -1.576
> debug: running body-text per-line regexp tests; score so far=-1.576
> debug: running uri tests; score so far=-1.576
> debug: running raw-body-text per-line regexp tests; score so far=-1.576
> debug: running full-text regexp tests; score so far=-1.576
> debug: is spam? score=-1.576 required=5
> debug:
> tests=ALL_TRUSTED,BAYES_60,MISSING_HEADERS,MISSING_SUBJECT,NO_REAL_NAME
> debug:
> subtests=__HAS_MSGID,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__SANE_MSGID,__UNUSABLE_MSGID
>
>
>
> Dhawal Doshy wrote:
>
>> Martin Hepworth wrote:
>>
>>> Anders
>>>
>>> yes. might want to do it with salearn --backup & --restore options rathe
>>> r than copy..
>>>
>>> --
>>
>>
>>
>> Umm this is where bayesSQL has a huge advantage.. force-expire, sync,
>> backups and restores are much faster (< 5 seconds).. and the fact that
>> all your servers lookup to a single bayes_db. No expired files is
>> another feature. The overhead isn't much either.
>>
>> If you are not too keen on the mysql dependency, a couple of scripts
>> will help you backup / restore to sql from various servers on a nightly
>> basis thus keeping all your dbs in sync with each other.
>>
>> - dhawal
>>
>> ------------------------ MailScanner list ------------------------
>> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
>> 'leave mailscanner' in the body of the email.
>> Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
>> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>>
>> Support MailScanner development - buy the book off the website!
>
>
>

**********************************************************************

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.

**********************************************************************

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list