我安装了一个应用程序,它需要发送邮件的smtp信息,我提供了该应用程序的smtp用户,密码和主机,但是当它试图发送邮件时,这个错误发生在应用程序中:
"SMTPRecipientsRefused: {'[email protected]': (550, '5.1.0 <[email protected]>: Sender address rejected: User unknown in virtual mailbox table')} " 。
我该怎么办?
邮件服务器日志:
Apr 29 13:41:41 ns3 postfix/smtpd[30281]: connect from unknown[xx.xx.xx.xx] Apr 29 13:41:41 ns3 postfix/smtpd[30281]: NOQUEUE: reject: RCPT from unknown[xx.xx.xx.xx]: 550 5.1.0 <[email protected]>: Sender address rejected: User unknown in virtual mailbox table; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<ns1.webmart.com>
如果您需要了解更多信息,请告诉我。
Postfix拒绝未知的发件人。 在/etc/postfix/main.cf注释掉一行:
#smtpd_reject_unlisted_sender = yes
你的问题就解决了
请检查您的发送地址是否正确写入,没有拼写错误(空格,点,.etc)。