Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Oct 2022 13:37:46 -0700
From:      Mel Pilgrim <list_freebsd@bluerosetech.com>
To:        paul beard <paulbeard@gmail.com>, FreeBSD-questions <freebsd-questions@freebsd.org>
Subject:   Re: pkg upgrade vs building from source
Message-ID:  <8ffd94e3-6113-c364-e95e-1e855c7b8440@bluerosetech.com>
In-Reply-To: <CAMtcK2rPSxd0DignXvzw%2BnNc1U1iYpBjGpN%2BtqA4zevUO4qkQA@mail.gmail.com>
References:  <CAMtcK2rPSxd0DignXvzw%2BnNc1U1iYpBjGpN%2BtqA4zevUO4qkQA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2022-10-08 8:35, 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
> 
> I went to the port directory and did a deinstall/reinstall and all is 
> well. Postfix flush cleared out the test emails I had queued up and no 
> errors in maillog. No changes to teh configuration files, it just worked 
> properly after a proper install.

When you installed postfix via pkg, did you install postfix, or 
postfix-sasl?  The postfix port is flavoured:

$ pkg search -r FreeBSD -x 'postfix(-.+)?-3.7.2'
postfix-3.7.2_1,1              Secure alternative to widely-used Sendmail
postfix-ldap-3.7.2_1,1         Secure alternative to widely-used 
Sendmail (with OpenLDAP and Cyrus SASL support)
postfix-sasl-3.7.2_1,1         Secure alternative to widely-used 
Sendmail (with Cyrus SASL support)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8ffd94e3-6113-c364-e95e-1e855c7b8440>