一.mail基本配置 1.配置:vim /etc/mail.rc 在文件末尾追加以下内容: set from=@.com # 别名<123456789@163.com> set smtp=smtphz.qiye..com set smtp-auth-user=@.com set smtp-auth-password=xxx set smtp-auth=login # 两种常用模式:tls.ssl,如果使用的是后者,则password填写授权码而不是密码 set ssl-verify=ignor…