1

Topic: /etc/hosts

In /etc/hosts, mail is working just fine with this configuration.

127.0.0.1   localhost
127.0.1.1   debian.localdomain    debian
127.0.2.1   mail.firstsite.com       mail

Now in iRedAdmin, I add the domains secondsite.com and thirdsite.com.
Do I need also to add these lines in the hosts file?

127.0.3.1   mail.secondsite.com    mail
127.0.4.1   mail.thirdsite.com       mail

Or is that not necessary?
====
- iRedMail version: 0.8.5
- Stored in MySQL
- Debian 7.1 
====

----

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

2

Re: /etc/hosts

Not necessary. Does your mail server has a static IP address which is accessible on internet?

3

Re: /etc/hosts

ZhangHuangbin wrote:

Does your mail server has a static IP address which is accessible on internet?

Yes, it does. Multiple domains sharing one static IP.
Thanks.