CFMail SMTP 连接限制

发布于 2024-08-12 19:38:08 字数 393 浏览 4 评论 0原文

目前在 32 位 Linux 机器上使用 ColdFusion 8 enterprise 将我们的邮件发送给进行递送(中继)的第三方提供商。目前,我们在 ColdFusion 管理员中维护了邮件服务器连接检查,但他们希望我们将其每台服务器的连接限制为 5 个,我不确定是否可以让 ColdFusion 做到这一点,我很确定不能,至少不是官方的...

查看最多 4000 个/分钟的假脱机,但更有可能在 2000 个/分钟的区域。

两个问题:

  1. 是否有可能“破解”ColdFusion 以限制它创建和维护的连接数量(可能在 lib 或 SERVER-INF 中的某个 xml 文件中?)如果
  2. 不维护连接,您预计会损失多少性能?

如果有人有这方面的经验,我们将不胜感激。

Currently using ColdFusion 8 enterprise on 32 bit linux box to send out our mail to a third party provider who do the delivery (relay). Currently we have maintain mail server connections checked in the ColdFusion admin but they'd like us to limit the connections to each one of their servers to 5 and I'm not sure if you can make ColdFusion do that, I'm pretty sure not, at least not officially...

Looking at a max of 4000 / minute being spooled but more likely in the region of 2000 / minute.

Two questions:

  1. Is it possible to "hack" ColdFusion to limit the amount of connections it creates and maintains (in an xml file within lib or SERVER-INF somewhere maybe?)
  2. How much performance loss would you expect from not maintaining the connections?

If anyone has any experience with this it'd be appreciated.

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

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

发布评论

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

评论(2

白日梦 2024-08-19 19:38:08

邮件假脱机设置中的“邮件传递线程”不执行此操作吗?

Does "Mail Delivery Threads" on the Mail spool settings not do this?

慕巷 2024-08-19 19:38:08

如果上面的内容没有给您想要的,那么您可以随时使用 javax.mail 库。这些库为您提供了很大的灵活性,并且通常可以按照您想要的方式进行配置。当然,当您是 Java 开发人员时,此选项最有效。

if the above doesn't give you what you want, then you can always use the javax.mail libraries. Those libraries give you a lot of flexibility and can generally configure it how you want to. Of course, this option works best when your a java developer.

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