On 2/28/2016 2:18 PM, Roman Gelfand wrote:
The message header is showing

X-Spam-Status: No, score=4.4 required=5.0 tests=AWL,BAYES_99,BAYES_999,
        DCC_CHECK,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE,
        RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2
When running the following command for the same message
spamassassin -D < /mbx/mdomain.com/user1/Maildir/.Junk/cur/1456680007.M794927P6209.mbx1\,S\=12332\,W\=12592\:2\,S <http://mdomain.com/user1/Maildir/.Junk/cur/1456680007.M794927P6209.mbx1%5C,S%5C=12332%5C,W%5C=12592%5C:2%5C,S> 2> spamtest
I get
X-Spam-Status: No, score=1.5 required=5.0 tests=AWL,DCC_CHECK,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS, T_RP_MATCHES_RCVD autolearn=no version=3.3.2

1)  Why is bayes tests not included?

Presumably because you are not calling it as the same user that the mail system does. When there is no bayes hit at all, that generally indicates that the bayes db for that user has not had the minimum training needed (200 ham and 200 spam).

2) If I raise for non-bayes DCC_CHECK from 1.7 to 2.7 and bayes from 2.7 to 3.7, this test yields a scrore of 2. Why not 2.5 as I raised it by 1?

The non-bayes scores are only used when bayes is disabled. Whether it hits on a particular message is irrelevant.

--
Bowie

Reply via email to