From nobody Sun Oct 9 20:45:25 2022 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MlvFZ177Qz4fVSf for ; Sun, 9 Oct 2022 20:45:38 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mail-vs1-xe2e.google.com (mail-vs1-xe2e.google.com [IPv6:2607:f8b0:4864:20::e2e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MlvFY2HSGz3cN0 for ; Sun, 9 Oct 2022 20:45:37 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: by mail-vs1-xe2e.google.com with SMTP id h4so9568383vsr.11 for ; Sun, 09 Oct 2022 13:45:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=MmGOd1eB6TJvo/g9wnLICHKvf+ZcZeby0esOE2gF12c=; b=CgQKk2R+A5FEG1m5Oud9EiSNhg66N+drmAGe85arIeo7daQagjXtFO4QChaBAZTFVL xf66GkknXQuoo0dp6rvoJmbAo1/ry2LdoIHNbPLc5suyl8O1Dlr59ENzE0IL1DtlUDMg tzFhZRXMsVaIdPi1hsRJiQOikh7swvMswsx72gDPVTvCX/enO9jk6L3dX9vJZPSnyEga K0zWAxba62TNbMdyuL0Ms/W7gxh8RbDTfbS8MofRRinBMKZW49j9cOLbZhfVHh3+ho6a cZXconvi+vkf19d88r151kkvJb5gB1DXbjYDSMhAEJ0vc7Fv2EedQ5zyfcI4HezfH1Si 1VRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MmGOd1eB6TJvo/g9wnLICHKvf+ZcZeby0esOE2gF12c=; b=RKm4qS3kn2CejI+QWVKDU52rR4V+wAcFwm4PDg7V3TanM2ghPHmQ7pRcetLHhq8rfy 8jIZgyT0dMKif6UBg2/MutywIG8GPSUxD/pWxu4pZXPbZFAgpYjtLMAcmgPjk31G4TP8 xd9ETNXv4mJm04Bhbk1qaT8q55hsMiC84Gh8qhBnXUiNqwVRan9o3AsM0VV+O0ujRTsk rJUzO0LXylg3zRYDPy+Pu7iEczsvvrtzclP6u1D0Y15qMUevuOtbSilHhWqxY+mf/N35 FltJucmg3sa/iH875FOq/NGp+CNo1NalIbw+NilY0R+UlFJBBIemLNhznvNKNFrzWsrx ZwFA== X-Gm-Message-State: ACrzQf2m6voYq8sahfiO43xvWy4nHD+DeKfEFLuElpGSK7O43gdUN2aV +E+ljLXuCLPa2JHLqJ12Bwqws/e+CgAloH5IOio= X-Google-Smtp-Source: AMsMyM4TqoLdI7qRP5grrfx2uRHgkD2KkMMI6SGW+i80RE+Rq5DmNqvcNr1tMCcRC3rTrvq74lljJ7HLIAjcwGrMk6g= X-Received: by 2002:a05:6102:3310:b0:3a6:c9ec:3594 with SMTP id v16-20020a056102331000b003a6c9ec3594mr7324707vsc.11.1665348336426; Sun, 09 Oct 2022 13:45:36 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <8ffd94e3-6113-c364-e95e-1e855c7b8440@bluerosetech.com> In-Reply-To: <8ffd94e3-6113-c364-e95e-1e855c7b8440@bluerosetech.com> From: paul beard Date: Sun, 9 Oct 2022 13:45:25 -0700 Message-ID: Subject: Re: pkg upgrade vs building from source To: Mel Pilgrim Cc: FreeBSD-questions Content-Type: multipart/alternative; boundary="00000000000005246205eaa0202e" X-Rspamd-Queue-Id: 4MlvFY2HSGz3cN0 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=CgQKk2R+; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of paulbeard@gmail.com designates 2607:f8b0:4864:20::e2e as permitted sender) smtp.mailfrom=paulbeard@gmail.com X-Spamd-Result: default: False [-3.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.998]; NEURAL_HAM_SHORT(-0.97)[-0.971]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MID_RHS_MATCH_FROMTLD(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::e2e:from]; DKIM_TRACE(0.00)[gmail.com:+]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N --00000000000005246205eaa0202e Content-Type: text/plain; charset="UTF-8" On Sun, Oct 9, 2022 at 1:37 PM Mel Pilgrim wrote: > 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 www postfix/smtp[65148]: warning: > > unsupported SASL client implementation: cyrus > > Oct 8 03:15:16 www postfix/smtp[65148]: fatal: SASL library > > initialization > > Oct 8 03:15:17 www postfix/master[1157]: warning: process > > /usr/local/libexec/postfix/smtp pid 65148 exit status 1 > > Oct 8 03:15:17 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) > > pkg query %o-%v postfix mail/postfix-3.7.2_1,1 -- Paul Beard / www.paulbeard.org/ --00000000000005246205eaa0202e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Sun, Oct 9, 2022 at 1:37 PM Mel Pi= lgrim <list_freebsd@blu= erosetech.com> wrote:
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 no= w,
> it's mature enough to handle it.
>
> Reader, it is not.
>
> I allowed it to upgrade postfix the other day and discovered that it n= o
> longer worked;
> Oct =C2=A08 03:15:16 <mail.warn> www postfix/smtp[65148]: warnin= g:
> unsupported SASL client implementation: cyrus
> Oct =C2=A08 03:15:16 <mail.crit> www postfix/smtp[65148]: fatal:= SASL library
> initialization
> Oct =C2=A08 03:15:17 <mail.warn> www postfix/master[1157]: warni= ng: process
> /usr/local/libexec/postfix/smtp pid 65148 exit status 1
> Oct =C2=A08 03:15:17 <mail.warn> www postfix/master[1157]: warni= ng:
> /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 work= ed
> properly after a proper install.

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

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

>=C2=A0pkg query %o-%v postfix
= mail/postfix-3.7.2_1,1
--=C2=A0
Paul Beard / www.paulbeard.org/
--00000000000005246205eaa0202e--