Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Oct 2022 16:59:06 -0700
From:      paul beard <paulbeard@gmail.com>
To:        Mel Pilgrim <list_freebsd@bluerosetech.com>
Cc:        FreeBSD-questions <freebsd-questions@freebsd.org>
Subject:   Re: pkg upgrade vs building from source
Message-ID:  <CAMtcK2rR2YjmBGqS0LwDOs25GmakuvDUh7LGUT8MEWoC9SX3Sw@mail.gmail.com>
In-Reply-To: <b93d0056-78dc-72f3-2bf8-097945f68ea0@bluerosetech.com>
References:  <CAMtcK2rPSxd0DignXvzw%2BnNc1U1iYpBjGpN%2BtqA4zevUO4qkQA@mail.gmail.com> <8ffd94e3-6113-c364-e95e-1e855c7b8440@bluerosetech.com> <CAMtcK2rRHiYDsWiG6sz0gbKHiDvUmAk48hy950cK_5=ao6LwqQ@mail.gmail.com> <9715f0aa-2ad7-70c1-1482-6f56ad5e3bf7@bluerosetech.com> <CAMtcK2oEK6yw3BZzTjrYvAn=Ge64wLygCDPHygvJA=rTBchi3g@mail.gmail.com> <b93d0056-78dc-72f3-2bf8-097945f68ea0@bluerosetech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000008981cf05eab6f23c
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Mon, Oct 10, 2022 at 6:02 AM Mel Pilgrim <list_freebsd@bluerosetech.com>
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

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Mon, Oct 10, 2022 at 6:02 AM Mel P=
ilgrim &lt;<a href=3D"mailto:list_freebsd@bluerosetech.com">list_freebsd@bl=
uerosetech.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:sol=
id;border-left-color:rgb(204,204,204);padding-left:1ex">On 2022-10-09 14:10=
, paul beard wrote:<br>
&gt;=C2=A0 =C2=A0 =C2=A0The origin is the same for all three pkgs.=C2=A0 pk=
g info will show the<br>
&gt;=C2=A0 =C2=A0 =C2=A0flavour.=C2=A0 If you need cyrus support enabled, i=
nstall the postfix-sasl<br>
&gt;=C2=A0 =C2=A0 =C2=A0pkg and see if you still get the error.<br>
&gt; <br>
&gt; It&#39;s the plain flavor.<br>
&gt; <br>
&gt; I don&#39;t see a -sasl variant=E2=80=A6?<br>
<br>
You wouldn&#39;t.=C2=A0 Flavours don&#39;t have separate origins.<br>
<br>
&gt; If you are referring to the make config dialog, no cyrus/sasl support =
<br>
&gt; was added, just using the built-in dovecot support.<br>
<br>
The error messages in your original message come from enabling SASL in <br>
the smtp client without building with cyrus-sasl support.=C2=A0 Since, per =
<br>
your original message, that error went away when you switched from the <br>
public repo pkg back to your port build, that suggests the ports version <b=
r>
has cyrus-sasl included.<br>
<br>
&gt; no cyrus/sasl support was added, just using the built-in dovecot suppo=
rt.<br>
<br>
It&#39;s possible the postfix build process pulls in cyrus-sasl support if =
<br>
it&#39;s installed on the system at build time even when the port has SASL=
=3Doff.<br>
<br>
With the working build installed, what are the outputs of the following <br=
>
commands:<br>
<br>
$ pkg options postfix<br></blockquote><div><br></div>postfix - BDB: off<br>=
postfix - BLACKLISTD: on<br>postfix - CDB: off<br>postfix - DOCS: on<br>pos=
tfix - EAI: on<br>postfix - INST_BASE: off<br>postfix - LDAP: off<br>postfi=
x - LMDB: off<br>postfix - MYSQL: off<br>postfix - NIS: off<br>postfix - PC=
RE2: on<br>postfix - PGSQL: off<br>postfix - SASL: off<br>postfix - SASLKMI=
T: off<br>postfix - SASLKRB5: off<br>postfix - SQLITE: off<br>postfix - TES=
T: on<br>postfix - TLS: on</div><div class=3D"gmail_quote"><br></div><div c=
lass=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px =
0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-col=
or:rgb(204,204,204);padding-left:1ex"><br>
$ postconf -A<br>
<br>
</blockquote></div>postconf -A<br>cyrus<br><div>=C2=A0</div>It all works no=
w.=C2=A0<br class=3D"gmail-Apple-interchange-newline"><div><br></div>-- <br=
><div dir=3D"ltr" class=3D"gmail_signature">Paul Beard / <a href=3D"http://=
www.paulbeard.org/" target=3D"_blank">www.paulbeard.org/</a><br></div></div=
>

--0000000000008981cf05eab6f23c--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMtcK2rR2YjmBGqS0LwDOs25GmakuvDUh7LGUT8MEWoC9SX3Sw>