In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to use sendmail to configure the enterprise simple mail system, I hope you will gain something after reading this article, let's discuss it together!
To install sendmail, you must first make sure that the domain name provider has done the domain name resolution recorded by MX for your host. The MX record I made is as follows.
Name: abc.com
Class type: mx (10)
Hostname: mx1.abc.com
At the same time, the A record of mx1.abc.com is made to the host computer.
To test whether the MX record is valid, you can use nslookup
# nslookup
> set q=mx
> abc.com
At this point, you will see whether your MX record is valid from the information displayed by the system.
After REDHAT7.0 is installed, the system has installed the sendmail-cf-8.11.0-8.i386.rpm package by default. Please check whether there is a sendmail.cf file under / etc/. If not, install the sendmail-cf-8.11.0-8.i386.rpm package, which is available on the linux CD.
Configuration:
/ etc/sendmail.cf
Cwlocalhost abc mx1.abc.com
/ etc/mail/access
Add:
1.2.3.4 RELAY (1.2.3.4 is my IP)
/ etc/mail/local-host-names
Abc.com (add an alias to collect
[url=mailto:user@abc.com] user@ abc.com[ / url]
A letter in format)
In order for users to use software such as foxmail,outlook to receive mail. You need to install imap. Open the pop3 port on the system.
Please check to see if there are ipop2d and ipop3d files under / usr/sbin/. If not, install the imap-4.7c2-12.i386.rpm package.
Configuration:
/ etc/xinetd.d/ipop2
Default: disable=yes changed to: disable=no
/ etc/xinetd.d/ipop3
Default: disable=yes changed to: disable=no
/ etc/xinetd.d/ipop3
Default: disable=yes changed to: disable=no
/ etc/xinetd.d/pops
Default: disable=yes changed to: disable=no
Finally:
/ etc/rc.d/init.d/xinetd restart
Addition and deletion of mail system users:
Add:
# / user/sbin/useradd username mail
# passwd username
# chsh username
/ bin/true (update the user's shells)
Delete:
# / / usr/sbin/userdel username
At this point, if your MX record is parsed successfully and works normally, and the above operations are correct, you can send and receive email through foxmail,outlook on the windows client. Set: email address:
[url=mailto:username@abc.com] username@ abc.com[ / url]
, account: username, password: the network administrator will tell you, pop3:mx1.abc.com smtp:mx1.abc.com
After reading this article, I believe you have a certain understanding of "how to use sendmail to configure an enterprise simple mail system". If you want to know more about it, welcome to follow the industry information channel, thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.