Debian GNU/Linux 11.4 (bullseye), Linux 5.10.0-17-amd64
Installed OpenSMTPD 6.8.0p2-3 amd64
(including opensmtpd-extras 6.7.1-2 amd64
) and tried to test sending a mail, but every smtp
call (except smtp -h
) results in this error message:
~# smtp -v
smtp: SSL_CTX_load_verify_locations: No such file or directory
Server itself is running:
:~# telnet localhost 25
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 SERVERNAME.local ESMTP OpenSMTPD
quit
221 2.0.0 Bye
Connection closed by foreign host.
Where is this error message generated? Which file or directory exactly is he looking for? Searching the internet for this error message gives me zero results.
smtpd.conf
looks like this:
# $OpenBSD: smtpd.conf,v 1.10 2018/05/24 11:40:17 gilles Exp $
# This is the smtpd server system-wide configuration file.
# See smtpd.conf(5) for more information.
table aliases file:/etc/aliases
# To accept external mail, replace with: listen on all
#
listen on localhost
action "local" maildir alias <aliases>
action "relay" relay host "smtp://mailrelay.local" mail-from "@mydomain.info"
# Uncomment the following to accept external mail for domain "example.org"
#
# match from any for domain "example.org" action "local"
match for local action "local"
match from local for any action "relay"