如何检查 Postfix 编译时是否支持 Dovecot SASL?

Kin*_*oul 5 postfix installation dovecot sasl debian-jessie

Dovecot指令指出

从版本 2.3 开始,Postfix 通过 Dovecot SASL 支持 SMTP AUTH,如 Dovecot 1.0 系列中引入的那样。如果使用从二进制文件(例如 .rpm 或 .deb 文件)获取的 Postfix,您可以通过运行以下命令来检查 Postfix 是否编译为支持 Dovecot SASL:

postconf -a
Run Code Online (Sandbox Code Playgroud)

一旦您确认您安装的 Postfix 支持... Dovecot SASL

我得到的输出是:

cyrus
dovecot
Run Code Online (Sandbox Code Playgroud)

嗯,这对某些人来说可能是一个微不足道的问题,但如何验证 Dovecot SASL 支持?输出是否dovecot意味着它支持Dovecot SASL?如果不是,应该有什么输出来表明它?

Debian Jessie、Dovecot 2.2.13、Postfix 2.11.3

Mic*_*ton 2

手册postconf(1)页(您应该阅读)解释道:

\n\n
       -a     List  the available SASL server plug-in types.  The SASL plug-in\n              type is selected with the smtpd_sasl_type configuration  parame\xe2\x80\x90\n              ter by specifying one of the names listed below.\n\n              cyrus  This  server  plug-in  is available when Postfix is built\n                     with Cyrus SASL support.\n\n              dovecot\n                     This  server  plug-in  uses  the  Dovecot  authentication\n                     server,  and  is available when Postfix is built with any\n                     form of SASL support.\n\n              This feature is available with Postfix 2.3 and later.\n
Run Code Online (Sandbox Code Playgroud)\n