Using SendMail to configure an enterprise Simple Mail system

Source: Internet
Author: User
Tags imap mx record nslookup

SendMail installation, you first have to ensure that the domain name provider for your host to do the MX record of the domain name resolution. The MX record I made is as follows.


Type: MX (10)

Host Name:

At the same time to host a of a record.

Test if the MX record is in effect, you can use the Nslookup


> Set Q=MX


You will see whether your MX record is in effect from the information displayed in the system.

REDHAT7.0 installation is complete, the system has installed the SENDMAIL-CF-8.11.0-8.I386.RPM package by default, please check/etc/ Is there a file, if not, install the SENDMAIL-CF-8.11.0-8.I386.RPM package in the Linux CD.



Cwlocalhost ABC


Add to: RELAY ( is my IP)

/etc/mail/local-host-names (add an alias, in order to receive


Letter of the format)

In order to users can use software such as Foxmail,outlook to receive letters. You need to install IMAP. Open the system's POP3 port.

Please check to see if the/usr/sbin/contains ipop2d, ipop3d files, if not, install the imap-4.7c2-12.i386.rpm package.



Default: Disable=yes instead: Disable=no


Default: Disable=yes instead: Disable=no


Default: Disable=yes instead: Disable=no


Default: Disable=yes instead: Disable=no

At last:

/etc/rc.d/init.d/xinetd restart

Add and remove users from the mail system:

Add to:

#/user/sbin/useradd Username Mail

#passwd username

#chsh username

/bin/true (update user's shells)


#//usr/sbin/userdel username

At this point, if your MX record resolves successfully and works correctly, you can send and receive mail via Foxmail,outlook on Windows client, setting: Email Address:


, account: Username, password: Network administrator will tell you,

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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: and provide relevant evidence. A staff member will contact you within 5 working days.