In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "how to install Sendmail server software under Linux". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
1. Download the latest version from www.sendmail.org (this snedmail needs to be upgraded to the latest version, because its upgrade is mainly due to security vulnerabilities). The sendmail-8.12.2.tar.gz is used here.
2 、 cd / usr/local/src/
3. Download the file to: / usr/local/src
4 、 tar zxvf sendmail-8.12.2.tar.gz
5 、 cd / usr/local/src/sendmail-8.12.2
6 、 chmod go-w / / etc/ etc/mail / usr / var/ var/spool/ var/spool/mqueue
7 、 chown root / / etc/ etc/mail / usr / var/ var/spool/ var/spool/mqueue
8 、 cd / usr/local/src/sendmail-8.12.2/sendmail
9 、 sh Build
10 、 cd / usr/local/src/sendmail-8.12.2/cf/cf
11. The contents of the file sendmail.mc are as follows, you can modify the corresponding parts as needed.
Divert (- 1)
Dnl This is the macro config file used to generate the / etc/sendmail.cf
Dnl file. If you modify thei file you will have to regenerate the
Dnl / etc/sendmail.cf by running this macro config through the m4
Dnl preprocessor:
Dnl M4 / etc/sendmail.mc > / etc/sendmail.cf
Dnl You will need to have the Sendmail-cf pacage installed for this to work.
Include (`/ usr/local/src/sendmail-8.12.2/cf')
Define (`confDEF_USER_ID', `8 12')
OSTYPE (`linux')
Undefine (`UUCP_RELAY')
Undefine (`BITNET_RELAY')
Define (`confTO_CONNECT', `1m')
Define (`confTRY_NULL_MX_LIST',true)
Define (`confDONT_PROBE_INTERFACES',true)
Define (`PROCMAIL_MAILER_PATH', `/ usr/bin/procmail')
Define (`SMART_HOST',compaq.rd.xxx.com)
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.