I tried to compile opensmtpd with libressl 3.7.3 (without --with-bundled-libtls). Crashes are back again.

There is a ktrace dump in attachment but I don't know if it is useful.

I would like to know if anybody has 7.3.0p0 version functional with libressl?

Thanks

Dne 19. 06. 23 v 15:23 Omar Polo napsal(a):
On 2023/06/19 12:55:14 +0200, Petr <i...@admin.jevklidu.cz> wrote:
It's working now. Here is how I build it:

./configure --sysconfdir=/usr/local/etc/mail/
--with-path-CAfile=/usr/local/share/certs/ca-root-nss.crt
--with-bundled-libtls --with-bundled-libtls --with-bundled-libasr
--with-libevent=/usr/local --with-user-smtpd=_smtpd
--with-user-queue=_smtpq --with-path-mbox=/var/mail

Thanks for the follow-up, I wasn't understanding how it could crash
handling that filter event.

The important bit is --with-bundled-libasr.  There's a bug in the
configure where it fails to recognize as missing some functions when
libasr is installed, and that causes these seemingly strange issues
later on at runtime.

On the other hand, libasr-portable was discontinued and I've filed an
bug on freebsd' bugzilla to remove it.  Did the same for void linux
and will notify other repositories too as I manage.  it has at least a
couple of widely-known issues that were fixed in OpenBSD and
backported in the bundled version.

I have added --with-bundled-libtls --with-bundled-libasr

With there options I was not able to build it with libressl 3.7.3 and
3.8.0 so I build it with OpenSSL from base and it's working now.

Here is error when I tried to build it with libressl-3.7.3:

yeah, --with-bundled-libtls and libretls don't go together yet.  You
can either use the bundled libtls with OpenSSL, or just use libretls.


Thanks!


Omar Polo

Attachment: smtpd.tar.bz2
Description: application/bzip

Reply via email to