3

我的域名@thisdomain.com 位于我的 VPS 上。这个 VPS 是 NameServer 并为 @thisdomain.com 提供 DNS。@thisdomain.com 的邮件服务器由 GoDaddy 提供的外部网络邮件服务托管。

不幸的是,我在 VPS (thisdomain.com) 上的网站上的邮件表单无法设置为发送到任何电子邮件@thisdomain.com,因为它似乎没有查看 DNS 上指向 Web 服务器的 MX 记录。相反,它会在本地查找 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.

还有更多,但我认为这是相关部分。

4

1 回答 1

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 为每个订阅执行此操作...

于 2014-05-13T22:10:44.127 回答