1

Topic: Error FQDN, Please configure Fully Qualified Domain Name

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

Hi i am using CentOS 6.2, 64 bit, i have installed following

1. Openldap 2.4
2. Apache 2.2
3. PHP 5.3
4. Postgresql 9.2 Standard

Hostname : Server1.example.com

/etc/hosts

192.168.10.100     mail.example.com mail
192.168.10.100    ldap.example.com ldap
192.168.10.100    php.example.com php


while i am running sh iRedmail.sh then i am getting below error
<Error> FQDN, Please configure Fully Qualified Domain Name

What could be the possible cause of this error and how to get rid of this error ?

Thanks in advance.

----

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

2

Re: Error FQDN, Please configure Fully Qualified Domain Name

It's mentioned in iRedMail installation guide:
http://www.iredmail.org/install_iredmai … t_hostname

WARNING: iRedMail is designed to be deployed on a FRESH server system, which means your server does NOT have mail related components installed, e.g. MySQL, OpenLDAP, Postfix, Dovecot, Amavisd, etc. Otherwise it may override your existing files/configurations althought it will backup files before modifing, and it may be not working as expected.

3

Re: Error FQDN, Please configure Fully Qualified Domain Name

Hi, I have read you post on configuring the FQDN, but I am a newbie and would like some help. Here is my /etc/hosts content:

127.0.0.1       localhost
127.0.1.1       ubuntuserver
127.0.1.1       ubuntuserver mail localhost localhost.localdomain


# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters


I have an email host name devitt.4pu.com or mail.devitt.4pu.com

How should my /etc/hosts file look like. I am running Ubuntu 12.10. I do not have mysql running.
Clinton

4

Re: Error FQDN, Please configure Fully Qualified Domain Name

Hi Clinton,

It's mentioned in iRedMail installation tutorial here:
http://www.iredmail.org/install_iredmai … t_hostname

5

Re: Error FQDN, Please configure Fully Qualified Domain Name

I  have  the same problem on fresh  server,
can someone help me?

# hostname -f
mail.myserver.si   localhost
# ./iRedMail.sh
/root/.local/share/Trash/files/iRedMail-0.9.2/conf/global: line 180: localhost: command not found
<< ERROR >> Please configure a fully qualified domain name (FQDN) in /etc/hosts before we go further.

Example:

127.0.0.1   mail.iredmail.org mail localhost

6

Re: Error FQDN, Please configure Fully Qualified Domain Name

Blisk wrote:

# hostname -f
mail.myserver.si   localhost

It should return only one fqdn hostname, why it's "mail.myserver.si   localhost"?