1 (edited by mojtaba.maher 2018-09-24 16:08:13)

Topic: What are the steps to configure 2 mail domains on different hosts

Hi there,

I have 2 hosts on a network ( two separate web servers, for example 192.168.1.10 and 192.168.2.10 )
each of these hosts has it's own domain (for example mail.host1.com , mail.host2.com)
What is the steps in order to make both hosts users able to send email to each other ? I mean John@mail.host1.com wants to send an email to Sarah@mail.host2.com .

Should I really setup a DNS server in each host ? I don't know where should I start from and what to search for !
Thanks
---------------------
iRedMail v0.9.8
Ubuntu 16.04
Nginx
---------------------

----

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

2

Re: What are the steps to configure 2 mail domains on different hosts

Hello.

You should install DNS server inside your network (i guess it's LAN as per your ip format) or hardcode ip and dns names in the /etc/hosts on the both servers to make them know about each other without dns.

Kindest Regards