iRedMail: Mail Server With LDAP, Postfix, RoundCube, Dovecot, ClamAV, SpamAssassin, Amavisd (Debian 5.0.1) - Page 2

Set a password for the LDAP virtual domain admin's password.
Note: cn=vmailadmin,dc=example,dc=com is used to manage all virtual domains/users.

Set a password for the MySQL root user:

Add your first virtual domain, e.g.:

Virtual domain administrator account for the first virtual domain. Default is 'postmaster':

Set a password for the virtual domain administrator:

Add the first normal user for our virtual domain. e.g.: www. The full email address will be [email protected].

Set a password for above normal user:

Enable the SPF verify and DKIM verify/sign feature:

Select optional components, you can choose RoundCube or SquirrelMail as webmail programs.
An Awstat user account has been integrated in LDAP, so you need to use the username: [email protected]. For details, read the file iRedMail-x.y.z/

Select webmail's default language:

Set an alias mail address for the root user:

Finish the configuration and start to install the software:

After the installation has finished, reboot the machine:


7 Important Things You Should Know After Installation


8 Access webmail and other web-based programs

After installation is complete, you can access web-based programs if you've chosen to install them:

Component URL Access via HTTP Access via HTTPS Comment
RoundCubeMail-0.2.1 http://your_server/mail/ (or /webmail, /roundcube) YES YES Recommand webmail
SquirrelMail-1.4.19 http://your_server/squirrelmail/ (or /squirrel) YES YES webmail
PostfixAdmin- https://your_server/postfixadmin/ No YES Only Mysql Backend
phpMyAdmin- https://your_server/phpmyadmin/ (or /mysql) NO YES
phpLDAPadmin- https://your_server/ldap/ (or /phpldapadmin) NO YES Only LDAP Backend
Awstats-6.9 https://your_server/awstats/ (or / NO YES

Note: Replace your_server with your server hostname or IP address.

Share this page:

Suggested articles

6 Comment(s)

Add comment


By: dme77

Why not just install Citadel?  It does all of that stuff out-of-the-box, and it's pre-integrated for you so you don't have to go through all of those steps to put it together.

By: Anonymous

I've just installed Citadel 1.5 however though it's a very good solution it's just not as good as postfix and clamav and spamassassin. Truth is people shouldn't be lazy instead they should design a system they want.

By: jjmoreno23

I'm consider myself newby, but with this guide i could make my server works very quickly.


By: Besworks

Installing iRedMail was a breeze compared to the last mail server I built using the QmailRocks guide. My only complaint with the guide is with the footnote regarding "Important things to know after installation". It should be more clear about the line "User password and related sensitive information". My first run through I wanted to try out LDAP but I was unable to log in to the php LDAP admin. I tried to figure it out but, being pressed for time, I ended up reinstalling using the MySQL back end that I am more familiar with so I could move forward with my task.

Overall I'm impressed though. iRedMail gets an A+ from me. Though I do suggest you upgrade to the latest release of RoundCube after installation. Just a minor tweak is needed to get it working fully.

By: Anonymous

Package mysql-server-5.0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  mysql-server-core-5.1 mysql-server-5.1 mysql-cluster-server-5.1
E: Package mysql-server-5.0 has no installation candidate
< ERROR > Installation failed, please check the terminal output.

By: Manuel Pina

This was a complete failure for me, installation went great, yet i cant send mail neither recieve, postfix rejects everything and when i try to send with roundcup and can't send either aparently because postfix is rejecting unknown recipients maybe is something with local_recipient_maps parameter in postfix conf but i have no idea...