In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-08 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1, install mutt
Sudo apt-get install mutt
2, install msmtp
Sudo apt-get install msmtp
3, set mutt
/ etc/Muttrc # system global settings ~ / .muttrc # use a system user raspberrypi# vim ~ / .muttrc set sendmail= "/ usr/bin/msmtp" set use_from=yesset realname= "name_post" # Sender nickname set editor= "vi" set from=xxx@xxxx.com # Sender mailbox set envelope_from=yesset crypt_use_gpgme=no#tls off
4, set msmtp
Create ~ / .msmtprc and ~ / .msmtp.log as configuration and log files, respectively
Raspberrypi# vim ~ / .msmtprcaccount defaulthost smtp.xxxx.com # you can view user xxxx # in mailbox settings. It must be part of the from xxxx@xxxx.compassword 123456 # mailbox password before mailbox @ (possibly an authorization code) auth plainlogfile ~ / .msmtp.log
5. Check whether the SMTP server supports authenticated TLS encryption
Raspberrypi# msmtp-host=smtp.sina.com-serverinfo SMTP server at smtp.sina.com (xk-6-242-a8.bta.net.cn [202.108.6.242]), port 25: smtp-5-121.smtpsmail.fmail.xd.sinanode.com ESMTPCapabilities: STARTTLS: Support for TLS encryption via the STARTTLS command AUTH: Supported authentication methods: PLAIN LOGIN This server might advertise more or other capabilities when TLS is active.
It can be seen that authentication is supported (if the last item in .muttrc is not supported, it is generally supported if it is not tested).
6. Test email
Echo body | mutt-s theme xxxx@xx.com-an attachment
Summary
The above is the installation and configuration tutorial of raspberry pie msmtp and mutt introduced by the editor. I hope it will be helpful to you. If you have any questions, please leave me a message and the editor will reply to you in time. Thank you very much for your support to the website!
If you think this article is helpful to you, you are welcome to reprint it, please indicate the source, thank you!
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.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.