mail/postfix with Dovecot SASL

olli hauer ohauer at
Wed Mar 23 12:41:30 UTC 2016

On 2016-03-23 13:22, Miroslav Lachman wrote:
> Hi,
> the older version of Postfix had options for Cyrus SASL, Dovecot SASL and Dovecot 2 SASL. I made 3 local meta ports do postfix-sals2 (cyrus library) postfix-dovecot and postfix-dovecot2. I know mail/postfix has SASL built in on Dovecot, but I am not sure if it will work with Dovecot 1.x and Dovecot 2.x (the same package installed on two different machines with different versions of Dovecot) We are using Dovecot's 'deliver' to deliver messages in to maildirs.
> Will this new Postfix 3.1 work by default with both Dovecot versions?

Sure, it will work.
The Dovecot SASL is directly implemented in postfix, the OPTION was only used to enable the code in postfix, set dovecot SASL as the default and install dovecot as dependency.
Tracking dovecot as RUN_DEPENDENCY was not required at any time (only to automatically install dovecot).

In case you choose Cyrus SASL, dovecot SASL will be also build in, there is no exclude. The only thing that changes in this case is "smtpd_sasl_type = dovecot" vs. "smtpd_sasl_type = cyrus", you can check this with the command `postconf -a'.


More information about the freebsd-ports mailing list