Re: pkg upgrade vs building from source

From: Mel Pilgrim <list_freebsd_at_bluerosetech.com>
Date: Mon, 10 Oct 2022 13:02:05 UTC
On 2022-10-09 14:10, paul beard wrote:
>     The origin is the same for all three pkgs.  pkg info will show the
>     flavour.  If you need cyrus support enabled, install the postfix-sasl
>     pkg and see if you still get the error.
> 
> It's the plain flavor.
> 
> I don't see a -sasl variant…?

You wouldn't.  Flavours don't have separate origins.

> If you are referring to the make config dialog, no cyrus/sasl support 
> was added, just using the built-in dovecot support.

The error messages in your original message come from enabling SASL in 
the smtp client without building with cyrus-sasl support.  Since, per 
your original message, that error went away when you switched from the 
public repo pkg back to your port build, that suggests the ports version 
has cyrus-sasl included.

> no cyrus/sasl support was added, just using the built-in dovecot support.

It's possible the postfix build process pulls in cyrus-sasl support if 
it's installed on the system at build time even when the port has SASL=off.

With the working build installed, what are the outputs of the following 
commands:

$ pkg options postfix

$ postconf -A