After rebuilding, OpenSMTPD suddenly yelled syntax errors in a previously working config file. Apparently 'certificate' on a listen statement has been replaced with pki, so I modified my config. It now looks starts like this: /etc/mail # egrep -v '^(#|$)' /etc/mail/smtpd.conf | head -6 pki core.Techn0.eu certificate "/etc/mail/certs/core.Techn0.eu.crt" pki core.Techn0.eu key "/etc/mail/certs/core.Techn0.eu.key" pki core.Techn0.eu dhparams "/etc/mail/certs/core.Techn0.eu.dh" listen on lo0 listen on em0 inet4 tls pki core.Techn0.eu hostname core.Techn0.eu listen on em0 inet4 smtps pki core.Techn0.eu auth hostname core.Techn0.eu /etc/mail #
For some reason, it still fails to start, saying the certificate is missing: /etc/mail # smtpd -dv info: OpenSMTPD 5.4 starting debug: bounce warning after 4h debug: using "fs" queue backend debug: using "ramqueue" scheduler backend debug: using "ram" stat backend info: startup [debug mode] debug: init ssl-tree debug: loading pki information for core.techn0.eu smtpd: load_ssl_tree: missing certificate file for core.techn0.eu All the specified certificate/key/dh files are there and permissions seem not to be the issue, as I've tried with 644 and I still get the same error. Anything else I'm missing? Best regards, Nikola