iRedMail: Build A Full-Featured Mail Server On CentOS 6 With Postfix, Dovecot, PostgreSQL.
|
Submitted by ZhangHuangbin (Contact Author) (Forums) on Wed, 2012-04-25 17:05. :: CentOS | Email | Postfix
Build A Full-Featured Mail Server On CentOS 6 With Postfix, Dovecot, PostgreSQLSummaryWe're going to set up a free, full-featured mail server on CentOS 6.2, all mail service related components are free and open source, and you have control over your own data. The installation process is extremly easy and smooth. By following this tutorial, you will have below major software and services ready for production use:
Introduce iRedMailHomepage of iRedMail project is here: http://www.iredmail.org/ iRedMail is:
With iRedMail, you can set up a full-featured, zero-cost mail server in less than 2 minutes. iRedMail works on 8 major Linux/BSD distributions:
The latest beta release of iRedMail, 0.8.0-beta4, supports PostgreSQL on RHEL/CentOS/Scientific Linux (6.x), Ubuntu (11.10, 12.04), FreeBSD.
System RequirementsWARNING: iRedMail is designed to be deployed on a FRESH server system, which means your server does NOT have mail related components installed, e.g. Apache, PostgreSQL, OpenLDAP, Postfix, Dovecot, Amavisd, etc. Otherwise it may override your existing files/configurations althought it will backup files before modifing, and it may be not working as expected. To install iRedMail, you need:
PreparationsSet A Fully Qualified Domain Name (FQDN) Hostname On Your ServerWe need to set a FQDN hostname before we set up the mail server. On CentOS Linux, hostname is set in two files: Hostname setting: /etc/sysconfig/network # Part of file: /etc/sysconfig/network HOSTNAME=demo.iredmail.org Hostname <=> IP address mapping: /etc/hosts. WARNING: Please list the FQDN hostname as the first item. # Part of file: /etc/hosts 127.0.0.1 demo.iredmail.org demo localhost localhost.localdomainVerify the FQDN hostname with command 'hostname -f'. If you change the hostname, please reboot the server to make it work. $ hostname -f demo.iredmail.org
Enable yum repositories for installing new packagesPlease enable all default yum repositories in /etc/yum.repos.d/CentOS-Base.repo, and disable all third-party repositories. Repositories are enabled if you set "enabled=1" in the repo file.
Download The Latest Release Of iRedMailVisit Download page to get the latest release of iRedMail. At least iRedMail-0.8.0-beta4 is required. Upload iRedMail to your mail server via ftp or scp or whatever method you can use, login to the server to install iRedMail. We assume you uploaded it to directory /root/iRedMail-x.y.z.tar.bz2 (replace x.y.z by the actual version number). Uncompress iRedMail tarball: # cd /root/
Start iRedMail InstallerIt's now ready to start iRedMail installer, it will ask you some simple questions, that are all steps to set up a full-featured mail server. # cd /root/iRedMail-x.y.z/
Screenshots Of iRedMail Installation1) Welcome and thanks for your use: 2) Specify location to store all mailboxes. Default is /var/vmail/. 3) Choose backend used to store mail accounts. We will choose PostgreSQL for example in this tutorial, please choose the one which you're familiar with. You can manage mail accounts with iRedAdmin, our web-based iRedMail admin panel. 4) Set password of PostgreSQL admin user. PostgreSQL is used to store mail accounts and application data. e.g. Roundcube webmail, Amavisd-new. 5) Add your first mail domain name: 6) Set password of admin account of your first mail domain. NOTE:
7) Set password of first mail user of your first mail domain. NOTE:
8) Choose optional components: After these questions, iRedMail installer will ask you to confirm this installation. It will install and configure required packages automatically. Type y or Y and press Enter to confirm, type n or N and press Enter to cancel this installation. ... Configuration completed. ************************************************************************* ***************************** WARNING *********************************** ************************************************************************* * * * Please do remember to *MOVE* configuration file after installation * * completed successfully. * * * * * /root/iRedMail-x.y.z/config * * ************************************************************************* < Question > Continue? [y|N] That's all you need to do to set up a free and full-featured mail server. Easy enough?
Important Things You Should Know After Installation
Access Webmail And Other Web ApplicationsAfter installation has successfully completed, you can access web-based programs if you choose to install them. Replace 'your_server' below by your actual server name or IP address.
Get Technical SupportiRedMail project provides fast and effect online support, please post all issues, feedbacks, feature requests, suggestions in our online support forum, it's more responsible than you expected: http://www.iredmail.org/forum/.
|











Recent comments
5 hours 21 min ago
14 hours 49 min ago
15 hours 39 min ago
19 hours 12 min ago
23 hours 36 min ago
23 hours 58 min ago
1 day 2 hours ago
1 day 12 hours ago
1 day 17 hours ago
1 day 18 hours ago