I want to be able to sort spam by level. If a spam has more than 12 points, I want to delete it. If it has 12 or less, I want to put it in the spam box. Problem is, Exim doesn't see the "X-Spam-Level:" header. WHY?
(Note that I have reconfigured Spam Assassin to use X's instead of *'s so that I don't have to escape the *'s in the filters.)
Here are my filters:
$h_X-Spam-Level: begins "XXXXXXXXXXXX"+++++++/dev/null
$h_X-Spam-Status: begins "Yes"[email protected]
Here is a sample message header:
From: Amanda H. <[email protected]>
Subject: Spam- get out of debt now
Date: November 15, 2003 9:39:27 PM EST
To: [email protected]
Return-Path: <[email protected]>
Envelope-To: [email protected] mydomain.com
Delivery-Date: Sun, 16 Nov 2003 02:44:44 +0000
Received: from mydomain by server1.arteryserver1.net with local-bsmtp (Exim 4.24) id 1ALCu2-0005Sk-VH for [email protected]; Sun, 16 Nov 2003 02:44:44 +0000
Received: from localhost [127.0.0.1] by server1.arteryserver1.net with SpamAssassin (2.60 1.212-2003-09-23-exp); Sun, 16 Nov 2003 02:44:44 +0000
Message-Id: <[email protected]>
X-Spam-Flag: YES
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on server1.arteryserver1.net
X-Spam-Dcc: :
X-Spam-Pyzor:
X-Spam-Status: No, hits=26.0 required=5.0 tests=BAYES_99,HTML_IMAGE_ONLY_02, HTML_MESSAGE,HTML_TAG_BALANCE_A,MAILTO_SUBJ_REMOVE,MIME_HTML_ONLY, OFFERS_ETC,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_NJABL,RCVD_IN_NJABL_SPAM, RCVD_IN_SORBS autolearn=spam version=2.60
X-Spam-Level: XXXXXXXXXXXXXXXXXXXXXXXXXX
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="----------=_3FB6E49C.D7775F2A"
(Note that I have reconfigured Spam Assassin to use X's instead of *'s so that I don't have to escape the *'s in the filters.)
Here are my filters:
$h_X-Spam-Level: begins "XXXXXXXXXXXX"+++++++/dev/null
$h_X-Spam-Status: begins "Yes"[email protected]
Here is a sample message header:
From: Amanda H. <[email protected]>
Subject: Spam- get out of debt now
Date: November 15, 2003 9:39:27 PM EST
To: [email protected]
Return-Path: <[email protected]>
Envelope-To: [email protected] mydomain.com
Delivery-Date: Sun, 16 Nov 2003 02:44:44 +0000
Received: from mydomain by server1.arteryserver1.net with local-bsmtp (Exim 4.24) id 1ALCu2-0005Sk-VH for [email protected]; Sun, 16 Nov 2003 02:44:44 +0000
Received: from localhost [127.0.0.1] by server1.arteryserver1.net with SpamAssassin (2.60 1.212-2003-09-23-exp); Sun, 16 Nov 2003 02:44:44 +0000
Message-Id: <[email protected]>
X-Spam-Flag: YES
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on server1.arteryserver1.net
X-Spam-Dcc: :
X-Spam-Pyzor:
X-Spam-Status: No, hits=26.0 required=5.0 tests=BAYES_99,HTML_IMAGE_ONLY_02, HTML_MESSAGE,HTML_TAG_BALANCE_A,MAILTO_SUBJ_REMOVE,MIME_HTML_ONLY, OFFERS_ETC,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_NJABL,RCVD_IN_NJABL_SPAM, RCVD_IN_SORBS autolearn=spam version=2.60
X-Spam-Level: XXXXXXXXXXXXXXXXXXXXXXXXXX
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="----------=_3FB6E49C.D7775F2A"
Last edited: