From nobody Mon Oct 10 23:59:06 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 4MmbVZ5wjHz4fKfX for ; Mon, 10 Oct 2022 23:59:18 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mail-vk1-xa36.google.com (mail-vk1-xa36.google.com [IPv6:2607:f8b0:4864:20::a36]) (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 4MmbVZ1Nscz3dWP for ; Mon, 10 Oct 2022 23:59:18 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: by mail-vk1-xa36.google.com with SMTP id a6so3955731vkm.9 for ; Mon, 10 Oct 2022 16:59:18 -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=Y1ODLFczTZtl9GMvsHwo7QOcDNSsMXrKROwErAPAM+M=; b=Trho6HjZCwCxJjidYmmBugYUAb2k1OVd9aZm9WqDNFFNM3yB8ZTPRanyN4qgQnnWXk lkXzGBplhGpwlL4v5WdwSo6DwdHaxTYnAEIWGxE82Qw3CxoPJSxUqArp7FHOer73AoMv /kS10JIeI7xXWkiTzgJ9zaDJtHKwBj9fSZSkQoCpV/ZDwqCoccrT8viOQhTOZpY3tKlx tCZ55wJjZGD4xD7OiHIczHiJG/Fd6+4LJwBvyaRIM2lL3VgfaXmaTTpOpLOzljbmEWbd h3+c0ObfEfmnVmdV5DGcA5ZwZezRsuzpK9wGLdO33QwKaJkcWIBI397Qn4wwivTnWPB1 syAA== 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=Y1ODLFczTZtl9GMvsHwo7QOcDNSsMXrKROwErAPAM+M=; b=6WV/SbMeA6zAqThPgI30EWj2Cyo0NDAeYub4cC73swVroEw4nMn/pJRswVNht79Gz3 PxkMp1/8Gxd749R4Xv+FbD9QMPVxVh9SukrJCyEOgvKuLa6YrCvtll4JTr6hXbwx8UhT bWtaMFfaovS25qUNNIKtqKPH3h1XZgVdpT7IP5ArViuNovI4jTG2wp5ZOEQy9Q6Jd9Wx 6/eBHz44WjR2dkQxesft4YbPTafn2YFAi+PXAPHn8tg5tBeQrAkGTR2vWXOSOGi10Q0F Dr/GMwFQUXVaOC8ZiTh1a0Pt5qDarTWnGAqqj1ll+ZDpGeosPEjcBoKS0vI++yqdnvGU DG7A== X-Gm-Message-State: ACrzQf11u98rWXVt3JseAj4n2Y5uw744CZ/Sx5ph2efJJ7F3KfQLxrQD OSJMCct6h4KzrU5HIftE00i0UbQxHPzrKBFFMiMADEcys/aQoA== X-Google-Smtp-Source: AMsMyM77+bCKgHe2y1lQqcY+VY2eoRN1CWlp8Xft7T89r+PiywQQ9iVyL602BhNWv/66glqFGTLellw9sKcOYJpUpi4= X-Received: by 2002:a1f:1dc6:0:b0:3ab:5e82:64fb with SMTP id d189-20020a1f1dc6000000b003ab5e8264fbmr9292187vkd.11.1665446357597; Mon, 10 Oct 2022 16:59:17 -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> <9715f0aa-2ad7-70c1-1482-6f56ad5e3bf7@bluerosetech.com> In-Reply-To: From: paul beard Date: Mon, 10 Oct 2022 16:59:06 -0700 Message-ID: Subject: Re: pkg upgrade vs building from source To: Mel Pilgrim Cc: FreeBSD-questions Content-Type: multipart/alternative; boundary="0000000000008981cf05eab6f23c" X-Rspamd-Queue-Id: 4MmbVZ1Nscz3dWP X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=Trho6HjZ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of paulbeard@gmail.com designates 2607:f8b0:4864:20::a36 as permitted sender) smtp.mailfrom=paulbeard@gmail.com X-Spamd-Result: default: False [-3.92 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.92)[-0.920]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::a36:from]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N --0000000000008981cf05eab6f23c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Oct 10, 2022 at 6:02 AM Mel Pilgrim wrote: > 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-sa= sl > > pkg and see if you still get the error. > > > > It's the plain flavor. > > > > I don't see a -sasl variant=E2=80=A6? > > 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 suppor= t. > > 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=3D= off. > > With the working build installed, what are the outputs of the following > commands: > > $ pkg options postfix > postfix - BDB: off postfix - BLACKLISTD: on postfix - CDB: off postfix - DOCS: on postfix - EAI: on postfix - INST_BASE: off postfix - LDAP: off postfix - LMDB: off postfix - MYSQL: off postfix - NIS: off postfix - PCRE2: on postfix - PGSQL: off postfix - SASL: off postfix - SASLKMIT: off postfix - SASLKRB5: off postfix - SQLITE: off postfix - TEST: on postfix - TLS: on > $ postconf -A > > postconf -A cyrus It all works now. --=20 Paul Beard / www.paulbeard.org/ --0000000000008981cf05eab6f23c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Mon, Oct 10, 2022 at 6:02 AM Mel P= ilgrim <list_freebsd@bl= uerosetech.com> wrote:
On 2022-10-09 14:10= , paul beard wrote:
>=C2=A0 =C2=A0 =C2=A0The origin is the same for all three pkgs.=C2=A0 pk= g info will show the
>=C2=A0 =C2=A0 =C2=A0flavour.=C2=A0 If you need cyrus support enabled, i= nstall the postfix-sasl
>=C2=A0 =C2=A0 =C2=A0pkg and see if you still get the error.
>
> It's the plain flavor.
>
> I don't see a -sasl variant=E2=80=A6?

You wouldn't.=C2=A0 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.=C2=A0 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 suppo= rt.

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= =3Doff.

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

$ pkg options postfix

postfix - BDB: off
= postfix - BLACKLISTD: on
postfix - CDB: off
postfix - DOCS: on
pos= tfix - EAI: on
postfix - INST_BASE: off
postfix - LDAP: off
postfi= x - LMDB: off
postfix - MYSQL: off
postfix - NIS: off
postfix - PC= RE2: on
postfix - PGSQL: off
postfix - SASL: off
postfix - SASLKMI= T: off
postfix - SASLKRB5: off
postfix - SQLITE: off
postfix - TES= T: on
postfix - TLS: on


$ postconf -A

postconf -A
cyrus
=C2=A0
It all works no= w.=C2=A0

--
Paul Beard / www.paulbeard.org/
--0000000000008981cf05eab6f23c--