CentOS iRedMail installation and configuration

Recommended for you: Get network issues from WhatsUp Gold. Not end users.

Chinese named “ Ai Rui to mail ” by RHMs project, changed its name to. Is designed for Linux mail server solution, is used in the operating system after the installation of a shell script, for rapid deployment of a set of functions of the mail server solution.
iRedMail Google open source address: http://code.google.com/p/iredmail/
iRedMail's official website address: (domestic wall, despise the)

IRedMail system requirements
iiRedMail installation needs system environment clean, it is not found in the server component, associated with iredmail such as Apache, MySQL, OpenLDAP, Postfix, Dovecot, Amavisd etc.. Otherwise it will overwrite the original configuration file, and even lead to the iredmail installation failed.
in order to install iredmail, you need to meet the following two conditions:

  1. A clean system, such as RHEL, CentOS, Scientific in Linux system.
  2. Not less than 512MB of memory.
  3. Configure the Yun source


The iRedMail component of
iRedMail is mainly to construct the mail system using the following software.


Working principle
amavisd-new component here is mainly:

1 when the 25 port mail sent to the server, Postfix to accept connections, it will do some basic examination

2. Postfix mail through the 10024 port handling to amavis, Note amavis, Only check mail without discarding or refuse mail.
Whether the 3 amavis call SpamAssassin to check email is spam, If the SpamAssassin that email is spam, To mark the spam mail
4 amavis call ClamAV, To see whether the message containing the virus
5 amavis to check mail, Through the 10025 port to mail back to postfix
6 postfix mail to the LDA (local delivery agent), LDA is responsible for local mail delivery to the user's mailbox, (here we use dovecot provides LDA functions, Rather than postfix LDA) mail will enter the user's mailbox, Dovecot will perform user settings for filter, Is the Dovecot by calling Sieve, In the related folder
7 Dovecot mail in the form of Maildir stored on the hard disk.
8 users using the e-mail client, To connect through a pop3 or IMAP protocol. Webmail RoundCube, Is to read the mail by way of IMAP.


Install the iRedMail
reference:


After the completion of the important thing to know
1, read /root/iRedMail-x.y.z/iRedMail.tips, it contains the information related to iredmail
2, set the DNS http://code.google.com/p/iredmail/wiki/DNS_SPF
3 SPF record, set the DNS record for DKIM http://code.google.com/p/iredmail/wiki/DNS_DKIM


The entrance of Webmail and some other programs
Webmail http://your_server/mail/ (or /webmail, /roundcube)
iRedAdmin (admin panel) https://your_server/iredadmin/
phpMyAdmin https://your_server/phpmyadmin/
phpLDAPadmin https://your_server/phpldapadmin/
Awstats https://your_server/awstats/awstats.pl?config=web (or ?config=smtp)


Add new domain name DKIM
# amavisd genrsa /var/lib/dkim/linuxeye.com.pem
# VI /etc/amavisd/amavisd.conf
Dkim_key ("linuxeye.com", "dkim", "/var/lib/dkim/linuxeye.com.pem");
"Linuxeye.com"   => {D => "linuxeye.com", a =>'rsa-sha256', TTL 10*24*3600 =>},
Amavisd -c /etc/amavisd/amavisd.conf showkeys # # display DKIM, Add DNS TXT record
# amavisd -c /etc/amavisd/amavisd.conf testkeys # test whether DKIM through
TESTING#3: dkim._domainkey.linuxeye.com   => pass

From

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download

Posted by Elsa at November 09, 2013 - 9:53 PM