Il Saturday 17 February 2007 02:05:52 Quinn Comendant ha scritto: > On Wed, 14 Feb 2007 15:14:50 +0100, Simone Lazzaris wrote: > > Hi anybody/everybody > > > > I've patched autorespond (v2.0.4, but the patch also apply to 2.0.5) > > to detect > > spam messages tagged by spamassassin; this to avoid to respond to spam > > messages. Patch is: > > [...] > > Hey Simone > > I added this patch to my autorespond (v2.0.4) and it doesn't work. All > messages are rejected, even if they're not spam. See below. Any ideas? > > Quinn
Mmmh.... the patch try to find the string "Yes" in the header starting with X-Spam-Status. Your is X-Spam-Status: No, score=-2.6 required=0.1 tests=BAYES_00,DK_POLICY_SIGNSOME, DK_POLICY_TESTING,DK_SIGNED,DK_VERIFIED autolearn=ham version=3.1.7 Received: from unknown (HELO web31008.mail.mud.yahoo.com) (68.142.200.171) by mx.strangecode.com with SMTP; 17 Feb 2007 00:48:05 -0000 Maybe it got confused because BAYES matches, as it ends with "yes". I've looked at the code and it seems that it performs a case-unsensitive test, so this can be tha case. Lets try to search for "yes," instead (note the trailing comma), as spamassassin uses always "Yes," or "No," You can modify the line number 644 adding the comma and see how it performs. -- Simone Lazzaris Interactive S.r.L.
