You haven't specified the public host name for this computer in the SMTP settings.
However I cannot tell where to go within Administration to accomplish this. Help appreciated.
关于MX记录
解决方案
域名解析主要有4个主要类型:
NS DNS
MX 邮件
A IP地址
CNAME 别名
除了A记录,其他3个类型都是要解析到主机名的。
比如:
...
IN MX 0 mail
IN MX 10 mail.yourdomain.com.
...
我们来看一个邮件服务器在发信的时候,是怎么判断发送到那里的过程。
此时,他会做两次DNS查询。
第一次,先查询yourname.com的mx记录,查出mx记录对应的主机名之后,再查询这个主机名对应的IP。
然后再将邮件发送到IP。
这个过程可以用dig命令模拟。
第一步:
dig +short yehglobal.com mx
结果:
0 mail.yehglobal.com.
10 mail.yehglobal.com.
第二步:
dig +short mail.yehglobal.com
结果:
210.78.128.66
有的服务商,错误地把mx记录直接解析到了IP地址。大部分的邮件服务器可以正常工作,但是会提示错误:Warning: numeric address in MX record!。
有的邮件服务器可能就会把IP地址当作一个主机名,致使邮件发不出去。
我们再来看有关mx记录的其他要注意的地方。
1. 多条mx记录
在刚才的例子中,我们看到,查询mx记录时返回了两条记录:
0 mail.yehglobal.com.
10 mail.yehglobal.com.
其中的0和10代表优先级,数越小,优先级越高。多条mx记录,一般情况下,是说邮件可以按顺序发送到这些主机,有的时候,多条记录可能是相同的(例子中的情况),
这是为了增加冗余和重试次数。
2. 相对主机名和绝对主机名
...
MX IN 0 mail
MX IN 10 mail.otherdomain.com.
...
这个例子中,一个记录是mail,另一条记录是mail.yourdomain.com.,第一条最后没有“.”字符的记录是相对主机名,实际上会被加上这个域名,
变成:mail.yourdomain.com.;第二条记录最后有“.”字符,代表一个绝对主机名,不会被转换。
综上所述,一般情况下,如果要解析一个域名的邮件记录,发送到某个IP,会在域名解析中解两条记录:
IN MX 0 mail
mail IN A 10.0.0.1
*** 如何在Prim@Hosting系统中,设置一个域名的邮件发送到另外一台服务器 ***
在使用Prim@Hosting系统的时候,在创建站点时,可以指定mail解析到哪个IP,在dns mx记录的框里填写另外服务器的IP地址就可以;
也可以使用子域名管理工具,在mail子域的A记录的框内填写另外服务器的IP地址。
*** 如何检验域名解析的正确 ***
使用dig命令。指定DNS服务器:
dig @dns1.yourname.com abc.com mx
dig @dns1.yourname.com mail.abc.com
MX-records are used to specify the e-mail server(s) responsible for a domain name.
Each MX-record points to the name of an e-mail server and holds a preference number for that server.
If a domain name is handled by multiple e-mail servers (for backup/redundancy), a separate MX-record is used for each e-mail server, and the preference numbers then determine in which order (lower numbers first) these servers should be used by other e-mail servers.
If a domain name is handled by a single e-mail server, only one MX-record is needed and the preference number does not matter.
When sending an e-mail to "
This could be "mail.example.com" or someone else's mail server like "mail.isp.com".
After this it looks up the A-record for that e-mail server name to connect to its IP-address.
Important
An MX-record must point to the name of a mail server - not directly to the IP-address.
Because of this, it is very important that an A-record for the referenced mail server name exists (not necessarily on your DNS server, but wherever it belongs), otherwise there may not be any way to connect to that e-mail server.
Do not point an MX-record to a CNAME-record. Many e-mail servers don't understand this. Add another A-record instead.
This record type is defined in RFC1035.
Perhaps you could check the documentation, after all that's why it is there.hmale wrote:Is the Public Host name supposed to be the public ip of the hmail server or the hostname please?
And now for my favourite link in all of the documentation...schram12 wrote:I thought this was a forum for asking such questions. If the documentation was written for all levels of user, this forum would not be necessary.
Obviously the public host name is placed in this field. But, I believe he is asking where does one get the public host name? This is not covered in the documentation as it is probably somewhat public knowledge. Unfortunately, only a small part of the public has this knowledge.
I would like to ask the same question. Any answers?
Something like 'mail.yourdomain.com' is usually adequate.Bill48105 wrote:So the answer is you SET your hostname yourself normally & should know it like your own name.. Btw technically your domain name is your root/base host name & could USUALLY be used depending on your setup.
Address: No. 2, Jingwu Road, Zhengzhou City, Henan Province
Phone: 0086-371-63520088
QQ:76257322
Website: 800188.com
E-mail: