1

Topic: How to find MX server name?

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: 16.04 Ubuntu
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

This may be a dumb question but how can I find the name of the MX server on the VPS. I tried with nslookup but there was nothing.

A records are easy as they point to the IP of the VPS. But for MX I need the name of the mail server. How can I find it? Thanks.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: How to find MX server name?

Run command "hostname -f" on your iRedMail server.

3

Re: How to find MX server name?

ZhangHuangbin wrote:

Run command "hostname -f" on your iRedMail server.

I see. So the A and the MX record are the same?

If the computer is called "www" then the A record is for www.domain.com and the MX record is for www.domain.com.

Correct? Thanks.

4

Re: How to find MX server name?

*) A record points to an IP address.
*) MX record points to an A record instead of IP address.

david.madman wrote:

If the computer is called "www" then the A record is for www.domain.com and the MX record is for www.domain.com.

www.domain.com -> A record -> IP address
MX record for mail domain "domain.com" (email address is user@domain.com) -> MX record for @domain.com -> an A record (e.g. www.domain.com)