In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-08 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article is about how to use the mail command in Linux. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Linux common commands the mail command is a command line tool for sending and receiving e-mail. The operating interface is not as easy to use as elm or pine, but the function is very complete.
1. Mail server: qmail sendmail postfix (included with CentOS 6)
Protocol: SMTP
Port: 25
Client: mail,mutt
two。 Service file\ 1. / etc/init.d/postfix status
\ 2. Lsof-iRV 25
3. Send the email command 1.mail
Mail-s "title" email address
Mail-s "hello world" 623799533@qq.com / hosts
Echo "body | mail-s" hello world "623799533@qq.com
Mailq views the queues for sending messages
2.mutt-> same as mail
Mutt-s ""
4. There are two ways for enterprise mail to start service 1. Start the postfix service directly
two。 Rely on third-party smtp services
1.vi / etc/mail.rc
Send mail from qq.comset from=62379@163.com smtp=smtp.163.comset smtp-auth-user=62379 smtp-auth-password=qq@123 smtp-auth=login
Thank you for reading! This is the end of this article on "how to use mail commands in Linux". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
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.