【问题标题】:In monit setup got an error -> Sendmail: Authentication failed -- no supported authentication methods found在 monit setup 中出现错误 -> Sendmail: Authentication failed -- no supported authentication methods found
【发布时间】:2016-04-13 06:45:13
【问题描述】:

在 /etc/monit/monitrc 我添加了以下块:

set mailserver 'smtp.gmail.com' port 587
            username 'xy@z.com'
            password 'whatever'

但它在日志中显示上述错误:

Sendmail: Authentication failed -- no supported authentication methods found

【问题讨论】:

  • 不确定在上述配置中为“使用”参数设置什么值。

标签: sendmail monit


【解决方案1】:

使用这个:

set mailserver smtp.gmail.com port 587
    username "xy@z.com" password "whatever"
    using tlsv1

注意:您需要在您的Gmail 帐户中启用IMAP 设置才能通过第三方软件发送邮件。查看this了解更多信息。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-05-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-12-27
    • 2019-09-05
    • 1970-01-01
    相关资源
    最近更新 更多