本地 SMTP 服务器不会从 rcpthosts 问题的 cfmail b/c 发送电子邮件

发布于 2024-09-08 00:42:35 字数 718 浏览 6 评论 0原文

我们已经将几个旧的 ColdFusion 站点从rackspace 移植到viviotech,除了使用cfmail 标签发送电子邮件之外,它们都工作正常。查看 CF mail.log 时,每次尝试都会包含以下错误消息:

“Error”、“scheduler-0”、“07/01/10”、“06:31:22”、、“无效地址;嵌套异常为: class javax.mail.SendFailedException: 553 抱歉,该域不在我允许的 rcpthosts 列表中(#5.5.3 - chkuser)“

但是,查看 rcpthosts 文件,该域确实存在于”中使用的域from”cfmail 的属性。进入 CF 管理中心,您可以设置 SMTP 服务器并验证连接。我已经尝试了 127.0.0.1 以及服务器的实际 IP——两者都验证为成功连接,但我仍然无法发送电子邮件。旧服务器对此工作得很好(尽管rackspace不支持CF,但vivio支持IS)。

我已经得到的一个建议是使用 user:[email protected] 构造,但我不想这样做,因为这些域都不是可靠的永久域 - 如果可能的话,我们希望在明年将大部分或全部站点更改为 PHP。我只是希望能够不受限制地使用本地 SMTP,就像我在以前的服务器上一样。

We've ported several legacy ColdFusion sites from rackspace to viviotech, and they all work fine except for sending email using the cfmail tag. When viewing the CF mail.log it contains this error message for each attempt:

"Error","scheduler-0","07/01/10","06:31:22",,"Invalid Addresses; nested exception is: class javax.mail.SendFailedException: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.5.3 - chkuser) "

However, looking at the rcpthosts file, the domain is indeed there that was used in the "from" attribute of cfmail. going into the CF admin, you can set the SMTP server and verify connection. I have tried both 127.0.0.1 as well as the actual IP of the server--both verify as successful connections, but I still can't send email. The old server worked fine for this (even though CF is not supported by rackspace, but IS supported by vivio).

One advice I was already given was use the user:[email protected] construct, but I don't want to do that since none of these domains are reliably permanent--we are wanting to change most or all of the sites to PHP in the next year if possible. I just want to be able to use the local SMTP without restriction, as I was able to on the previous server.

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

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

发布评论

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

评论(1

月隐月明月朦胧 2024-09-15 00:42:36

实际上我在这里找到了答案的关键: http://www.palomine.net/qmail/ relaying.html

我们迁移到的新服务器使用 qmail 而不是 sendmail,后者默认对电子邮件有重大限制。此页面上有一个“选择性中继”链接,其中包含补救步骤,尽管步骤数量多得令人烦恼。

Actually I found the key to the answer here: http://www.palomine.net/qmail/relaying.html

The new server we moved to uses qmail instead of sendmail, which has major restrictions on email by default. There is a "selective relay" link on this page that has steps to remedy, although it's an annoyingly large number of steps.

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