Hi i have installed these custome header check into my config.

header FROM_MY_OWN_DOMAIN From =~/foo\.bar/i
score  FROM_MY_OWN_DOMAIN 0.01
header TO_MY_OWN_DOMAIN TO =~/foo\.bar/i
score TO_MY_OWN_DOMAIN 0.01
header RECEIVED_FROM_OTHER_THAN_MY_DOMAIN  Received !~/ 
\.foo\.bar|\.fw\.foo\.bar/i
#header RECEIVED_FROM_OTHER_THAN_MY_DOMAIN  Received 
!~/(server1||server2|server3|server4|server5)(\.fw)?\.foo\.bar/i
score RECEIVED_FROM_OTHER_THAN_MY_DOMAIN 0.01
meta FORGED_MY_DOMAIN ( FROM_MY_OWN_DOMAIN && TO_MY_OWN_DOMAIN && 
RECEIVED_FROM_OTHER_THAN_MY_DOMAIN)
score FORGED_MY_DOMAIN  100

when i receive mail with the following headers.

From [EMAIL PROTECTED] Thu Jan  1 01:00:00 1970
Return-Path: <[EMAIL PROTECTED]>
X-Original-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: from localhost (localhost [127.0.0.1])
        by server3.foo.bar (Postfix) with ESMTP id 9E38581F11
        for <[EMAIL PROTECTED]>; Sat, 18 Oct 2003 04:38:00 +0200 
(CEST)
Received: from server1.foo.bar (server1.foo.bar [x.y.z.z])
        by server3.foo.bar (Postfix) with ESMTP id E8C9481F10
        for <[EMAIL PROTECTED]>; Sat, 18 Oct 2003 04:37:59 +0200 
(CEST)
Received: by server1.foo.bar (Postfix)
        id D194CEE0FB; Sat, 18 Oct 2003 04:38:09 +0200 (MEST)
Delivered-To: [EMAIL PROTECTED]
Received: from foo.bar (internet.zos.sk [62.168.124.116])
        by server1.foo.bar (Postfix) with ESMTP id F1DDBEDF9D
        for <[EMAIL PROTECTED]>; Sat, 18 Oct 2003 04:38:08 +0200 (MEST)
Received: from tomas [10.1.5.4] by foo.bar with eSMTP;
        so, 18 X 2003 04:39:58 +0200
Message-ID: <[EMAIL PROTECTED]>
From: "wilfred" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Think about how much a new m.ortgage will save you!
Date: so, 18 X 2003 04:39:58 +0200
MIME-Version: 1.0
Content-Type: text/html;
  charset="ISO-8859-1"


the commented header RECEIVED_FROM_OTHER_THAN_MY_DOMAIN never match
and so the  FORGED_MY_DOMAIN is never trigered but the first one match.

what's wrong in the commented rule .

Thanks

Philippe.






-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to