1 (edited by chriso0258 2013-07-24 02:29:18)

Topic: Host file configuration question

==== Required information ====
- iRedMail version: 0.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MYSQL
- Linux/BSD distribution name and version: Ubuntu 12.04.2
- Related log if you're reporting an issue:
====

In the Preparations section of your documentation you require the FQDN be listed in the hosts file as the first item. Your example read, 127.0.0.1  mx.example.com demo localhost localhost.localdomain

When I look in my host file (I have not installed iRedMail yet) I see the following:

127.0.0.1   localhost
127.0.1.1   kc-server.chat.tenn   kc-server

I have two ethernet cards in my server (eth0, eth1) and am currently connected to eth1. Is the 127.0.1.1 address the loopback for the second card?

How should this host file be configured then?

cat interfaces shows the following:

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth1
iface eth1 inet dhcp

Please note: This server will be on an isolated network with a static IP address when completed for the purpose of receiving certain reports from a single computer that has to send the reports via email. The server will not be connected to the internet.

Thanks for your assistance.

----

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

2

Re: Host file configuration question

"This server will be on an isolated network with a static IP address".

So, if kc-server.chat.tenn is your FQDN, /etc/hosts should read

127.0.0.1   localhost
<put here your static ip address>   kc-server.chat.tenn   kc-server