我的域@thisdomain.com 位于我的 VPS 上。此 VPS 是 NameServer 并为 @thisdomain.com 提供 DNS。 @thisdomain.com 的邮件服务器由 GoDaddy 提供的外部网络邮件服务托管。
不幸的是,我在 VPS (thisdomain.com) 网站上的邮件表单无法设置为发送到任何电子邮件@thisdomain.com,因为它似乎没有查看 DNS 上指向网络服务器。相反,它会在本地查找 VPS 上的帐户(显然不存在)
这是我收到的反弹的副本,有人有什么想法吗?
Hi. This is the qmail-send program at ip-100-255-30-47.ip.secureserver.net.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<sales@thisdomain.com>:
This address no longer accepts mail.
--- Below this line is a copy of the message.
还有更多内容,但我认为这是相关部分。
最佳答案
我在 Parallels 网站上找到了有关此问题的以下文章
http://kb.parallels.com/en/116927
分辨率
禁用 domain.tld 订阅的邮件服务:
Go to Subscriptions > domain.tld > Mail > Change Settings.
Uncheck Activate mail service on domain and click OK.
您还可以使用命令行实用程序 mail 在订阅上禁用邮件服务:
/usr/local/psa/bin/mail --off domain.tld
要为服务器上的每个订阅禁用邮件服务,请使用以下命令:
mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -Nse"select name from domains where parentDomainId=0"|while read i; do /usr/local/psa/bin/mail --off $i && echo "Mail service for $i subscription has been disabled" ;done
我希望我知道如何通过运行 mySQL 查询的 phpMyAdmin 为每个订阅执行此操作...
关于sendmail - Plesk Parallels 无法向具有外部 MX 记录的帐户发送电子邮件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23641667/