过滤中文主题的垃圾邮件

过滤中文主题的垃圾邮件

客户有大量的中文垃圾邮件。所有垃圾邮件都与此类似:

Return-Path: <[email protected]>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
    hotel492.dedicatedpanel.com
X-Spam-Level: ***
X-Spam-Status: No, score=3.2 required=5.0 tests=BAYES_50,
    FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FROM_LOCAL_DIGITS,FROM_LOCAL_HEX,
    RCVD_IN_RP_RNBL,RDNS_NONE,SPF_FAIL,SPF_HELO_FAIL,UNPARSEABLE_RELAY
    autolearn=no autolearn_force=no version=3.4.0
Delivered-To: [email protected]
Received: from qq.com (unknown [117.63.78.83])
    by mail.MYSERVER.com (Postfix) with SMTP id E99E441FF0E23
    for <[email protected]>; Mon, 12 Feb 2018 01:28:59 +0100 (CET)
Received: from qq.com (unknown (210.16.9.24])
     by qq.com with SMTP id a96dedeb-c1f9-4f5b-b79c-0ff8b77d40e4;
     for <[email protected]>;Mon, 12 Feb 2018 08:28:46 +08:00
Message-ID: <[email protected]>
From: "=?utf-8?B?55m96Im+6KeC?=" <[email protected]>
To: <[email protected]>
Subject: =?utf-8?B?5ZOI5Za977yB546w6YKA5oKo6aKGMzjlnIYg6K+35Zyo44CQMzM0OTQ454K5Y29t?=
    =?utf-8?B?44CR5rOo5YaMVklQIOivpuaDheS8gem5heS4k+WRmOOAkDI3MjAwMDUz?=
    =?utf-8?B?MzfjgJHlkqjor6JWSVDlkajlkajpooblt6XotYQg5L+456aE5pyI5pyI?=
    =?utf-8?B?5ou/IOWkqeWkqemDveaciee6ouWMhembqCDlrp7lipvlubPlj7Ag5Ye65qy+?=
    =?utf-8?B?5a6J5YWo5L+d6Zqc?=
Date: Mon, 12 Feb 2018 08:28:46 +0800
MIME-Version: 1.0
Content-Type: text/plain;
    charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Disposition-Notification-To: [email protected]

电子邮件没有正文,并且每次的主题都不同。qq.com 也不出现在所有电子邮件中。

我尝试使用 spamassassin 来阻止,但是它做不了什么,所以我决定使用 sieve 将所有包含中文/日文/韩文字符集的电子邮件移动到不同的文件夹中。

这可能吗?

更新

尝试了以下变体,均不起作用。

if body :raw :contains "ubject: =?utf-8?B?" {
    fileinto "Junk";
}

答案1

你应该封锁在https://intodns.com/qq.com

以下是我已阻止的 IP 列表,但您应该时不时地检查一下,因为 IP 会不断更改/添加:

101.226.68.138
14.17.19.139
101.227.169.106 
182.140.167.157
182.140.177.149 
123.151.178.115
125.39.247.247
184.105.206.124
203.205.144.156
87.243.6.138  
87.243.6.136 

MX
184.105.206.32 
184.105.206.30 
184.105.206.31 
184.105.206.86 
184.105.206.85 
184.105.206.82 
103.7.30.40
203.205.176.244
203.205.176.240

他们仍会来,但至少他们会直接进入队列并最终进入垃圾桶。

相关内容