dovecot 错误未知设置:unix_listener

dovecot 错误未知设置:unix_listener

我正在尝试启用 postfix 身份验证。我正在编辑本节/etc/dovecot/conf.d/10-master.conf

# Postfix smtp-auth
unix_listener /var/spool/postfix/private/auth {
    mode = 0666
    user = postfix
    group = postfix
}

但是我重新启动 dovecot 后出现这个错误:

Starting Dovecot Imap: doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-master.conf line 88: Unknown setting: unix_listener
                                                       [FAILED]

答案1

您应该将此unix_listener块放在另一个service auth块内,如下所示:

service auth {
    unix_listener /some/path { ... }
}

相关内容