On 27.08.2019 21:25, Richard Narron wrote:
The OpenSMTPD portable version from https://github.com/OpenSMTPD/OpenSMTPD
works fine on Slackware64 current with OpenSSL 1.1.1c and gcc 9.2
It took me a while to get it to work though.
I first downloaded the "current" portable version from
And I got errors very similar to those of Denis Fateyev on Fedora 30.
Next I downloaded the portable version from github.com
and found that autoconf had not been run and this was no good.
Finally I discovered the post on the mailing list which mentioned the
"bootstrap" script and then I was able to download and build the portable
version from git.
The code shows version "6.6.0-portable".
It runs fine on Slackware64 current and I'm happy that it now works with
Your success pushed me to try 6.6.0 on CentOS 7 with OpenSSL 1.1.1c.
Can anyone tell me if changing to -lcrypto -lssl to -l:libssl.a
-l:libcrypto.a is the correct way to get OpenSSL 1.1.1c statically
compiled into OpenSMTPD? I ended up using these (and -pthreads -ldl) and
managed to build an RPM based on 6.0.3 RPM from CentOS 7.
The fresh RPM installed nicely on a clean CentOS 7 with their OpenSSH
1.0.2k and OpenSMTPD started too:
Aug 28 00:54:54 localhost smtpd: info: OpenSMTPD 6.6.0-portable starting
Aug 28 00:50:07 localhost smtpd: cfa3e1042696f77a mta connecting
Aug 28 00:50:07 localhost smtpd: cfa3e1042696f77a mta connected
Aug 28 00:50:07 localhost smtpd: cfa3e1042696f77a mta tls
Aug 28 00:50:07 localhost smtpd: cfa3e1042696f77a mta server-cert-check
Aug 28 00:50:07 localhost smtpd: cfa3e1042696f77a mta delivery evpid=953ab16d13e43b2f
from=<email@example.com> to=<t...@gmail.com> rcpt=<-> source="192.168.1.142"
relay="18.104.22.168 (lt-in-f27.1e100.net)" delay=3m12
s result="Ok" stat="250 2.0.0 OK 1566942607 w6si428635lfk.121 - gsmtp"
More testing will have to wait until tomorrow. :)