You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by heinztomato <ol...@nocarrier.de> on 2008/06/19 17:41:23 UTC
Spamassassin doesn't learn / debug outputs
Hi there. It seems my Spamassassin does not learn very well...
I use the following statements to learn spam/ham:
/usr/bin/fetchmail -a -s -n --folder assassin/spam -m '/usr/bin/sa-learn -D
--spam' >>/var/log/assassinspam.log
/usr/bin/fetchmail -a -s -n --folder assassin/ham -m '/usr/bin/sa-learn -D
--ham' >>/var/log/assassinham.log
when watchig the logfiles the only information I get is
Learned tokens from 1 message(s) (1 message(s) examined)
Learned tokens from 0 message(s) (1 message(s) examined)
Learned tokens from 0 message(s) (1 message(s) examined)
Learned tokens from 1 message(s) (1 message(s) examined)
Learned tokens from 1 message(s) (1 message(s) examined)
No more informations to be seen even with the "-D" Parameter. Is there a way
to get more information so I can check out what is going wrong?!?
thx in advance
--
View this message in context: http://www.nabble.com/Spamassassin-doesn%27t-learn---debug-outputs-tp18011818p18011818.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
RE: Spamassassin doesn't learn / debug outputs
Posted by Giampaolo Tomassoni <g....@libero.it>.
> -----Original Message-----
> From: heinztomato [mailto:ole@nocarrier.de]
> Sent: Thursday, June 19, 2008 5:41 PM
> To: users@spamassassin.apache.org
> Subject: Spamassassin doesn't learn / debug outputs
>
>
> Hi there. It seems my Spamassassin does not learn very well...
>
> I use the following statements to learn spam/ham:
>
> /usr/bin/fetchmail -a -s -n --folder assassin/spam -m '/usr/bin/sa-
> learn -D
> --spam' >>/var/log/assassinspam.log
> /usr/bin/fetchmail -a -s -n --folder assassin/ham -m '/usr/bin/sa-learn
> -D
> --ham' >>/var/log/assassinham.log
>
> when watchig the logfiles the only information I get is
>
> Learned tokens from 1 message(s) (1 message(s) examined)
> Learned tokens from 0 message(s) (1 message(s) examined)
> Learned tokens from 0 message(s) (1 message(s) examined)
> Learned tokens from 1 message(s) (1 message(s) examined)
> Learned tokens from 1 message(s) (1 message(s) examined)
Are you training the right user?
Maybe you have to use something like:
/usr/bin/fetchmail -a -s -n --folder assassin/spam -m 'su -s /bin/sh -c
\'/usr/bin/sa-learn --spam\' - amavis' >>/var/log/assassinspam.log
or whatever user owns the "right" bayes db...
Giampaolo
> No more informations to be seen even with the "-D" Parameter. Is there
> a way
> to get more information so I can check out what is going wrong?!?
>
> thx in advance
> --
> View this message in context: http://www.nabble.com/Spamassassin-
> doesn%27t-learn---debug-outputs-tp18011818p18011818.html
> Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
Re: Spamassassin doesn't learn / debug outputs
Posted by Benny Pedersen <me...@junc.org>.
On Fredag, 20/6 2008, 12:09, heinztomato wrote:
>
> Well. Three senders of that "bad" domain made it into the users'
> (auto)whitelist.
well awl is for scoreing forged emails to possive
and non forged senders to negative
and in all that try to compensate it all to not being that will scores based
on awl_factor in the plugin
awl_factor 0 gives sender none benefit on forges
awl_factor 1 gives sender full benefit on forges
default is 0.5
> I'm not quite sure why. But now I just remove those hoping they won't appear
> there again.
i can assure your work in this area is waste :-)
Benny Pedersen
Need more webspace ? http://www.servage.net/?coupon=cust37098
Re: Spamassassin doesn't learn / debug outputs
Posted by heinztomato <ol...@nocarrier.de>.
Well. Three senders of that "bad" domain made it into the users'
(auto)whitelist.
I'm not quite sure why. But now I just remove those hoping they won't appear
there again.
Thanks for helping!
--
View this message in context: http://www.nabble.com/Spamassassin-doesn%27t-learn---debug-outputs-tp18011818p18026483.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
Re: Spamassassin doesn't learn / debug outputs
Posted by Benny Pedersen <me...@junc.org>.
On Fredag, 20/6 2008, 09:58, heinztomato wrote:
> First: The dump-data:
thats ok
> now with the link-parameter:
[1679] dbg: util: PATH included '/home/ole/bin', which doesn't exist,
>> dropping
>> [1679] dbg: util: PATH included '/home/ole/perl5/bin', which doesn't
>> exist, dropping
problems above
>> [1679] dbg: diag: module not installed: Net::Ident ('require' failed)
>> [1679] dbg: diag: module not installed: IO::Socket::INET6 ('require'
>> failed)
install
>> [1679] dbg: diag: module not installed: Mail::SPF::Query ('require'
>> failed)
>> [1679] dbg: diag: module not installed: IP::Country::Fast ('require'
>> failed)
install
>> [1679] dbg: config: read file /home/ole/.spamassassin/user_prefs
spamassassin runs entirely in your shell ?
>> [1679] warn: config: failed to parse line, skipping: SpamAssassin config
>> file for version 3.x
old config somewhere
>> [1679] warn: config: failed to parse line, skipping: use_dcc 1
search for use_dcc in your config
and see perldoc Mail::SpamAssassin::Plugin::DCC on how to make config for dcc
if you want to test for dcc make sure its configured
else remove use_dcc its a pluging now
>> [1679] warn: config: failed to parse, now a plugin, skipping: ok_languages
>> all
that is a missing plugin in a pre file
> the first command did not work. /tmp/msg is non-existing.
that was intended you to put testing msg there
Benny Pedersen
Need more webspace ? http://www.servage.net/?coupon=cust37098
Re: Spamassassin doesn't learn / debug outputs
Posted by heinztomato <ol...@nocarrier.de>.
>>sa-learn --dump magic
>>if both nham, nspam is over 200 then show me
>>
>>spamassassin 2>&1 -D -t </tmp/msg >/tmp/log
>>and maybe olso
>>spamassassin 2>&1 -D --lint >/tmp/lint
>>
>>post log and lint file somewhere
>
>
First: The dump-data:
0.000 0 3 0 non-token data: bayes db version
> 0.000 0 555 0 non-token data: nspam
> 0.000 0 7466 0 non-token data: nham
> 0.000 0 136237 0 non-token data: ntokens
> 0.000 0 1208412003 0 non-token data: oldest atime
> 0.000 0 1213945203 0 non-token data: newest atime
> 0.000 0 0 0 non-token data: last journal sync
> atime
> 0.000 0 1213942542 0 non-token data: last expiry atime
> 0.000 0 5529600 0 non-token data: last expire atime
> delta
> 0.000 0 16661 0 non-token data: last expire
> reduction count
now with the link-parameter:
[1679] dbg: logger: adding facilities: all
> [1679] dbg: logger: logging level is DBG
> [1679] dbg: generic: SpamAssassin version 3.1.7-deb
> [1679] dbg: config: score set 0 chosen.
> [1679] dbg: util: running in taint mode? yes
> [1679] dbg: util: taint mode: deleting unsafe environment variables,
> resetting PATH
> [1679] dbg: util: PATH included '/home/ole/bin', which doesn't exist,
> dropping
> [1679] dbg: util: PATH included '/home/ole/perl5/bin', which doesn't
> exist, dropping
> [1679] dbg: util: PATH included '/usr/local/bin', keeping
> [1679] dbg: util: PATH included '/usr/bin', keeping
> [1679] dbg: util: PATH included '/bin', keeping
> [1679] dbg: util: PATH included '/usr/bin/X11', keeping
> [1679] dbg: util: PATH included '/usr/games', keeping
> [1679] dbg: util: final PATH set to:
> /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
> [1679] dbg: message: ---- MIME PARSER START ----
> [1679] dbg: message: main message type: text/plain
> [1679] dbg: message: parsing normal part
> [1679] dbg: message: added part, type: text/plain
> [1679] dbg: message: ---- MIME PARSER END ----
> [1679] dbg: dns: is Net::DNS::Resolver available? yes
> [1679] dbg: dns: Net::DNS version: 0.59
> [1679] dbg: diag: perl platform: 5.008008 linux
> [1679] dbg: diag: module installed: Digest::SHA1, version 2.11
> [1679] dbg: diag: module installed: Razor2::Client::Agent, version 2.81
> [1679] dbg: diag: module not installed: Net::Ident ('require' failed)
> [1679] dbg: diag: module not installed: IO::Socket::INET6 ('require'
> failed)
> [1679] dbg: diag: module installed: IO::Socket::SSL, version 1.01
> [1679] dbg: diag: module installed: Time::HiRes, version 1.86
> [1679] dbg: diag: module installed: DBI, version 1.53
> [1679] dbg: diag: module installed: Getopt::Long, version 2.35
> [1679] dbg: diag: module installed: LWP::UserAgent, version 2.033
> [1679] dbg: diag: module installed: HTML::Parser, version 3.55
> [1679] dbg: diag: module installed: MIME::Base64, version 3.07
> [1679] dbg: diag: module installed: DB_File, version 1.814
> [1679] dbg: diag: module installed: Net::DNS, version 0.59
> [1679] dbg: diag: module installed: Net::SMTP, version 2.29
> [1679] dbg: diag: module not installed: Mail::SPF::Query ('require'
> failed)
> [1679] dbg: diag: module not installed: IP::Country::Fast ('require'
> failed)
> [1679] dbg: diag: module installed: HTTP::Date, version 1.47
> [1679] dbg: diag: module installed: Archive::Tar, version 1.30
> [1679] dbg: diag: module installed: IO::Zlib, version 1.04
> [1679] dbg: ignore: using a test message to lint rules
> [1679] dbg: config: using "/etc/spamassassin" for site rules pre files
> [1679] dbg: config: read file /etc/spamassassin/init.pre
> [1679] dbg: config: read file /etc/spamassassin/v310.pre
> [1679] dbg: config: read file /etc/spamassassin/v312.pre
> [1679] dbg: config: using "/usr/share/spamassassin" for sys rules pre
> files
> [1679] dbg: config: using "/usr/share/spamassassin" for default rules dir
> [1679] dbg: config: read file /usr/share/spamassassin/10_misc.cf
> [1679] dbg: config: read file /usr/share/spamassassin/20_advance_fee.cf
> [1679] dbg: config: read file /usr/share/spamassassin/20_anti_ratware.cf
> [1679] dbg: config: read file /usr/share/spamassassin/20_body_tests.cf
> [1679] dbg: config: read file /usr/share/spamassassin/20_compensate.cf
> [1679] dbg: config: read file /usr/share/spamassassin/20_dnsbl_tests.cf
> [1679] dbg: config: read file /usr/share/spamassassin/20_drugs.cf
> [1679] dbg: config: read file
> /usr/share/spamassassin/20_fake_helo_tests.cf
> [1679] dbg: config: read file /usr/share/spamassassin/20_head_tests.cf
> [1679] dbg: config: read file /usr/share/spamassassin/20_html_tests.cf
> [1679] dbg: config: read file /usr/share/spamassassin/20_meta_tests.cf
> [1679] dbg: config: read file /usr/share/spamassassin/20_net_tests.cf
> [1679] dbg: config: read file /usr/share/spamassassin/20_phrases.cf
> [1679] dbg: config: read file /usr/share/spamassassin/20_porn.cf
> [1679] dbg: config: read file /usr/share/spamassassin/20_ratware.cf
> [1679] dbg: config: read file /usr/share/spamassassin/20_uri_tests.cf
> [1679] dbg: config: read file /usr/share/spamassassin/23_bayes.cf
> [1679] dbg: config: read file /usr/share/spamassassin/25_accessdb.cf
> [1679] dbg: config: read file /usr/share/spamassassin/25_antivirus.cf
> [1679] dbg: config: read file /usr/share/spamassassin/25_body_tests_es.cf
> [1679] dbg: config: read file /usr/share/spamassassin/25_body_tests_pl.cf
> [1679] dbg: config: read file /usr/share/spamassassin/25_dcc.cf
> [1679] dbg: config: read file /usr/share/spamassassin/25_dkim.cf
> [1679] dbg: config: read file /usr/share/spamassassin/25_domainkeys.cf
> [1679] dbg: config: read file /usr/share/spamassassin/25_hashcash.cf
> [1679] dbg: config: read file /usr/share/spamassassin/25_pyzor.cf
> [1679] dbg: config: read file /usr/share/spamassassin/25_razor2.cf
> [1679] dbg: config: read file /usr/share/spamassassin/25_replace.cf
> [1679] dbg: config: read file /usr/share/spamassassin/25_spf.cf
> [1679] dbg: config: read file /usr/share/spamassassin/25_textcat.cf
> [1679] dbg: config: read file /usr/share/spamassassin/25_uribl.cf
> [1679] dbg: config: read file /usr/share/spamassassin/30_text_de.cf
> [1679] dbg: config: read file /usr/share/spamassassin/30_text_fr.cf
> [1679] dbg: config: read file /usr/share/spamassassin/30_text_it.cf
> [1679] dbg: config: read file /usr/share/spamassassin/30_text_nl.cf
> [1679] dbg: config: read file /usr/share/spamassassin/30_text_pl.cf
> [1679] dbg: config: read file /usr/share/spamassassin/30_text_pt_br.cf
> [1679] dbg: config: read file /usr/share/spamassassin/50_scores.cf
> [1679] dbg: config: read file /usr/share/spamassassin/60_awl.cf
> [1679] dbg: config: read file /usr/share/spamassassin/60_whitelist.cf
> [1679] dbg: config: read file /usr/share/spamassassin/60_whitelist_dk.cf
> [1679] dbg: config: read file /usr/share/spamassassin/60_whitelist_dkim.cf
> [1679] dbg: config: read file /usr/share/spamassassin/60_whitelist_spf.cf
> [1679] dbg: config: read file
> /usr/share/spamassassin/60_whitelist_subject.cf
> [1679] dbg: config: read file /usr/share/spamassassin/65_debian.cf
> [1679] dbg: config: using "/etc/spamassassin" for site rules dir
> [1679] dbg: config: read file /etc/spamassassin/local.cf
> [1679] dbg: config: using "/home/ole/.spamassassin/user_prefs" for user
> prefs file
> [1679] dbg: config: read file /home/ole/.spamassassin/user_prefs
> [1679] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
> [1679] dbg: plugin: registered
> Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x834043c)
> [1679] dbg: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
> [1679] dbg: plugin: registered
> Mail::SpamAssassin::Plugin::Hashcash=HASH(0x944918c)
> [1679] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
> [1679] dbg: plugin: registered
> Mail::SpamAssassin::Plugin::SPF=HASH(0x946d2cc)
> [1679] dbg: plugin: loading Mail::SpamAssassin::Plugin::Pyzor from @INC
> [1679] dbg: pyzor: local tests only, disabling Pyzor
> [1679] dbg: plugin: registered
> Mail::SpamAssassin::Plugin::Pyzor=HASH(0x9483b08)
> [1679] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
> [1679] dbg: razor2: local tests only, skipping Razor
> [1679] dbg: plugin: registered
> Mail::SpamAssassin::Plugin::Razor2=HASH(0x944fc44)
> [1679] dbg: plugin: loading Mail::SpamAssassin::Plugin::SpamCop from @INC
> [1679] dbg: reporter: local tests only, disabling SpamCop
> [1679] dbg: plugin: registered
> Mail::SpamAssassin::Plugin::SpamCop=HASH(0x945250c)
> [1679] dbg: plugin: loading Mail::SpamAssassin::Plugin::AWL from @INC
> [1679] dbg: plugin: registered
> Mail::SpamAssassin::Plugin::AWL=HASH(0x94dd294)
> [1679] dbg: plugin: loading Mail::SpamAssassin::Plugin::AutoLearnThreshold
> from @INC
> [1679] dbg: plugin: registered
> Mail::SpamAssassin::Plugin::AutoLearnThreshold=HASH(0x94ec418)
> [1679] dbg: plugin: loading Mail::SpamAssassin::Plugin::WhiteListSubject
> from @INC
> [1679] dbg: plugin: registered
> Mail::SpamAssassin::Plugin::WhiteListSubject=HASH(0x94f7d08)
> [1679] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEHeader from
> @INC
> [1679] dbg: plugin: registered
> Mail::SpamAssassin::Plugin::MIMEHeader=HASH(0x9505908)
> [1679] dbg: plugin: loading Mail::SpamAssassin::Plugin::ReplaceTags from
> @INC
> [1679] dbg: plugin: registered
> Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0x94fe614)
> [1679] dbg: config: adding redirector regex:
> /^http:\/\/chkpt\.zdnet\.com\/chkpt\/\w+\/(.*)$/i
> [1679] dbg: config: adding redirector regex:
> /^http:\/\/www(?:\d+)?\.nate\.com\/r\/\w+\/(.*)$/i
> [1679] dbg: config: adding redirector regex:
> /^http:\/\/.+\.gov\/(?:.*\/)?externalLink\.jhtml\?.*url=(.*?)(?:&.*)?$/i
> [1679] dbg: config: adding redirector regex:
> /^http:\/\/redir\.internet\.com\/.+?\/.+?\/(.*)$/i
> [1679] dbg: config: adding redirector regex:
> /^http:\/\/(?:.*?\.)?adtech\.de\/.*(?:;|\|)link=(.*?)(?:;|$)/i
> [1679] dbg: config: adding redirector regex:
> m'^http.*?/redirect\.php\?.*(?<=[?&])goto=(.*?)(?:$|[&#])'i
> [1679] dbg: config: adding redirector regex:
> m'^https?:/*(?:[^/]+\.)?emf\d\.com/r\.cfm.*?&r=(.*)'i
> [1679] dbg: config: adding redirector regex:
> m'/(?:index.php)?\?.*(?<=[?&])URL=(.*?)(?:$|[&#])'i
> [1679] dbg: config: adding redirector regex:
> m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/url\?.*?(?<=[?&])q=(.*?)(?:$|[&#])'i
> [1679] dbg: config: adding redirector regex:
> m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/search\?.*?(?<=[?&])q=[^&]*?(?<=%20|..[=+\s])site:(.*?)(?:$|%20|[\s+&#])'i
> [1679] dbg: config: adding redirector regex:
> m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/search\?.*?(?<=[?&])q=[^&]*?(?<=%20|..[=+\s])(?:"|%22)(.*?)(?:$|%22|["\s+&#])'i
> [1679] dbg: config: adding redirector regex:
> m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/translate\?.*?(?<=[?&])u=(.*?)(?:$|[&#])'i
> [1679] dbg: config: allowing user rules!
> [1679] warn: config: failed to parse line, skipping: SpamAssassin config
> file for version 3.x
> [1679] warn: config: failed to parse line, skipping: use_dcc 1
> [1679] warn: config: failed to parse, now a plugin, skipping: ok_languages
> all
> [1679] dbg: plugin:
> Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0x94fe614) implements
> 'finish_parsing_end'
> [1679] dbg: replacetags: replacing tags
> [1679] dbg: replacetags: done replacing tags
> [1679] dbg: bayes: tie-ing to DB file R/O
> /home/ole/.spamassassin/bayes_toks
> [1679] dbg: bayes: tie-ing to DB file R/O
> /home/ole/.spamassassin/bayes_seen
> [1679] dbg: bayes: found bayes db version 3
> [1679] dbg: bayes: DB journal sync: last sync: 0
> [1679] dbg: config: score set 2 chosen.
> [1679] dbg: message: ---- MIME PARSER START ----
> [1679] dbg: message: main message type: text/plain
> [1679] dbg: message: parsing normal part
> [1679] dbg: message: added part, type: text/plain
> [1679] dbg: message: ---- MIME PARSER END ----
> [1679] dbg: dns: is DNS available? 0
> [1679] dbg: metadata: X-Spam-Relays-Trusted:
> [1679] dbg: metadata: X-Spam-Relays-Untrusted:
> [1679] dbg: metadata: X-Spam-Relays-Internal:
> [1679] dbg: metadata: X-Spam-Relays-External:
> [1679] dbg: message: no encoding detected
> [1679] dbg: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x834043c)
> implements 'parsed_metadata'
> [1679] dbg: rules: local tests only, ignoring RBL eval
> [1679] dbg: check: running tests for priority: 0
> [1679] dbg: rules: running header regexp tests; score so far=0
> [1679] dbg: rules: ran header rule __HAS_MSGID ======> got hit: "<"
> [1679] dbg: rules: ran header rule __SANE_MSGID ======> got hit:
> "<12...@lint_rules>
> [1679] dbg: rules: "
> [1679] dbg: rules: ran header rule __MSGID_OK_HOST ======> got hit:
> "@lint_rules>"
> [1679] dbg: rules: ran header rule __MSGID_OK_DIGITS ======> got hit:
> "1213946108"
> [1679] dbg: eval: all '*From' addrs:
> ignore@compiling.spamassassin.taint.org
> [1679] dbg: eval: all '*To' addrs:
> [1679] dbg: rules: ran eval rule NO_RELAYS ======> got hit
> [1679] dbg: rules: ran eval rule __UNUSABLE_MSGID ======> got hit
> [1679] dbg: rules: running body-text per-line regexp tests; score so
> far=-0.001
> [1679] dbg: rules: ran body rule __NONEMPTY_BODY ======> got hit: "I"
> [1679] dbg: uri: running uri tests; score so far=-0.001
> [1679] dbg: bayes: DB journal sync: last sync: 0
> [1679] dbg: bayes: corpus size: nspam = 555, nham = 7467
> [1679] dbg: bayes: score = 0.559407629539367
> [1679] dbg: bayes: DB journal sync: last sync: 0
> [1679] dbg: bayes: untie-ing
> [1679] dbg: bayes: untie-ing db_toks
> [1679] dbg: bayes: untie-ing db_seen
> [1679] dbg: rules: ran eval rule BAYES_50 ======> got hit
> [1679] dbg: rules: running raw-body-text per-line regexp tests; score so
> far=0
> [1679] dbg: rules: running full-text regexp tests; score so far=0
> [1679] dbg: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x834043c)
> implements 'check_tick'
> [1679] dbg: check: running tests for priority: 500
> [1679] dbg: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x834043c)
> implements 'check_post_dnsbl'
> [1679] dbg: rules: running meta tests; score so far=0
> [1679] info: rules: meta test DIGEST_MULTIPLE has undefined dependency
> 'DCC_CHECK'
> [1679] dbg: rules: running header regexp tests; score so far=2.157
> [1679] dbg: rules: running body-text per-line regexp tests; score so
> far=2.157
> [1679] dbg: uri: running uri tests; score so far=2.157
> [1679] dbg: rules: running raw-body-text per-line regexp tests; score so
> far=2.157
> [1679] dbg: rules: running full-text regexp tests; score so far=2.157
> [1679] dbg: check: running tests for priority: 1000
> [1679] dbg: rules: running meta tests; score so far=2.157
> [1679] dbg: rules: running header regexp tests; score so far=2.157
> [1679] dbg: rules: running body-text per-line regexp tests; score so
> far=2.157
> [1679] dbg: uri: running uri tests; score so far=2.157
> [1679] dbg: rules: running raw-body-text per-line regexp tests; score so
> far=2.157
> [1679] dbg: rules: running full-text regexp tests; score so far=2.157
> [1679] dbg: check: is spam? score=2.157 required=4.5
> [1679] dbg: check:
> tests=BAYES_50,MISSING_SUBJECT,NO_RECEIVED,NO_RELAYS,TO_CC_NONE
> [1679] dbg: check:
> subtests=__HAS_MSGID,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__NONEMPTY_BODY,__SANE_MSGID,__UNUSABLE_MSGID
> [1679] warn: lint: 2 issues detected, please rerun with debug enabled for
> more information
>
the first command did not work. /tmp/msg is non-existing.
Thanks for taking time to help me
--
View this message in context: http://www.nabble.com/Spamassassin-doesn%27t-learn---debug-outputs-tp18011818p18024863.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
Re: Spamassassin doesn't learn / debug outputs
Posted by Benny Pedersen <me...@junc.org>.
On Torsdag, 19/6 2008, 18:11, heinztomato wrote:
> That helped (wrong position for 2>&1 but sometimes I surprisingly manage to
> think for myself :)
good
> So everything looks ok, but I still got mails from a sender which always get
> through.
whitelisted ?
> I saved mails from him a dozen times in spam... Is there a
> possibility that spamassassin ignores the learned data but only uses
> white/blacklists?!?
sa-learn --dump magic
if both nham, nspam is over 200 then show me
spamassassin 2>&1 -D -t </tmp/msg >/tmp/log
and maybe olso
spamassassin 2>&1 -D --lint >/tmp/lint
post log and lint file somewhere
Benny Pedersen
Need more webspace ? http://www.servage.net/?coupon=cust37098
Re: Spamassassin doesn't learn / debug outputs
Posted by heinztomato <ol...@nocarrier.de>.
Benny Pedersen wrote:
>
> seems ok :-)
>
> /usr/bin/fetchmail -a -s -n --folder assassin/spam -m '/usr/bin/sa-learn
> 2>&1
> -D --spam' >>/var/log/assassinspam.log
>
> i hope its this, not tested
>
>
That helped (wrong position for 2>&1 but sometimes I surprisingly manage to
think for myself :)
So everything looks ok, but I still got mails from a sender which always get
through. I saved mails from him a dozen times in spam... Is there a
possibility that spamassassin ignores the learned data but only uses
white/blacklists?!?
--
View this message in context: http://www.nabble.com/Spamassassin-doesn%27t-learn---debug-outputs-tp18011818p18012471.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
Re: Spamassassin doesn't learn / debug outputs
Posted by Benny Pedersen <me...@junc.org>.
On Thu, June 19, 2008 17:41, heinztomato wrote:
> /usr/bin/fetchmail -a -s -n --folder assassin/spam -m '/usr/bin/sa-learn -D
> --spam' >>/var/log/assassinspam.log
> Learned tokens from 1 message(s) (1 message(s) examined)
seems ok :-)
/usr/bin/fetchmail -a -s -n --folder assassin/spam -m '/usr/bin/sa-learn 2>&1
-D --spam' >>/var/log/assassinspam.log
i hope its this, not tested
Benny Pedersen
Need more webspace ? http://www.servage.net/?coupon=cust37098