Linux simple build mail server

Setting up a mail server is a very simple process that only takes a few steps.

 

Usually building a mail server in Linux requires installing a lot of software and configuration files, so we can use an open source mail server software to build it.

 

Prepare a server and system

 

Either a cloud server or a local virtual server can be used.

The server needs to be able to connect to the network.

To install the centos6/7 system, a new and clean system environment is required.

 

Configure the system

 

Check whether swap has been started. If not, you need to configure and start swap.

 

Download EwoMail Mail Server

 

Download EwoMail open source version in git

git address: https://gitee.com/laowu5/EwoMail

 

EwoMail integrated software:

 

Postfix: Mail server

Dovecot: IMAP/POP3/Mail Storage

Amavisd: Antispam and Antivirus

Fail2ban: Monitoring Policy

LNAMP:apache2.2,nginx1.8, mysql5.5,php5.4

EwoMail-Admin: WEB mailbox management background

Rainloop:webmail

 

Install

 

Rename the installation package to ewomail.zip

Unzip the installation

unzip -o ewomail.zip

cd EwoMail/install

#You need to enter an email domain name, no prefix is ​​required, as listed below xxx.com

sh ./start.sh xxx.com

"Complete installation" will appear if the installation is successful

The rest only needs to configure the domain name DNS to use

 

Configure Domain Name DNS

 

 

Domain name DNS

 

Please refer to the above DNS configuration 

Change mail.ewomail.cn to your installed domain name, for example (mail.installed domain name) 

Please change the red part to your server IP

 

management background

 

write picture description here

 

The management background is used to manage your mailboxes and domain names, and you can add unlimited domain names and mailboxes. 

Address: http://IP:8010 (IP is the public IP of your server)

 

webmail

 

write picture description here

 

WebMail is used to log in to the mailbox, send and receive mail.

 

end

 

After the above steps, the construction of a mail server has basically been completed. If you have any questions during use, you can leave a message to me.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326157826&siteId=291194637