如何阻止 IIS SMTP 服务器发送退回邮件?
如何阻止“默认 SMTP 虚拟服务器”向您没有的电子邮件地址发送退回邮件?
即我使用 IIS 的 SMTP 服务器来处理我的电子邮件,如果在 mydomain.com 上发送未知的电子邮件,则会将带有“地址未知”(或类似内容)的退回电子邮件发送回发件人。 我希望它默默地失败。
How do you stop the "Default SMTP Virtual Server" from sending bounce messages for email addresses that you don't have?
i.e. I'm using IIS' SMTP server to handle my email and if an email is sent unknown at mydomain.com a bounce email with 'address not known' (or something like that) is sent back to the sender. I want it to silently fail.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
从 SMTP 的角度来看,处理此问题的更好方法是在 SMTP 事务期间的某个时刻拒绝 RCPT 请求。 这样,您的服务器就不会负责向所谓的发件人发送任何回传。
我不知道如何配置 IIS 来具体执行此操作,但您当然可以使用 Postfix (这就是我用)。
From an SMTP point of view, a better way to handle this is to reject the RCPT request at some point during the SMTP transaction. This way, your server isn't responsible for sending any blowback to the alleged sender.
I don't know how to configure IIS to do this specifically, but you certainly can with Postfix (which is what I use).
这不是 IIS 故障。 接收邮件的 SMTP 服务器正在寻找有效的电子邮件地址,如果找不到,则会向您的电子邮件地址发送一封电子邮件,说明那里没有有效的电子邮件地址。 让它默默失败的唯一方法是将发件人地址设置为虚假电子邮件,例如 [email ;受保护]等
This isn't an IIS failure. The SMTP server receiving the message is looking for a valid email address, and when it doesn't find one, sends an email back to your email address saying that there isn't one there. The only way to have it silently fail is by putting the from address as a bogus email like [email protected], etc.
我发现这篇文章其中包含一个脚本,您可以运行该脚本来在您的计算机上配置一个包罗万象的帐户服务器。 所有会生成 NDR 的电子邮件都将转至此帐户。 抱歉,我没有测试过。 上面的文章已被删除,它是通过 WayBack Machine
基本上对你的问题的简短回答是否定的。
另一方面,如果您不想花任何钱,或者没有预算,并且想要一个更好的电子邮件系统,请尝试类似 智能邮件,您最多可以免费使用 10 个用户。 我确信还有其他人,但我过去曾成功使用过 Smarter Mail。
I found this article which has a script you can run to configure a catch-all account on your server. All emails which would generate a NDR will instead be directed to this account. Sorry, I haven't tested it. The article above has been removed here it is via the WayBack Machine
Basically the short answer to your question is no.
On another note, if you don't want to spend any money, or have no budget, and want a better email system, try something like Smarter Mail which you can use for free up to 10 users. I am sure there are others out there, but I have used Smarter Mail in the past successfully.