List Info

Thread: Re: Troubleshooting Bayes




Re: Troubleshooting Bayes
country flaguser name
United States
2008-03-11 20:15:02
Open Settings, then click on your email address.

Then set the Add X-Spam: Headers when Score is >= to -999
and you get pretty
headers.

(yeah, I get to answer one!)

Dave Overton, Owner
SYIX.COM

davesyix.com
(530) 755-1751 x101
Fax (530) 751-8871
800-988-SYIX 

> -----Original Message-----
> From: maia-users-bouncesrenaissoft.com 
> [mailto:maia-users-bouncesrenaissoft.com] On Behalf
Of Kurt Buff
> Sent: Tuesday, March 11, 2008 3:01 PM
> To: maia-usersrenaissoft.com
> Subject: [Maia-users] Troubleshooting Bayes
> 
> All,
> 
> I was poking around a bit during a few spare moments,
and 
> noticed that there are no Bayes headers or scores added
to 
> incoming messages.
> 
> Everything seems to be running correctly, as I run 
> process-quarantine.pl hourly, and see no errors in the
emails 
> that come from that, but I'm not seeing the effect I'd
like 
> from Bayes scoring.
> 
> I have stuff set up in 
> /usr/local/etc/mail/spamassassin/local.cf - following
are a 
> few lines from that:
> 
>      use_bayes                           1
>      bayes_store_module
Mail::SpamAssassin::BayesStore::MySQL
>      bayes_sql_dsn DBI:mysql:maia
>      bayes_sql_username vscan
>      bayes_sql_password <password elided>
>      bayes_auto_expire                   0
>      bayes_auto_learn                    1
>      bayes_auto_learn_threshold_nonspam  -2.0
>      bayes_auto_learn_threshold_spam     10.0
> 
> Where else should I start looking to see what's going
on?
> 
> 
> Kurt
> _______________________________________________
> Maia-users mailing list
> Maia-usersrenaissoft.com
> http://www.renaissoft.com/mailman/listinfo/maia-users

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

Re: Troubleshooting Bayes
country flaguser name
United States
2008-03-12 08:25:10
For a great deal of debug without interrupting your system,
as your 
amavis user, run spamassassin --debug < test-message.eml,
and look 
through the resulting output for bayes-related stuffs.

You won't see headers added specifically for bayes, unless
you do stuffs 
(a technical term) to your amavisd-maia, however, setting
your tagging 
score like Dave mentioned should get you a scoring rules
set, and bayes 
should be there, always.

Hope that helps with a starting point.

Jacob

Dave Overton wrote:
> Open Settings, then click on your email address.
>
> Then set the Add X-Spam: Headers when Score is >= to
-999 and you get pretty
> headers.
>
> (yeah, I get to answer one!)
>
> Dave Overton, Owner
> SYIX.COM
>
> davesyix.com
> (530) 755-1751 x101
> Fax (530) 751-8871
> 800-988-SYIX 
>
>   
>> -----Original Message-----
>> From: maia-users-bouncesrenaissoft.com 
>> [mailto:maia-users-bouncesrenaissoft.com] On Behalf
Of Kurt Buff
>> Sent: Tuesday, March 11, 2008 3:01 PM
>> To: maia-usersrenaissoft.com
>> Subject: [Maia-users] Troubleshooting Bayes
>>
>> All,
>>
>> I was poking around a bit during a few spare
moments, and 
>> noticed that there are no Bayes headers or scores
added to 
>> incoming messages.
>>
>> Everything seems to be running correctly, as I run

>> process-quarantine.pl hourly, and see no errors in
the emails 
>> that come from that, but I'm not seeing the effect
I'd like 
>> from Bayes scoring.
>>
>> I have stuff set up in 
>> /usr/local/etc/mail/spamassassin/local.cf -
following are a 
>> few lines from that:
>>
>>      use_bayes                           1
>>      bayes_store_module
Mail::SpamAssassin::BayesStore::MySQL
>>      bayes_sql_dsn DBI:mysql:maia
>>      bayes_sql_username vscan
>>      bayes_sql_password <password elided>
>>      bayes_auto_expire                   0
>>      bayes_auto_learn                    1
>>      bayes_auto_learn_threshold_nonspam  -2.0
>>      bayes_auto_learn_threshold_spam     10.0
>>
>> Where else should I start looking to see what's
going on?
>>
>>
>> Kurt
>> _______________________________________________
>> Maia-users mailing list
>> Maia-usersrenaissoft.com
>> http://www.renaissoft.com/mailman/listinfo/maia-users
>>     
>
> _______________________________________________
> Maia-users mailing list
> Maia-usersrenaissoft.com
> http://www.renaissoft.com/mailman/listinfo/maia-users
>   

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

Re: Troubleshooting Bayes
country flaguser name
United States
2008-03-12 13:11:18
Dave Overton wrote:
> Sent: Tuesday, March 11, 2008 18:15
> To: maia-usersrenaissoft.com
> Subject: Re: [Maia-users] Troubleshooting Bayes
> 
> 
> Open Settings, then click on your email address.
> 
> Then set the Add X-Spam: Headers when Score is >= to
-999 and 
> you get pretty
> headers.
> 
> (yeah, I get to answer one!)

I just checked to make sure, and that setting is already
there.

For instance, the X-Spam-* headers on your message are:

   X-Spam-Status: No, hits=-0.002 tagged_above=-999
required=5
    tests=SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
   X-Spam-Level: 

And a message from my gmail account to myself only yields
the following:

   X-Spam-Status: No, hits=0 tagged_above=-999 required=5
    tests=DKIM_SIGNED=0.001, DKIM_VERIFIED=-0.001,
DK_SIGNED=0.001,
    SPF_PASS=-0.001
   X-Spam-Level: 

It's definitely possible I'm looking at something
incorrectly, but that's what I found so far.

Kurt
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

Re: Troubleshooting Bayes
country flaguser name
Netherlands
2008-03-12 14:13:10
Kurt,

When you run spamassassin -D --lint you should see some
Lines containing
diagnostic information about Bayes here's an example from my
output:

[70204] dbg: plugin:
Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0x28b67c8)
implements 'finish_parsing_end', priority 0
[70204] dbg: replacetags: replacing tags
[70204] dbg: replacetags: done replacing tags
[70204] dbg: bayes: using username: vscan
[70204] dbg: bayes: database connection established
[70204] dbg: bayes: found bayes db version 3
[70204] dbg: bayes: Using userid: 1
[70204] dbg: bayes: not available for scanning, only 54
spam(s) in bayes

As you can see i just started retraining. Can you tell me if
you see those
Lines (or Lines simular) when you run that command ?

Thank you and good luck,

Jeffrey Schilperoord

-----Oorspronkelijk bericht-----
Van: maia-users-bouncesrenaissoft.com
[mailto:maia-users-bouncesrenaissoft.com] Namens Kurt
Buff
Verzonden: woensdag 12 maart 2008 19:11
Aan: davesyix.com; maia-usersrenaissoft.com
Onderwerp: Re: [Maia-users] Troubleshooting Bayes

Dave Overton wrote:
> Sent: Tuesday, March 11, 2008 18:15
> To: maia-usersrenaissoft.com
> Subject: Re: [Maia-users] Troubleshooting Bayes
> 
> 
> Open Settings, then click on your email address.
> 
> Then set the Add X-Spam: Headers when Score is >= to
-999 and 
> you get pretty
> headers.
> 
> (yeah, I get to answer one!)

I just checked to make sure, and that setting is already
there.

For instance, the X-Spam-* headers on your message are:

   X-Spam-Status: No, hits=-0.002 tagged_above=-999
required=5
    tests=SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
   X-Spam-Level: 

And a message from my gmail account to myself only yields
the following:

   X-Spam-Status: No, hits=0 tagged_above=-999 required=5
    tests=DKIM_SIGNED=0.001, DKIM_VERIFIED=-0.001,
DK_SIGNED=0.001,
    SPF_PASS=-0.001
   X-Spam-Level: 

It's definitely possible I'm looking at something
incorrectly, but that's
what I found so far.

Kurt
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )