如何阻止 IIS SMTP 服务器发送退回邮件?

发布于 2024-07-04 08:53:23 字数 157 浏览 9 评论 0原文

如何阻止“默认 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

梦途 2024-07-11 08:53:23

从 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).

¢好甜 2024-07-11 08:53:23

这不是 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.

辞慾 2024-07-11 08:53:23

我发现这篇文章其中包含一个脚本,您可以运行该脚本来在您的计算机上配置一个包罗万象的帐户服务器。 所有会生成 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文