You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by David Reta <Da...@Narus.com> on 2006/09/11 19:26:23 UTC

Bayes Test runs sometimes and sometimes it doesn't

I am running spamassassin 3.1.5 which is being called from mimedefang. I
am using bayes over nfs which is shared between 2 mail relays. 

 

We have been having some issues with some spam getting through. I did
some investigating and found out that the spam that is getting through
is not running the bayes test. Even if nothing in the bayes database is
found shouldn't at least BAYES_00 show up? 

 

Do you think maybe that the bayes might be timing out? If so how can the
timeout be increased. Any ideas will help.

 

Here is the output of the MSG.0 file from the quarantined message. As
you can see the bayes test is not run. I ran the message manually as the
same user that runs mimedefang which is shown right after and the Bayes
test is run.

 

Content analysis details:   (36.8 points, 4.0 required)

 

 pts rule name              description

---- ----------------------
--------------------------------------------------

 2.7 SUBJECT_SEXUAL         Subject indicates sexually-explicit content

 1.5 RCVD_NUMERIC_HELO      Received: contains an IP address used for
HELO

 0.0 UNPARSEABLE_RELAY      Informational: message has unparseable relay
lines

 1.8 FORGED_YAHOO_RCVD      'From' yahoo.com does not match 'Received'
headers

 0.5 PORN_15                BODY: Possible porn - various types of
feline

 1.5 RAZOR2_CF_RANGE_E8_51_100 Razor2 gives engine 8 confidence level

                            above 50%

                            [cf: 100]

 0.5 RAZOR2_CHECK           Listed in Razor2 (http://razor.sf.net/)

 0.5 RAZOR2_CF_RANGE_51_100 Razor2 gives confidence level above 50%

                            [cf: 100]

 0.2 DNS_FROM_RFC_ABUSE     RBL: Envelope sender in
abuse.rfc-ignorant.org

 1.4 DNS_FROM_RFC_WHOIS     RBL: Envelope sender in
whois.rfc-ignorant.org

 2.2 RCVD_IN_WHOIS_INVALID  RBL: CompleteWhois: sender on invalid IP
block

            [61.75.153.64 listed in
combined-HIB.dnsiplists.completewhois.com]

 3.9 RCVD_IN_XBL            RBL: Received via a relay in Spamhaus XBL

                            [61.75.153.64 listed in
sbl-xbl.spamhaus.org]

 1.7 DNS_FROM_RFC_POST      RBL: Envelope sender in

                            postmaster.rfc-ignorant.org

 1.6 URIBL_SBL              Contains an URL listed in the SBL blocklist

                            [URIs: chags.ph]

 3.8 URIBL_AB_SURBL         Contains an URL listed in the AB SURBL
blocklist

                            [URIs: chags.ph]

 4.1 URIBL_JP_SURBL         Contains an URL listed in the JP SURBL
blocklist

                            [URIs: chags.ph]

 2.1 URIBL_WS_SURBL         Contains an URL listed in the WS SURBL
blocklist

                            [URIs: chags.ph]

 4.5 URIBL_SC_SURBL         Contains an URL listed in the SC SURBL
blocklist

                            [URIs: chags.ph]

 2.1 REPTO_QUOTE_YAHOO      Yahoo! doesn't do quoting like this

 

Run manually as same user

 

Content analysis details:   (30.8 points, 4.0 required)

 

 pts rule name              description

---- ----------------------
--------------------------------------------------

 2.7 SUBJECT_SEXUAL         Subject indicates sexually-explicit content

 0.0 UNPARSEABLE_RELAY      Informational: message has unparseable relay
lines

 1.8 FORGED_YAHOO_RCVD      'From' yahoo.com does not match 'Received'
headers

 0.5 PORN_15                BODY: Possible porn - various types of
feline

 5.0 BAYES_99               BODY: Bayesian spam probability is 99 to
100%

                            [score: 1.0000]

 1.5 RAZOR2_CF_RANGE_E8_51_100 Razor2 gives engine 8 confidence level

                            above 50%

                            [cf: 100]

 0.5 RAZOR2_CHECK           Listed in Razor2 (http://razor.sf.net/)

 0.5 RAZOR2_CF_RANGE_51_100 Razor2 gives confidence level above 50%

                            [cf: 100]

 1.6 URIBL_SBL              Contains an URL listed in the SBL blocklist

                            [URIs: razwe.li]

 3.8 URIBL_AB_SURBL         Contains an URL listed in the AB SURBL
blocklist

                            [URIs: chags.ph]

 4.1 URIBL_JP_SURBL         Contains an URL listed in the JP SURBL
blocklist

                            [URIs: chags.ph razwe.li]

 2.1 URIBL_WS_SURBL         Contains an URL listed in the WS SURBL
blocklist

                            [URIs: chags.ph razwe.li]

 4.5 URIBL_SC_SURBL         Contains an URL listed in the SC SURBL
blocklist

                            [URIs: chags.ph]

 2.1 REPTO_QUOTE_YAHOO      Yahoo! doesn't do quoting like this

 

Thanks,
David



This email and attachments may contain Narus, Inc. confidential material. If you are not the intended recipient, contact the sender immediately and delete all instances of this email and attachments.


Re: Bayes Test runs sometimes and sometimes it doesn't

Posted by Matt Kettler <mk...@comcast.net>.
David Reta wrote:
>
> I am running spamassassin 3.1.5 which is being called from mimedefang.
> I am using bayes over nfs which is shared between 2 mail relays.
>
Not that it's causing your problem.. but Ouch. Why share over NFS? use a
mysql database, you'll get substantially better performance, and fewer
opportunities for database corruption.
>
> We have been having some issues with some spam getting through. I did
> some investigating and found out that the spam that is getting through
> is not running the bayes test. Even if nothing in the bayes database
> is found shouldn’t at least BAYES_00 show up?
>
> Do you think maybe that the bayes might be timing out? If so how can
> the timeout be increased. Any ideas will help.
>
No, there's no such thing as a bayes timeout that would affect message
scanning. Autolearning, yes.. scanning, no.
>
> Here is the output of the MSG.0 file from the quarantined message. As
> you can see the bayes test is not run. I ran the message manually as
> the same user that runs mimedefang which is shown right after and the
> Bayes test is run.
>

In general, your problem sounds very much like the two runs are getting
their bayes DBs from different spots.

Be sure to check mimedefang specific files like sa-mimedefang.cf for
explicit bayes_path declarations.
If there is one, it will cause mimedefang to use a different bayes DB
than any other SA command-line tools are using, as they will not parse
this file.

Put your site-wide configuration options in local.cf, not sa-mimedefang.cf




Re: Bayes Test runs sometimes and sometimes it doesn't

Posted by jdow <jd...@earthlink.net>.
I am thinking BAYES is not even trained or that you have it turned off
in some configuration somewhere.

{^_^}
----- Original Message ----- 
From: "David Reta" <Da...@Narus.com>


I am running spamassassin 3.1.5 which is being called from mimedefang. I
am using bayes over nfs which is shared between 2 mail relays.



We have been having some issues with some spam getting through. I did
some investigating and found out that the spam that is getting through
is not running the bayes test. Even if nothing in the bayes database is
found shouldn't at least BAYES_00 show up?



Do you think maybe that the bayes might be timing out? If so how can the
timeout be increased. Any ideas will help.



Here is the output of the MSG.0 file from the quarantined message. As
you can see the bayes test is not run. I ran the message manually as the
same user that runs mimedefang which is shown right after and the Bayes
test is run.



Content analysis details:   (36.8 points, 4.0 required)



 pts rule name              description

---- ----------------------
--------------------------------------------------

 2.7 SUBJECT_SEXUAL         Subject indicates sexually-explicit content

 1.5 RCVD_NUMERIC_HELO      Received: contains an IP address used for
HELO

 0.0 UNPARSEABLE_RELAY      Informational: message has unparseable relay
lines

 1.8 FORGED_YAHOO_RCVD      'From' yahoo.com does not match 'Received'
headers

 0.5 PORN_15                BODY: Possible porn - various types of
feline

 1.5 RAZOR2_CF_RANGE_E8_51_100 Razor2 gives engine 8 confidence level

                            above 50%

                            [cf: 100]

 0.5 RAZOR2_CHECK           Listed in Razor2 (http://razor.sf.net/)

 0.5 RAZOR2_CF_RANGE_51_100 Razor2 gives confidence level above 50%

                            [cf: 100]

 0.2 DNS_FROM_RFC_ABUSE     RBL: Envelope sender in
abuse.rfc-ignorant.org

 1.4 DNS_FROM_RFC_WHOIS     RBL: Envelope sender in
whois.rfc-ignorant.org

 2.2 RCVD_IN_WHOIS_INVALID  RBL: CompleteWhois: sender on invalid IP
block

            [61.75.153.64 listed in
combined-HIB.dnsiplists.completewhois.com]

 3.9 RCVD_IN_XBL            RBL: Received via a relay in Spamhaus XBL

                            [61.75.153.64 listed in
sbl-xbl.spamhaus.org]

 1.7 DNS_FROM_RFC_POST      RBL: Envelope sender in

                            postmaster.rfc-ignorant.org

 1.6 URIBL_SBL              Contains an URL listed in the SBL blocklist

                            [URIs: chags.ph]

 3.8 URIBL_AB_SURBL         Contains an URL listed in the AB SURBL
blocklist

                            [URIs: chags.ph]

 4.1 URIBL_JP_SURBL         Contains an URL listed in the JP SURBL
blocklist

                            [URIs: chags.ph]

 2.1 URIBL_WS_SURBL         Contains an URL listed in the WS SURBL
blocklist

                            [URIs: chags.ph]

 4.5 URIBL_SC_SURBL         Contains an URL listed in the SC SURBL
blocklist

                            [URIs: chags.ph]

 2.1 REPTO_QUOTE_YAHOO      Yahoo! doesn't do quoting like this



Run manually as same user



Content analysis details:   (30.8 points, 4.0 required)



 pts rule name              description

---- ----------------------
--------------------------------------------------

 2.7 SUBJECT_SEXUAL         Subject indicates sexually-explicit content

 0.0 UNPARSEABLE_RELAY      Informational: message has unparseable relay
lines

 1.8 FORGED_YAHOO_RCVD      'From' yahoo.com does not match 'Received'
headers

 0.5 PORN_15                BODY: Possible porn - various types of
feline

 5.0 BAYES_99               BODY: Bayesian spam probability is 99 to
100%

                            [score: 1.0000]

 1.5 RAZOR2_CF_RANGE_E8_51_100 Razor2 gives engine 8 confidence level

                            above 50%

                            [cf: 100]

 0.5 RAZOR2_CHECK           Listed in Razor2 (http://razor.sf.net/)

 0.5 RAZOR2_CF_RANGE_51_100 Razor2 gives confidence level above 50%

                            [cf: 100]

 1.6 URIBL_SBL              Contains an URL listed in the SBL blocklist

                            [URIs: razwe.li]

 3.8 URIBL_AB_SURBL         Contains an URL listed in the AB SURBL
blocklist

                            [URIs: chags.ph]

 4.1 URIBL_JP_SURBL         Contains an URL listed in the JP SURBL
blocklist

                            [URIs: chags.ph razwe.li]

 2.1 URIBL_WS_SURBL         Contains an URL listed in the WS SURBL
blocklist

                            [URIs: chags.ph razwe.li]

 4.5 URIBL_SC_SURBL         Contains an URL listed in the SC SURBL
blocklist

                            [URIs: chags.ph]

 2.1 REPTO_QUOTE_YAHOO      Yahoo! doesn't do quoting like this



Thanks,
David



This email and attachments may contain Narus, Inc. confidential material. If you are not 
the intended recipient, contact the sender immediately and delete all instances of this 
email and attachments.