1 (edited by perry.anderson 2014-04-02 00:31:49)

Topic: Ubuntu 12.04.04 / Apache virtual host setup

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

I want to setup a basic email server. I was told by this guy that it was a simple process;

https://www.youtube.com/watch?v=uJ_AVoWbppc

However when I get to the setup I get this message;

root@osiris-03:/home/jboss/iRedMail-0.8.6# bash iRedMail.sh
< 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

my /etc/hosts is as follows;

root@osiris-03:/home/jboss/iRedMail-0.8.6# cat /etc/hosts
# 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
127.0.0.1 localhost
127.0.1.1 mail.unifiedobjects.com mail localhost
32.254.239.24    osiris-03
2001:4801:7824:0104:f0ca:0988:ff10:b958    osiris-03
11.219.159.9    osiris-03

I cannot make any sense of this.

I also have apache installed with virtual hosts. So I don't know if this has any impact on the setup as i have multiple domain names based on this single server. If your product works I'd like to use it as an email server for multiple domain names.

Please can you provide me with simple step-by-step instructions on how to install your product.

Thanks,

Perry

----

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

2

Re: Ubuntu 12.04.04 / Apache virtual host setup

perry.anderson wrote:

root@osiris-03:/home/jboss/iRedMail-0.8.6# cat /etc/hosts

127.0.0.1 localhost
127.0.1.1 mail.unifiedobjects.com mail localhost

I cannot make any sense of this.

Please try to remove the first '127.0.0.1' line.

perry.anderson wrote:

I also have apache installed with virtual hosts. So I don't know if this has any impact on the setup as i have multiple domain names based on this single server.

It will mess up your existing Apache configurations.

perry.anderson wrote:

Please can you provide me with simple step-by-step instructions on how to install your product.

Here: http://www.iredmail.org/doc.html

WARNING: As clearly mentioned in installation guide:

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 (iRedMail will install and configure them for you automatically). Otherwise it may override your existing files/configurations althought it will backup files before modifing, and it may be not working as expected.