在 Windows Server 2008 上限制电子邮件的最佳方法

发布于 2024-07-29 23:09:20 字数 263 浏览 3 评论 0原文

我有一个为我的网站的出站电子邮件设置了 SMTP 的服务器。 为了不被列入黑名单,我想将出站电子邮件限制在任意阈值以下(假设每小时 500 封)。 实现这一点的最佳方法是什么?

我看到的两种可能性是:

1)SMTP 虚拟服务器内的某种出站限制(不确定在不在成熟的 Exchange 服务器上时是否可能)

2)创建一个 Windows 服务来轮询数据库表中的电子邮件,处理前 N 个结果,然后休眠 X 分钟。

这些是最好的方法吗?

I have a server with SMTP set up for my site's outbound email. In order to not get blacklisted I'd like to limit outbound emails to under an arbitrary threshold (let's say 500 per hour). What's the best way to implement this?

The two possibilities I see would be:

1) Some sort of outbound throttling within the SMTP Virtual Server (Not sure if this is possible when not on a full fledged Exchange Server)

2) Create a windows service that polls a database table for emails, processes the TOP N results and then sleeps for X Minutes.

Are either of these the best approach?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

许一世地老天荒 2024-08-05 23:09:24

只需编写一个存储过程来处理前 N 个结果,并安排该存储过程以频繁的时间间隔运行。

Just write a stored procedure to process the top N results and schedule the stored procedure to run at frequent intervals.

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