CFMail SMTP 连接限制
目前在 32 位 Linux 机器上使用 ColdFusion 8 enterprise 将我们的邮件发送给进行递送(中继)的第三方提供商。目前,我们在 ColdFusion 管理员中维护了邮件服务器连接检查,但他们希望我们将其每台服务器的连接限制为 5 个,我不确定是否可以让 ColdFusion 做到这一点,我很确定不能,至少不是官方的...
查看最多 4000 个/分钟的假脱机,但更有可能在 2000 个/分钟的区域。
两个问题:
- 是否有可能“破解”ColdFusion 以限制它创建和维护的连接数量(可能在 lib 或 SERVER-INF 中的某个 xml 文件中?)如果
- 不维护连接,您预计会损失多少性能?
如果有人有这方面的经验,我们将不胜感激。
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:
- 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?)
- How much performance loss would you expect from not maintaining the connections?
If anyone has any experience with this it'd be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
邮件假脱机设置中的“邮件传递线程”不执行此操作吗?
Does "Mail Delivery Threads" on the Mail spool settings not do this?
如果上面的内容没有给您想要的,那么您可以随时使用 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.