mail-mta/opensmtpd has an issue with recent openssl libraries resulting in a segfault. Error on start shows up in logs as: smtpd[9433]: segfault at 0 ip (null) sp 00007fffa8d05958 error 14 in smtpd[400000+69000] The bug is documented on upstream here: https://github.com/OpenSMTPD/OpenSMTPD/issues/650 Upgrading to 5.7.3p2 or downgrading openssl fixes issue. I had no problems manually upgrading to 5.7.3p2 on amd64. Apologies if this is in wrong component.
Same crash opensmtpd/openssl here. opensmtpd also crashes with libressl-2.2.6 or libressl-2.3.2-r1. The crash may also happen when calling: makemap my-secrets-file.
Created an ebuild manually for 5.7.3p2 too, works with openssl-1.0.2f. But it does still crash with with libressl-2.2.6 and libressl-2.3.2-r1.
F Kater: It looks from this bug that libressl support is fairly in progress and people complaining of things >2.2.0 not working. Not seeing an update so might not be a version that works. You might want to add your info to the upstream bug at: https://github.com/OpenSMTPD/OpenSMTPD/issues/534 Or open a new one on their github. There is also a makemap bug posted a few days ago here which says patch is still in progress. Not sure if this matches the errors you were getting: https://github.com/OpenSMTPD/OpenSMTPD/issues/653
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e4002e6c80f1fee3041ab4dd1c1560b947ea875