In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Use mail to send mail under Centos7
Modify the configuration file and configure the mail-related content (appended to the end of the configuration file)
[root@ProxyServer ~] # vi / etc/mail.rc
Set from=373416873@qq.com
Set smtp=smtp.qq.com
Set smtp-auth-user=373416873@qq.com
Set smtp-auth-password=password
Set smtp-auth=login
Set smtp-port=587
test
Echo "Hello, world" | mail-s "ceshi" 373416873@qq.com
If it is not successful, do the following
First, check whether the relevant service is installed.
[root@ProxyServer ~] # rpm-qa | grep mail
Libreport-plugin-mailx-2.0.9-19.el6.x86_64
Mailx-12.4-7.el6.x86_64
Procmail-3.22-25.1.el6.x86_64
Mailcap-2.1.31-2.el6.noarch
Sendmail-8.14.4-8.el6.x86_64
If the service is not secured, execute the following command to install the service
[root@ProxyServer ~] # yum install sendmail
[root@ProxyServer ~] # yum install mailx-y
[root@ProxyServer ~] # yum update libreport-plugin-mailx
[root@ProxyServer ~] # yum-y install sharutils
[root@ProxyServer ~] # yum install mutt
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.