root@LeeKwen:~# opkg update
root@LeeKwen:~# opkg install msmtp
Installing 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 mutt
root@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.example
host mail.126.com
from username@126
openwrt 发送邮件
最新推荐文章于 2024-08-01 23:48:44 发布