Install the iRedMail free email server in CentOS 6

Source: Internet
Author: User
Tags vps in domain mx record

Install the iRedMail free email server in CentOS 6
As we can see, many VPS users are not used to build websites, but to create email servers and send emails. Therefore, the old left also learns such functions. To learn how to build an email server, you must first use the free open-source iRedMail software. IRedMail can quickly deploy the mail server solution in environments such as Red Hat, CentOS, SDebian, and Ubuntu. In this article, the old left shares the process of successfully building a Centos 6 32-bit system. 1. Update the system installation package
Yum update
The system installation package must be updated before installation.
2. modify the current VPS host name HOSTNAME
In general, we use VPS to check that the general host name is not the root domain name we need to set through "hostname-f.
A-edit the/etc/sysconfig/network file and set hostname to mail.laozuo.org
B-edit the/etc/hosts file and add the script 127.0.0.1 mail.laozuo.org mail localhost. localdomain localhost to the file above. Change the script to our host name.
After the VPS is restarted, use "hostname-f" to check whether the current host name has changed to what we need.
Third, domain name resolution
We need to set A record and MX record resolution in domain name DNS resolution. Here, the old left is the domain name post office using DNSPOD. The settings are as follows:


Install the iRedMail free email server in CentOS 6 and configure it-image 1
This is only the resolution of our domain name, A record and MX record, used for post office purposes.

4. Download and install iRedMail

cd /root/wget http://www.iredmail.com/iRedMail-0.8.7.tar.bz2tar xjf iRedMail-0.8.7.tar.bz2cd iRedMail-0.8.7bash iRedMail.sh
Enter the preceding download and installation steps, and the installation will be automatically performed. Note that the downloaded installation package contains a messy string. If it is manually modified by SFTP, decompress and install the package.

Install the iRedMail free email server in CentOS 6 and configure it-Image 2
The installation process went smoothly and there was no error in the middle. We only need to wait and check the Settings section in the next step.
Fifth, iRedMail installation process and settings
A-Welcome to installation

Install the iRedMail free email server and configure it in CentOS 6-Image 3
Press ENTER or click YES to confirm installation settings. And the default installation path of/var/vmail is press Enter.
B-select database

Install the iRedMail free email server and configure it in CentOS 6-Image 4
Here I select MYSQL database as data storage.
C-set the MYSQL Database Password

Install the iRedMail free email server and configure it in CentOS 6-image 5
D-set Domain Name

Install the iRedMail free email server in CentOS 6 and configure it-image 6
The domain name and host name cannot be the same.
E-set the Webmail and iRedAdmin administrator passwords

Install the iRedMail free email server in CentOS 6 and configure it-image 7
F-select the integration component required by iRedMail

Install the iRedMail free email server in CentOS 6 and configure it-image 8
Then we directly enter y and then let it install.

Install the iRedMail free email server in CentOS 6 and configure it-image 9
6. Wait until the iRedMail installation is successful
You need to insert a section to configure the firewall and database.

Install the iRedMail free email server in CentOS 6 and configure it-image 10
After setting n and y, press enter to continue the installation. The installation is complete.

Install the iRedMail free email server in CentOS 6 and configure it-image 11
We can see the installation and logon portal. By default, https logon is required. You can either set SSL Certificate logon or/var/www/roundcubemail/config. inc. set $ config ['force _ https'] = true in the PHP file; change the parameter to "false" before restarting the PHP file.
In this way, iRedMail has been installed, and I will add a specific application instance to the left.
Original article: http://www.laozuo.org/4604.html

To zero Technology View Original: http://m.ldisp.com/a/linux/2014/CentOS6-iRedMail-install.shtml

Related Article

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.