openwrt 发送邮件
发布日期:2021-06-30 17:15:40 浏览次数:2 分类:技术文章

本文共 901 字,大约阅读时间需要 3 分钟。

root@LeeKwen:~# opkg updateroot@LeeKwen:~# opkg install msmtpInstalling msmtp (1.4.27-1) to root...Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/msmtp_1.4.27-1_ar71xx.ipk.Installing libopenssl (1.0.1h-1) to root...Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/libopenssl_1.0.1h-1_ar71xx.ipk.root@LeeKwen:~# opkg install muttroot@LeeKwen:~# cat /etc/msmtprc# Example for a system wide configuration file# A system wide configuration file is optional.# If it exists, it usually defines a default account.# This allows msmtp to be used like /usr/sbin/sendmail.account default# The SMTP smarthost.#host mailhub.oursite.examplehost mail.126.comfrom username@126.comauth logintls offuser username@126.compassword password123# Construct envelope-from addresses of the form "user@oursite.example".#auto_from on#maildoma

转载地址:https://leekwen.blog.csdn.net/article/details/53785415 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:TP-Link WR703N改openwrt后的相关配置
下一篇:使用ping命令进行连通性校验的shell脚本

发表评论

最新留言

很好
[***.229.124.182]2024年04月16日 17时16分06秒

关于作者

    喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!

推荐文章