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.

Name: abc.com

Type: MX (10)

Host Name: mx1.abc.com

At the same time to host a mx1.abc.com of a record.

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

#nslookup

> Set Q=MX

> abc.com

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 sendmail.cf file, if not, install the SENDMAIL-CF-8.11.0-8.I386.RPM package in the Linux CD.

Configuration:

/etc/sendmail.cf

Cwlocalhost ABC mx1.abc.com

/etc/mail/access

Add to:

1.2.3.4 RELAY (1.2.3.4 is my IP)

/etc/mail/local-host-names

ABC.com (add an alias, in order to receive

[Url=mailto:user@abc.com]user@abc.com[/url]

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.

Configuration:

/etc/xinetd.d/ipop2

Default: Disable=yes instead: Disable=no

/etc/xinetd.d/ipop3

Default: Disable=yes instead: Disable=no

/etc/xinetd.d/ipop3

Default: Disable=yes instead: Disable=no

/etc/xinetd.d/pops

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)

Delete:

#//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:

[Url=mailto:username@abc.com]username@abc.com[/url]

, account: Username, password: Network administrator will tell you, pop3:mx1.abc.com smtp:mx1.abc.com

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