目前我没有发送任何电子邮件,我安装了 postfix 和 dovecot,但在 postfix 邮件队列中我几乎每分钟都会看到奇怪的电子邮件,我不知道这些垃圾邮件是从哪里产生的以及如何阻止它:
从:[电子邮件保护] 收件人:一些奇怪的意大利电子邮件
以下是其中一封电子邮件的标题:
Received from User (localhost [127.0.0.1]) by mydomain.com (Postfix) with SMTP id 0F0BD25300245; Mon, 14 Jul 2014 18:01:40 +0200 (CEST)
From "BancoPopolare"<[email protected]>
Subject BGDNGHYSIC
Date Mon, 14 Jul 2014 18.00.02 +0200
MIME-Version 1.0
Content-Type multipart/mixed; boundary="----=_NextPart_000_0078_01C2AA85.50C60CC8"
X-Priority 3
X-MSMail-Priority Normal
X-Mailer Microsoft Outlook Express 6.00.2800.1081
X-MimeOLE Produced By Microsoft MimeOLE V6.00.2800.1081
Message-Id <[email protected]>
To undisclosed-recipients:;
答案1
已解决,我需要将其添加到我的配置文件中:
smtpd_sender_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
reject_non_fqdn_sender,
reject_unknown_sender_domain,
permit