iRedMail: Mail Server With LDAP, Postfix, RoundCube, Dovecot, ClamAV, SpamAssassin, Amavisd (Debian 5.0.1)
|
Submitted by eddiechen (Contact Author) (Forums) on Wed, 2009-06-03 17:12. :: Anti-Spam/Virus | Debian | Email
iRedMail: Mail Server With LDAP, Postfix, RoundCube, Dovecot, ClamAV, SpamAssassin, Amavisd On Debian (Lenny) 5.0.1Last edited 03/31/2011 iRedMail is a shell script that lets you quickly deploy a full-featured mail solution in less than 2 minutes. Since iRedMail 0.5, it supports Debian 5.0.1 (it supports both i386 and x86_64). Its object is to make a Linux mail server installation and configuration simple and easy to use. iRedMail supports both OpenLDAP and MySQL as backends for storing virtual domains and users.This tutorial shows how to use OpenLDAP as the backend. Now iRedmail provides two webmail program, RoundCube and SquirrelMail, and both support the MySQL and OpenLDAP backends and can change the password.
1 RequirementsIt is strongly recommended that you use the 'netinst' version to install a minimal Debian system, and then deploy mail service via iRedMail solution. e.g.: To install such a system you will need the following:
2 Preliminary NoteIn this tutorial we use:
4 Setting hostnameIn Debian (Lenny), hostname is set in these two files: * /etc/hostname: hostname setting Map this hostname to '127.0.0.1' (Warning: List the FQDN hostname as first item.) # vi /etc/hosts
# vi /etc/hostname
Verify the FQDN hostname: # hostname --fqdn mail.example.com 5 Start iRedMail InstallationSwitch to root user, we must execute further commands as root user without sudo. $ sudo su - Download the new version of iRedMail:
# wget http://iredmail.googlecode.com/files/iRedMail-0.7.0.tar.bz2 Start the iRedMail installer:
# cd iRedMail-0.7.0 Welcome page:
All emails should be stored in this directory:
iRedMail supports both OpenLDAP and MySQL as backends to store virtual domains and users. OpenLDAP is recommended.
LDAP suffix, normally it's your domain name, such as: dc=example,dc=com
Set a password for the LDAP server admin. The admin account is defined in /etc/ldap/slapd.conf, normaily it's: cn=Manager,dc=example,dc=com.
|








Recent comments
19 hours 24 min ago
1 day 29 min ago
1 day 4 hours ago
1 day 6 hours ago
1 day 20 hours ago
1 day 20 hours ago
2 days 1 hour ago
2 days 8 hours ago
2 days 9 hours ago
2 days 10 hours ago