Author: Zhu MahaI CentOS installed iRedMail web mail server, centosiredmail

Source: Internet
Author: User
Tags ldap openldap fully qualified domain name

[Transfer] Author: Zhu MahaI CentOS installed iRedMail web mail server, centosiredmail

The Chinese name is "iResearch mail", which was renamed by the rhms project. It is a mail server solution designed for Red Hat (R) Enterprise Linux and CentOS. It is a shell script used after the operating system is installed, deploy a complete set of email server solutions quickly. Iredmail Google Open Source Address: http://code.google.com/p/iredmail/

Iredmail System Requirements

The installation of iredmail requires a clean system environment, which means that the server does not have components related to iredmail, such as apache, mysql, OpenLDAP, postfix, Dovecot, and Amavisd. Otherwise, the original configuration file will be overwritten, and the installation of iredmail may even fail.
To install iredmail, you must meet the following two conditions:
1. A clean system, such as RHEL, CentOS, and Scientific Linux.
2. No less than MB of memory.

Preparations before installation

1. Set a fully qualified domain name (FQDN) Host Name
Run the command hostname-f to view the current host name:

  1. $ Hostname-f
  2. Demo.iredmail.org

In RHEL/CentOS/Scientific Linux, setting hostname usually changes the following two files:
/Etc/sysconfig/network host name settings.
/Etc/hosts host name resolution, which must be placed first.
2. Activate the yum software library to install the new software package.
The configuration file of the CentOS system software library is located in the/etc/yum. repos. d/directory with the suffix ". repo". Open these files. If "enabled = 1" is included, the files are activated.
3. download the latest iRedMail
Download here: http://code.google.com/p/iredmail/wiki/Download? Tm = 2
Decompress the package:

  1. # Cd/root/
  2. # Tar xjf iRedMail-x.y.z.tar.bz2
Start iRedMail Installation

If the server is in China, because the domain name is walled, you need to open the file/root/iRedMail-x.y.z/pkgs/get_all.sh, find iredmail.org with 173.254.22.21.

  1. # IRedMail-x.y.z/cd/root/
  2. # Bash iRedMail. sh

The following is the installation:
1) Welcome to the installation page.

2) Specify the storage mailbox path. The default value is/var/vmail /.

3) Select the backend of the storage account and select the one you are familiar. Then you can manage your account in iRedAdmin.

4) if the selected backend is OpenLDAP, two questions will be asked next.
4.1) LDAP suffix

4.2) LDAP Password

5) set the mysql root Password

6) set your first email domain name

7) set the mailbox management address

8) set the mailbox background management password

9) set the mailbox User Password

10) Select an optional component for Installation

11) set the default language

After answering these questions, the installer will ask whether to start installation. Enter y.

Important things to know after installation

1. Read/root/iRedMail-x.y.z/iRedMail. tips, which contains information related to iredmail
2. Set dns record http://code.google.com/p/iredmail/wiki/DNS_SPF for SPF
3. Set DNS record http://code.google.com/p/iredmail/wiki/DNS_DKIM for DKIM

Webmail and other program Portals

Webmailhttp: // your_server/mail/(or/webmail,/roundcube)
IRedAdmin (admin panel) httpS: // your_server/iredadmin/
PhpMyAdminhttpS: // your_server/phpmyadmin/
PhpLDAPadminhttpS: // your_server/phpldapadmin/
AwstatshttpS: // your_server/awstats. pl? Config = web (or? Config = smtp)


On centos, iredmail cannot be accessed after running for a period of time (including webmail and foxmail clients). You need to restart the firewall.

The iredmail component is fail2ban, which is used to place brute-force password cracking attacks on the mailbox. If an ip address fails to enter the password multiple times within a certain period of time, this ip address will be blocked, after the firewall is restarted, you can either stop fail2ban or check which email address or password in the log is incorrect for multiple times. Or add it to the fail2ban white list.

How can I configure iRedmail in CentOS 65?

Modify pkgs/get-all.sh
Replace iredmail.org with 173.254.22.21

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.