Postfix

如何檢查 Postfix 是否在支持 Dovecot SASL 的情況下編譯?

  • October 23, 2016

Dovecot指令狀態:

從 2.3 版開始,Postfix 通過 Dovecot SASL 支持 SMTP AUTH,正如 Dovecot 1.0 系列中介紹的那樣。如果使用從二進製文件(例如 .rpm 或 .deb 文件)獲得的 Postfix,您可以通過執行以下命令檢查 Postfix 是否在編譯時支持 Dovecot SASL:

postconf -a

一旦你確認你安裝的 Postfix 支持…. Dovecot SASL

我得到的輸出是:

cyrus
dovecot

好吧,對某些人來說,這可能是一個微不足道的問題,但是您如何驗證 Dovecot SASL 支持?輸出是否dovecot意味著它支持 Dovecot SASL?如果不是,應該有什麼輸出來表明它?

Debian Jessie、Dovecot 2.2.13、Postfix 2.11.3

手冊頁(postconf(1)您應該閱讀)解釋說:

      -a     List  the available SASL server plug-in types.  The SASL plug-in
             type is selected with the smtpd_sasl_type configuration  parame‐
             ter by specifying one of the names listed below.

             cyrus  This  server  plug-in  is available when Postfix is built
                    with Cyrus SASL support.

             dovecot
                    This  server  plug-in  uses  the  Dovecot  authentication
                    server,  and  is available when Postfix is built with any
                    form of SASL support.

             This feature is available with Postfix 2.3 and later.

引用自:https://serverfault.com/questions/810769