Email

Spamassassin 過濾器系統地為垃圾郵件生成負 (ham) 分數

  • September 14, 2014

我有很多垃圾郵件的問題。我的伺服器設置是帶有 CentOS 6.5 和 Dovecot+Postfix+Spamassassin 的 VPS。

以下是其中一條消息的來源:

Return-Path: <nancy_mitchell@tagbook.co.nz>
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on xxxxxx.xx
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 required=3.0 tests=HTML_MESSAGE,
   HTML_MIME_NO_HTML_TAG,MIME_HTML_ONLY,RP_MATCHES_RCVD,URIBL_BLOCKED
   autolearn=ham version=3.3.1
Delivered-To: mail@xxxxxx.xx
Received: by mx.xxxxxx.xx (Postfix, from userid 5001)
   id 584194399E; Sun, 14 Sep 2014 04:34:03 +0200 (CEST)
Received: from tagbook.co.nz (tagbook.co.nz [119.47.112.73])
   by mx.xxxxxx.xx (Postfix) with ESMTP id 6089C43119
   for <mail@xxxxxx.xx>; Sun, 14 Sep 2014 04:33:59 +0200 (CEST)
Date: Sun, 14 Sep 2014 14:33:56 +1200
From: "Nancy Mitchell" <nancy_mitchell@tagbook.co.nz>
Reply-To:"Nancy Mitchell" <nancy_mitchell@tagbook.co.nz>
Message-ID: <59a5f3f-c3c7f-b8@tagbook.co.nz>
To: mail@xxxxxx.xx
Subject: RE:  Lol adooya
X-Priority: 3 (Normal)
MIME-Version: 1.0
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit


<h2><a href="http://www.dirtymath.co.kr/data/question/g0702/login.html?ZGpwQmRqcGxndixndw==">adooya</a></h2>
<div> The  artifact  was instantly forgotten-as I hoped, although  it  took
</div>

如您所見,此郵件的垃圾郵件分數僅為-0.5。任何人有任何想法,這個怎麼辦?這很煩人。

關閉一些 spamassassin 測試

根據我在上述測試中的 SA 配置,只會RP_MATCHES_RCVD產生負分(火腿指標)。RP_MATCHES_RCVD得分在 -1.5 和 -0.5 之間(本地/網路,有貝氏/沒有貝氏)。

您可以考慮按照 中所述關閉測試man Mail::SpamAssassin::Conf

~/.spamassassin/user_prefs

score RP_MATCHES_RCVD 0

安裝 DCC、Pyzor 和 Razor2。這顯著改善了檢測。如果您仍然收到垃圾郵件,請編寫一些元規則(例如 DCC + 黑名單 = +2 分)。我使用該方法每週阻止 300 多封垃圾郵件,準確率超過 99%。

引用自:https://serverfault.com/questions/628398