在monit安装程序中,出现错误->;Sendmail:身份验证失败--找不到支持的身份验证方法
在/etc/monit/monitrc I中添加了以下块:在monit安装程序中,出现错误->;Sendmail:身份验证失败--找不到支持的身份验证方法,sendmail,monit,Sendmail,Monit,在/etc/monit/monitrc I中添加了以下块: set mailserver 'smtp.gmail.com' port 587 username 'xy@z.com' password 'whatever' 但它在日志中显示上述错误: Sendmail: Authentication failed -- no supported authentication methods found 使用以下命令: set mailserver
set mailserver 'smtp.gmail.com' port 587
username 'xy@z.com'
password 'whatever'
但它在日志中显示上述错误:
Sendmail: Authentication failed -- no supported authentication methods found
使用以下命令:
set mailserver smtp.gmail.com port 587
username "xy@z.com" password "whatever"
using tlsv1
注意:您需要启用
Gmail
帐户中的IMAP
设置,以便通过第三方软件发送邮件。查看以了解更多信息。不确定在上述配置中为“使用”参数设置什么值。