安装好了这两个包之后,就是进行相关配置文件的配置了:
首先配置 mutt,系统全局设置配置文件在 /etc/Muttrc,如果使用某个系统用户,可以在~/.muttc中设置,没有该文件,就自己创建。
vi .muttrc
@H_502_14@ 1 setsendmail = " /usr/bin/msmtp "2 setuse_from = yes
3 setrealname = zhxia 4 setfrom = zhenghongxia @ anjuke.com
5 setenvelope_from = yes