Re: pkg upgrade vs building from source

From: Derek Schrock <dereks_at_lifeofadishwasher.com>
Date: Sat, 08 Oct 2022 23:40:59 UTC
On Sat, Oct 08, 2022 at 11:35:39AM EDT, paul beard wrote:
> My skepticism over pkg doing what I expect grows after recent events. I
> decided after I rebuilt this freebsd instance that I would say goodbye to
> installing from source and allow pkg to manage it all. Surely by now, it's
> mature enough to handle it.
> 
> Reader, it is not.
> 
> I allowed it to upgrade postfix the other day and discovered that it no
> longer worked;
> Oct  8 03:15:16 <mail.warn> www postfix/smtp[65148]: warning: unsupported
> SASL client implementation: cyrus
> Oct  8 03:15:16 <mail.crit> www postfix/smtp[65148]: fatal: SASL library
> initialization
> Oct  8 03:15:17 <mail.warn> www postfix/master[1157]: warning: process
> /usr/local/libexec/postfix/smtp pid 65148 exit status 1
> Oct  8 03:15:17 <mail.warn> www postfix/master[1157]: warning:
> /usr/local/libexec/postfix/smtp: bad command startup -- throttling

From the same place you ran `make install` to install postfix from
ports, what does this return?   `make -V PORT_OPTIONS`

Also, `fgrep -e smtpd_sasl_type -e cyrus /usr/local/etc/postfix/main.cf`

It sounds as if your local ports tree is configured to enable SASL and
your config is using cyrus?

Default port options do not enable SASL so in turn FreeBSD pkg repos
won't have this enabled either.