CentOS 6 version environment system configuration EXIM sending mail server

888u

Last update at :2024-06-17,Edit by888u

In the very early days, Snail always thought that the virtual host was not enough for website storage, and then chose VPS or server. In fact, after getting VPS or many big names, I discovered that VPS hosting application is actually the least used in website projects. one of the parts. Many major VPS users use VPS or servers to install mail servers for EDM email mass marketing and idle projects, such as crystal and mining, which were very profitable in the early days. Now many people are idle now. There are many well-hidden masters in the Snail Q group. .

There are not only so many applications in VPS and servers. Many projects are only known to those who are playing them. Even if what is spread on the Internet or so-called training tells us, even if it is possible, we can basically only drink some soup. After this article, I continued to toss and install the EXIM sending mail server in CENTOS6.

First, configure the EPEL software source

#cat > /etc/yum.repos.d/epel.repo << EOF[epel]name=Extra Packages for Enterprise Linux 6 – \\\\$basearch#baseurl=http://download.fedoraproject. org/pub/epel/6/\\\\$basearchmirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=\\\\$basearchfailovermethod=priorityenabled=1gpgcheck=0EOF

Second, install EXIM

yum -y install exim

Third, set EXIM to MTA

alternatives –set mta /usr/sbin/sendmail.exim

Fourth, modify EXIM configuration file parameters

/etc/exim/exim.conf

In the above EXIM.CONF file, you need to pay attention to the following parameters.

The main purpose is to modify the settings of the parameters primary_hostname, domainlist local_domains, domainlist relay_to_domains, and hostlist relay_from_hosts.

Fifth, test whether it can be sent

yum -y install mailxdate | mail -r [email protected] -s \\’exim email test\\’ [email protected]

If there is no problem, we will receive a test email with the subject content of \\"exim email test\\" in our mailbox.

To summarize, the above is just a simple use of EXIM to build and send an email server. The specific batch operation is definitely more than that. I will share it later after learning.

Recommended site searches: domain name query, corporate email, server space rental, Korean independent server, Hong Kong host high defense, Chinese domain name registration query, purchase of registered domain names, ICP registration number, virtual host purchase for 0 yuan, domain name space registration< /p>

CentOS 6 version environment system configuration EXIM sending mail server

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码