smtp 错误“550 不允许传送”

smtp 错误“550 不允许传送”

我们的 Moodle(课程管理网站)已配置了一个电子邮件帐户,可以向学生发送电子邮件。创建的电子邮件地址工作正常。我的意思是我可以登录邮件服务器并检查此用户(moodle)的收件箱。此外,还有一个用于测试设置的插件。日志显示不允许投递,我不知道是哪一方导致了这样的问题,是邮件服务器管理员还是某些设置错误。

SERVER -> CLIENT: 235 Authentication successful
CLIENT -> SERVER: MAIL FROM:
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "250 Sender accepted
                                  "
SMTP -> get_lines(): $data is "250 Sender accepted
                                  "
SERVER -> CLIENT: 250 Sender accepted
CLIENT -> SERVER: RCPT TO:
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "550 Delivery not allowed to 
                                  "
SMTP -> get_lines(): $data is "550 Delivery not allowed to 
                                  "
SERVER -> CLIENT: 550 Delivery not allowed to 
SMTP ERROR: RCPT TO command failed: 550 Delivery not allowed to 
CLIENT -> SERVER: QUIT

对此有什么反馈吗?

答案1

聘请优秀的管理员和/或程序员,他们将能够看到并实现任何实际主机管理员显而易见的事情 - 正确且符合 RFC 的 SMTP 会话(请参阅 RFC 2821 或甚至是优秀的 RFC 821,第 3 章,“SMTP 过程示例”)。现在情况非常糟糕

引自“SMTP 程序示例”

    S: MAIL FROM:<[email protected]>
    R: 250 OK

    S: RCPT TO:<[email protected]>
    R: 250 OK

    S: RCPT TO:<[email protected]>
    R: 550 No such user here

    S: RCPT TO:<[email protected]>
    R: 250 OK

    S: DATA
    R: 354 Start mail input; end with <CRLF>.<CRLF>
    S: Blah blah blah...
    S: ...etc. etc. etc.
    S: <CRLF>.<CRLF>
    R: 250 OK

用简单的英语来说MAIL FROM-RCPT TO 必须有参数,如果没有至少一个收件人(从 RCPT TO 的“转发路径”),您将无法进入数据阶段

相关内容