ewomail server set up

Official website http://www.ewomail.com/

Installation Environment

centos7.4 64 Wei

centos6 / 7 system, the server needs a clean environment, requiring a clean new system can not be installed in an existing apache, mysql environment.

Minimum requirements
CPU: 1 core
Memory: 1G
hard disk: 40G

As more new versions of antivirus software occupy memory, 512M memory to 2GB Please refer to reduce memory footprint

After installation EwoMail data will be stored in / ewomail directory
is recommended that you create in advance / ewomail directory and mount the hard drive capacity or assigned to / ewomail


Close selinux

vi /etc/sysconfig/selinux
SELINUX=enforcing 改为 SELINUX=disabled
12842279-24fc0126c965565d.png
image

Check the swap

If you do not start the swap, which can lead to EwoMail antivirus component can not start, so before installation check whether the swap has already started, as has been started can skip this step.

查看swap
free -m

If the swap position are displayed is 0, then the system has not created swap


12842279-7107bf34efa30e7c.png
image

Create a swap partition (memory over 2G, not configuration)

Create 1G of swap, the size can be adjusted according to your server configuration

dd if=/dev/zero of=/mnt/swap bs=1M count=1024  

Setting swap files

mkswap /mnt/swap

Start swap

swapon /mnt/swap

Enabling swap partition setting from the boot

需要修改文件 /etc/fstab 中的 swap 行,添加
/mnt/swap swap swap defaults 0 0
12842279-4e4a76942f6c2c69.png
image

Mail domain

EwoMail plurality of domain names can configure itself to send and receive mail, but before installation requires a primary domain mailbox.
The main domain name tutorial example uses ewomail.cn


Installation (centos7) recommends using git installed

github project addresses https://github.com/gyxuehu/EwoMail

yum -y install git
cd /root
git clone https://github.com/gyxuehu/EwoMail.git
cd /root/EwoMail/install
#需要输入一个邮箱域名,不需要前缀,列如下面的ewomail.cn
sh ./start.sh ewomail.cn  ## 不带mail.

Other configurations see
http://doc.ewomail.com/docs/ewomail/jianjie

Have the background, there are webmail, as well as multi-language,
if need be integrated into the site where, api interface section is the professional version of the open source part is not, but you can write your own secondary development.

Guess you like

Origin blog.csdn.net/weixin_34023863/article/details/90965065