如何找到我的主机为我安装的邮件服务器?

时间:2021-07-24 19:51:53

I'm using MediaTemple's (dv) hosting service. How do I determine what mail-server is installed? Should I use the shell? If so, what command would be used?

我正在使用MediaTemple(dv)托管服务。如何确定安装的邮件服务器?我应该使用外壳吗?如果是这样,将使用什么命令?

2 个解决方案

#1


14  

Go to the shell and type this command:

转到shell并键入以下命令:

telnet <hostname> 25

This will come back with a line like so:

这将返回如下所示:

220 example.com ESMTP Exim 4.69 Thu, 13 Nov 2008 10:06:01 +1100

as you can see, this sever is running EXIM.

如您所见,此服务器正在运行EXIM。

Then type QUIT to exit back to the shell.

然后键入QUIT以退回到shell。


UPDATE: Some hosts use a different address for their email server, if you are on Linux, you can type the following command to get a list of mail servers for a given domain:

更新:某些主机为其电子邮件服务器使用不同的地址,如果您使用的是Linux,则可以键入以下命令以获取给定域的邮件服务器列表:

dig -t MX example.com

#2


7  

Try

$ nmap -p 25 -A -T polite <hostname>

from a Linux box with nmap installed.

来自安装了nmap的Linux机箱。

#1


14  

Go to the shell and type this command:

转到shell并键入以下命令:

telnet <hostname> 25

This will come back with a line like so:

这将返回如下所示:

220 example.com ESMTP Exim 4.69 Thu, 13 Nov 2008 10:06:01 +1100

as you can see, this sever is running EXIM.

如您所见,此服务器正在运行EXIM。

Then type QUIT to exit back to the shell.

然后键入QUIT以退回到shell。


UPDATE: Some hosts use a different address for their email server, if you are on Linux, you can type the following command to get a list of mail servers for a given domain:

更新:某些主机为其电子邮件服务器使用不同的地址,如果您使用的是Linux,则可以键入以下命令以获取给定域的邮件服务器列表:

dig -t MX example.com

#2


7  

Try

$ nmap -p 25 -A -T polite <hostname>

from a Linux box with nmap installed.

来自安装了nmap的Linux机箱。