set use_from=yes
set envelope_from=yes
set move=no
set include
set pager_stop
set pager_index_lines=4
set sort=reverse-date-received
set smart_wrap
set nomarkers
set mime_forward
set copy
#set beep_new=yes
set charset="utf-8"
set send_charset = "utf-8"
charset-hook !utf-8 gb2312
set assumed_charset="utf-8:gb2312:gb18030:gbk"
charset-hook ^us-ascii$ gb2312
charset-hook ^iso-8859-1$ gb2312
set rfc2047_parameters=yes
set from = "xxxxx@aliyun.com"
set realname = "zsxwz"
set imap_user = "xxxxx@aliyun.com"
set imap_pass = "xxxx"
set sendmail = "/data/data/com.termux/files/usr/bin/msmtp"
set use_from = yes
set envelope_from = yes
set folder = "imaps://imap.aliyun.com:993"
set spoolfile = "+INBOX"
set postponed ="+[Gmail]/Drafts"
set header_cache =~/.mutt/cache/headers
set message_cachedir =~/.mutt/cache/bodies
set certificate_file =~/.mutt/certificates
auto_view text/html
alternative_order text/plain text/enriched text/html
配置发件.msmtprc:
account default
host smtp.aliyun.com
port 465
tls on
tls_starttls off
auth login
user xxxx@aliyun.com
password xxxxxxx
from xxxx@aliyun.com
tls_certcheck off