我在 Linux 服务器上运行一个小型的基于 Mailman 的邮件列表,我们收到的垃圾邮件似乎只有俄语。当然,由于这些垃圾邮件没有订阅该列表,因此会自动审核,但每次都要进入审核队列并清除审核队列,这仍然很麻烦。我能否设置一个简单的过滤器,根据某些关键字在 Mailman 查看/处理之前将收到的邮件过滤为垃圾邮件?
编辑:这是一封示例邮件
标头:
Return-Path: <[email protected]>
Received: from mail.orinigal.com (mail.orinigal.com [182.18.2.185])
by xxx(Postfix) with ESMTP id 4DB4314A45
for <xxxlists.xxx>; Mon, 27 Feb 2012 02:38:32 -0800 (PST)
Date: Mon, 27 Feb 2012 14:39:37 +0400
From: =?Windows-1251?B?z/Du4mXw6ug=?= <[email protected]>
Reply-To: =?Windows-1251?B?z/Du4mXw6ug=?= <[email protected]>
X-Priority: 3 (Normal)
Message-ID: <[email protected]>
To: [email protected] <[email protected]>
Subject: =?Windows-1251?B?w2/yb+Lo7GP/IOog73Bv4uXw6uDs?=
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----------U77289585814785"
信息:
From: "Пpактикa cиcтeмного упpaвлeния" <[email protected]>
To: [email protected] <[email protected]>
Cc:
Date: Tue, 28 Feb 2012 20:28:19 +0400
Subject: Инстpументы наведeния пopядкa в бизнесe
1 маpтa, 2012 г.
Инcтрумeнты наведeния пoрядкa
в бизнеce
или прaктика cиcтeмного упpавления
г. Kиeв, ул. Горькoго (Aнтонoвича), 172
бизнeс-центр «Пaлладиум Cити», 8 эт, oф. 817.
Тeл.: (044) 331-шeсть-чeтыре-14, 592-сeмь-пять-64
(摘录)
答案1
我只是想制定一个 procmail 配方,拒绝任何与一个或多个俄语元音匹配的邮件。