Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Aug 2020 10:55:56 -0400
From:      George Mitchell <george+freebsd@m5p.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: 11.4 sendmail with SASL and ports openssl?
Message-ID:  <cf7094aa-9691-c59e-211c-bdb126c5f5ea@m5p.com>
In-Reply-To: <uh7lfil70nx.fsf@P142.sics.se>
References:  <uh7lfil70nx.fsf@P142.sics.se>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--CgbEoFU0uDuvHpxJvdmhYyOKjXFzQfDuf
Content-Type: multipart/mixed; boundary="dmdZZG5GBscG8Lb92L1sriWxwYXolxkWS";
 protected-headers="v1"
From: George Mitchell <george+freebsd@m5p.com>
To: freebsd-stable@freebsd.org
Message-ID: <cf7094aa-9691-c59e-211c-bdb126c5f5ea@m5p.com>
Subject: Re: 11.4 sendmail with SASL and ports openssl?
References: <uh7lfil70nx.fsf@P142.sics.se>
In-Reply-To: <uh7lfil70nx.fsf@P142.sics.se>

--dmdZZG5GBscG8Lb92L1sriWxwYXolxkWS
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 2020-08-11 09:49, Bengt Ahlgren wrote:
> I have since long compiled sendmail in base with SASL using a src.conf
> like this:
>=20
> # sendmail with SASL required for outgoing SMTP AUTH, see:
> # https://www.freebsd.org/doc/en/books/handbook/SMTP-Auth.html
> # depends on port security/cyrus-sasl2
> SENDMAIL_CFLAGS=3D-I/usr/local/include/sasl -DSASL
> SENDMAIL_LDFLAGS=3D-L/usr/local/lib
> SENDMAIL_LDADD=3D-lsasl2
>=20
> Since I'm still using 11.4, I had to start using openssl from ports due=

> to qt5 5.15.  Then the above didn't work anymore, so a bit reluctantly =
I
> added -I/usr/local/include to the CFLAGS above, fearing that some other=

> random include file could be picked up.  It however compiled and the
> resulting binary is linked thus:
>=20
> # ldd /usr/obj/usr/src/usr.sbin/sendmail/sendmail
> /usr/obj/usr/src/usr.sbin/sendmail/sendmail:
>         libsasl2.so.3 =3D> /usr/local/lib/libsasl2.so.3 (0x8008db000)
>         libutil.so.9 =3D> /lib/libutil.so.9 (0x800af9000)
>         libssl.so.11 =3D> /usr/local/lib/libssl.so.11 (0x800d0d000)
>         libcrypto.so.11 =3D> /usr/local/lib/libcrypto.so.11 (0x80100000=
0)
>         libwrap.so.6 =3D> /usr/lib/libwrap.so.6 (0x8014cb000)
>         libc.so.7 =3D> /lib/libc.so.7 (0x8016d4000)
>         libdl.so.1 =3D> /usr/lib/libdl.so.1 (0x801a8b000)
>         libthr.so.3 =3D> /lib/libthr.so.3 (0x801c8c000)
>=20
> Does this look right?  Are there any know issues with this?
>=20
> Thanks,
>=20
> Bengt
> [...]

I've run into enough problems over SSL with qt5 and FreeBSD 11 that I
have been running this command:

cd /usr/ports; svn update -r541317 Mk/Uses/qt.mk devel/qt5 */qt5-*

after every svn update to circumvent the very problem you're seeing.
For some reason or other, I haven't yet been able to muster a whole
lot of enthusiasm for updating to FreeBSD 12 yet.         -- George


--dmdZZG5GBscG8Lb92L1sriWxwYXolxkWS--

--CgbEoFU0uDuvHpxJvdmhYyOKjXFzQfDuf
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEENdM4ZHktsJW5kKZXwRES3m+p4fkFAl8ysYIACgkQwRES3m+p
4flh9RAAtRKLqJAmecmoFWmXRFkP/AlMr6Sd6HdHg/2Snv5bor3z3MhXN4NoQZDA
MchLa5Rx1UZPX/10/r2lOd6IvnJeXkM4DDIyu64GIcqgSdj2jNUK+Rb3HR6Qojm6
uAdaQjTrMydot8qe2LTARcofoJynwM5HuQxXdKcVy3Xge0l5xXxcjyxdEx59rYiD
bJ+WJE6FDn3WQ9tFNZDqXWcCgBuGlvBeTh9+5ZXqPeaeK4sf+O+HFXfzOEzGJlNf
8nH4x6y0wqdAw/vRoBmiOWUPnitPAt0NLRcM7NITSWzkxR5R/Ri0e/En+6yBoDQz
8/ZbOHsberlur6FegZqJgopWBRk/ybdC538uwVgDj2WSDTeUwyEVJym8jL7id//o
pz0w3oqJP7RyT2GmRktpz79ZqFmzsRBTncEgLHPV03CHsVNiSdRWvoSf8G2VsUca
39pPt2dVqAv6iI+hvbCaj0+79AMWr+to9aKHeGRYvMpY2/DV9uCatWUT1SKRdAYi
rzDdIY6AG8Ju9Xjb5+75kLXS8hKJaMAmLBzPABknREcML2uk4rYJmT2kua+zezZa
lkc9mT+ZPwPkeJL6HKytPWpqkb0eRtvSCVY7hwfiY76IPfFuvvbmuOkGdV9ckuc1
35xNP9qJ//JuETayVZ4emKqv+mjOoWKY2TiaIfxP56wq6WkWevo=
=iiT7
-----END PGP SIGNATURE-----

--CgbEoFU0uDuvHpxJvdmhYyOKjXFzQfDuf--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cf7094aa-9691-c59e-211c-bdb126c5f5ea>