我的域名@ thisdomain.com坐在我的VPS上。此VPS是NameServer,并为@ thisdomain.com提供DNS。 @ thisdomain.com的邮件服务器由GoDaddy提供的外部Webmail服务托管。
不幸的是我在VPS(thisdomain.com)上的网站上的邮件表格无法设置为发送到任何电子邮件@ thisdomain.com,因为它似乎没有看到DNS上的MX记录到Web服务器。相反,它在本地查找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.
还有更多,但我认为这是相关部分。
答案 0 :(得分:1)
我在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为每个订阅执行此操作...