|
List Info
Thread: Spamassassin -> Bayes not working?
|
|
| Spamassassin -> Bayes not working? |
  Netherlands |
2007-10-18 12:10:20 |
Hi
ive been using maia for quite some time now and switched to
bayes in
MySQL a while ago. this all seemed to go fine, but since I
fiddled with
it bayes doesnt seem to work anymore, I dont get any bayes
headers and
also when I run spamassassin outside of amavis I dont see
any bayes
checks come up and my test messages dont get any score at
all. the whole
system is running on tripwire, razor and sare rules alone
now.
Relevant output from spamassassin -D --lint (everything I
could find on
bayes)
[10813] dbg: generic: SpamAssassin version 3.2.3
[10813] dbg: config: read file
/var/lib/spamassassin/3.002003/70_sare_bayes_poison_nxm_cf_s
are_sa-update_dostech_net.cf
[10813] dbg: plugin: loading
Mail::SpamAssassin::Plugin::Bayes from INC
[10813] dbg: bayes: using username: amavis
[10813] dbg: bayes: database connection established
[10813] dbg: bayes: found bayes db version 3
[10813] dbg: bayes: Using userid: 10
it seems spamassassin is connecting to the db fine
sa-learn --dump magic
0.000 0 3 0 non-token data:
bayes db version
0.000 0 32207 0 non-token data:
nspam
0.000 0 22869 0 non-token data:
nham
0.000 0 153536 0 non-token data:
ntokens
0.000 0 1191258345 0 non-token data:
oldest atime
0.000 0 1192642924 0 non-token data:
newest atime
0.000 0 0 0 non-token data: last
journal
sync atime
0.000 0 1192640737 0 non-token data: last
expiry atime
0.000 0 1382400 0 non-token data: last
expire
atime delta
0.000 0 2744 0 non-token data: last
expire
reduction count
this also shows sufficient tokens to at least do something
with (db was
reset after I switched to MySQL)
the X- headers from a known spam message look like this:
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
X-Virus-Scanned: Maia Mailguard 1.0.2a
X-Spam-Status: No, hits=1.61 tagged_above=1 required=5
tests=FM_PORN_A_4=1.09,
SARE_BADGIRLS=0.52
X-Spam-Level: *
there are no bayes checks in here, and not in any other
message either,
so im a bit worried.
I thought rebuilding the database would only take a short
while but
still only a few percent of the mail is being caught, and
only because
everything besides bayes is doing a good job.
today I tried to turn the old DB back on, ran some tests but
came out
with thesame result.
I have no idea how to get Bayes working again, went trough a
lot of
docs, including the one I used to set this up in the first
place, but
couldnt fix it with any one of them.
Rgds,
Michiel van den Berg
_______________________________________________
Maia-users mailing list
Maia-users renaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
|
|
| Re: Spamassassin -> Bayes not
working? |
  Netherlands |
2007-10-19 05:14:44 |
Does anyone have any idea ?
Rgds,
Michiel van den Berg
-----Oorspronkelijk bericht-----
Van: maia-users-bounces renaissoft.com
[mailto:maia-users-bounces renaissoft.com] Namens
Michiel van den Berg
Verzonden: donderdag 18 oktober 2007 19:10
Aan: Maia
Onderwerp: [Maia-users] Spamassassin -> Bayes not
working?
Hi
ive been using maia for quite some time now and switched to
bayes in
MySQL a while ago. this all seemed to go fine, but since I
fiddled with
it bayes doesnt seem to work anymore, I dont get any bayes
headers and
also when I run spamassassin outside of amavis I dont see
any bayes
checks come up and my test messages dont get any score at
all. the whole
system is running on tripwire, razor and sare rules alone
now.
Relevant output from spamassassin -D --lint (everything I
could find on
bayes)
[10813] dbg: generic: SpamAssassin version 3.2.3
[10813] dbg: config: read file
/var/lib/spamassassin/3.002003/70_sare_bayes_poison_nxm_cf_s
are_sa-updat
e_dostech_net.cf
[10813] dbg: plugin: loading
Mail::SpamAssassin::Plugin::Bayes from INC
[10813] dbg: bayes: using username: amavis
[10813] dbg: bayes: database connection established
[10813] dbg: bayes: found bayes db version 3
[10813] dbg: bayes: Using userid: 10
it seems spamassassin is connecting to the db fine
sa-learn --dump magic
0.000 0 3 0 non-token data:
bayes db version
0.000 0 32207 0 non-token data:
nspam
0.000 0 22869 0 non-token data:
nham
0.000 0 153536 0 non-token data:
ntokens
0.000 0 1191258345 0 non-token data:
oldest atime
0.000 0 1192642924 0 non-token data:
newest atime
0.000 0 0 0 non-token data: last
journal
sync atime
0.000 0 1192640737 0 non-token data: last
expiry
atime
0.000 0 1382400 0 non-token data: last
expire
atime delta
0.000 0 2744 0 non-token data: last
expire
reduction count
this also shows sufficient tokens to at least do something
with (db was
reset after I switched to MySQL)
the X- headers from a known spam message look like this:
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
X-Virus-Scanned: Maia Mailguard 1.0.2a
X-Spam-Status: No, hits=1.61 tagged_above=1 required=5
tests=FM_PORN_A_4=1.09,
SARE_BADGIRLS=0.52
X-Spam-Level: *
there are no bayes checks in here, and not in any other
message either,
so im a bit worried.
I thought rebuilding the database would only take a short
while but
still only a few percent of the mail is being caught, and
only because
everything besides bayes is doing a good job.
today I tried to turn the old DB back on, ran some tests but
came out
with thesame result.
I have no idea how to get Bayes working again, went trough a
lot of
docs, including the one I used to set this up in the first
place, but
couldnt fix it with any one of them.
Rgds,
Michiel van den Berg
_______________________________________________
Maia-users mailing list
Maia-users renaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
_______________________________________________
Maia-users mailing list
Maia-users renaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
|
|
| Re: Spamassassin -> Bayes not
working? |
  Netherlands |
2007-10-19 05:24:45 |
|
|
Hi,
Can you run amavisd with the debug-sa flag to see what happends when a mail is processed ?
Jeffrey Schilperoord
Van: maia-users-bounces renaissoft.com namens Michiel van den Berg Verzonden: vr 19-10-2007 12:14 Aan: Maia Onderwerp: Re: [Maia-users] Spamassassin -> Bayes not working?
Does anyone have any idea ?
Rgds,
Michiel van den Berg
-----Oorspronkelijk bericht----- Van: maia-users-bounces renaissoft.com [ maia-users-bounces renaissoft.com">mailto:maia-users-bounces renaissoft.com] Namens Michiel van den Berg Verzonden: donderdag 18 oktober 2007 19:10 Aan: Maia Onderwerp: [Maia-users] Spamassassin -> Bayes not working?
Hi
ive been using maia for quite some time now and switched to bayes in MySQL a while ago. this all seemed to go fine, but since I fiddled with it bayes doesnt seem to work anymore, I dont get any bayes headers and also when I run spamassassin outside of amavis I dont see any bayes checks come up and my test messages dont get any score at all. the whole
system is running on tripwire, razor and sare rules alone now.
Relevant output from spamassassin -D --lint (everything I could find on bayes)
[10813] dbg: generic: SpamAssassin version 3.2.3 [10813] dbg: config: read file /var/lib/spamassassin/3.002003/70_sare_bayes_poison_nxm_cf_sare_sa-updat e_dostech_net.cf [10813] dbg: plugin: loading Mail::SpamAssassin::Plugin::Bayes from INC
[10813] dbg: bayes: using username: amavis [10813] dbg: bayes: database connection established [10813] dbg: bayes: found bayes db version 3 [10813] dbg: bayes: Using userid: 10
it seems spamassassin is connecting to the db fine
sa-learn --dump magic 0.000 0 3 0 non-token data: bayes db version 0.000 0 32207 0 non-token data: nspam 0.000 0 22869 0 non-token data: nham 0.000 0 153536 0 non-token data: ntokens 0.000 0 1191258345 0 non-token data: oldest atime 0.000 0 1192642924 0 non-token data: newest atime 0.000 0 0 0 non-token data: last journal sync atime 0.000 0 1192640737 0 non-token data: last expiry atime 0.000 0 1382400 0 non-token data: last expire atime delta 0.000 0 2744 0 non-token data: last expire reduction count
this also shows sufficient tokens to at least do something with (db was reset after I switched to MySQL)
the X- headers from a known spam message look like this:
X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Scanned: Maia Mailguard 1.0.2a X-Spam-Status: No, hits=1.61 tagged_above=1 required=5 tests=FM_PORN_A_4=1.09, SARE_BADGIRLS=0.52 X-Spam-Level: *
there are no bayes checks in here, and not in any other message either, so im a bit worried. I thought rebuilding the database would only take a short while but still only a few percent of the mail is being caught, and only because everything besides bayes is doing a good job.
today I tried to turn the old DB back on, ran some tests but came out with thesame result. I have no idea how to get Bayes working again, went trough a lot of docs, including the one I used to set this up in the first place, but couldnt fix it with any one of them.
Rgds,
Michiel van den Berg
_______________________________________________ Maia-users mailing list Maia-users renaissoft.com http://www.renaissoft.com/mailman/listinfo/maia-users _______________________________________________ Maia-users mailing list Maia-users renaissoft.com http://www.renaissoft.com/mailman/listinfo/maia-users
|
| Re: Spamassassin -> Bayes not
working? |
  Netherlands |
2007-10-19 06:50:03 |
|
I have been running it
for a bit now on the debug-sa mode. It generates a lot of output, while reading
trough it I can find that on startup, it connects to the SQL for both bayes and
the AWL but in the mail checks I can not find anything related to bayes checks.
It does auto learn and when it runs trough that I do see sql output about
duplicate keys am assuming this is normal.
Are there any specific
lines I should look for? As I don’t have a working situation at the
moment I have no clue what lines ‘should’ be there.
Rgds,
Michiel van den Berg
Van: Jeffrey
Schilperoord [mailto:jeffrey schilperoord.org]
Verzonden: vrijdag 19 oktober 2007
12:25
Aan: Michiel van den Berg; Maia
Onderwerp: RE: [Maia-users]
Spamassassin -> Bayes not working?
Can you run amavisd with the debug-sa flag to see what
happends when a mail is processed ?
Van:
maia-users-bounces renaissoft.com namens Michiel van den Berg
Verzonden: vr 19-10-2007 12:14
Aan: Maia
Onderwerp: Re: [Maia-users] Spamassassin
-> Bayes not working?
Does
anyone have any idea ?
Rgds,
Michiel van den Berg
-----Oorspronkelijk bericht-----
Van: maia-users-bounces renaissoft.com
[ maia-users-bounces renaissoft.com">mailto:maia-users-bounces renaissoft.com]
Namens Michiel van den Berg
Verzonden: donderdag 18 oktober 2007 19:10
Aan: Maia
Onderwerp: [Maia-users] Spamassassin -> Bayes not working?
Hi
ive been using maia for quite some time now and switched to bayes in
MySQL a while ago. this all seemed to go fine, but since I fiddled with
it bayes doesnt seem to work anymore, I dont get any bayes headers and
also when I run spamassassin outside of amavis I dont see any bayes
checks come up and my test messages dont get any score at all. the whole
system is running on tripwire, razor and sare rules alone now.
Relevant output from spamassassin -D --lint (everything I could find on
bayes)
[10813] dbg: generic: SpamAssassin version 3.2.3
[10813] dbg: config: read file
/var/lib/spamassassin/3.002003/70_sare_bayes_poison_nxm_cf_sare_sa-updat
e_dostech_net.cf
[10813] dbg: plugin: loading Mail::SpamAssassin::Plugin::Bayes from INC
[10813] dbg: bayes: using username: amavis
[10813] dbg: bayes: database connection established
[10813] dbg: bayes: found bayes db version 3
[10813] dbg: bayes: Using userid: 10
it seems spamassassin is connecting to the db fine
sa-learn --dump magic
0.000
0
3 0 non-token data:
bayes db version
0.000
0
32207 0 non-token
data: nspam
0.000
0
22869 0 non-token
data: nham
0.000
0
153536 0 non-token
data: ntokens
0.000 0
1191258345 0
non-token data: oldest atime
0.000 0
1192642924 0
non-token data: newest atime
0.000
0
0 0 non-token data:
last journal
sync atime
0.000 0
1192640737 0
non-token data: last expiry
atime
0.000 0
1382400 0 non-token
data: last expire
atime delta
0.000
0
2744 0 non-token
data: last expire
reduction count
this also shows sufficient tokens to at least do something with (db was
reset after I switched to MySQL)
the X- headers from a known spam message look like this:
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
X-Virus-Scanned: Maia Mailguard 1.0.2a
X-Spam-Status: No, hits=1.61 tagged_above=1 required=5
tests=FM_PORN_A_4=1.09,
SARE_BADGIRLS=0.52
X-Spam-Level: *
there are no bayes checks in here, and not in any other message either,
so im a bit worried.
I thought rebuilding the database would only take a short while but
still only a few percent of the mail is being caught, and only because
everything besides bayes is doing a good job.
today I tried to turn the old DB back on, ran some tests but came out | |