On Sun, Apr 16, 2023 at 10:05:02PM +0300, Oleksandr wrote:
> > You now need to again post your configuration settings. Post the output
> > of:
> >
> # postconf -nf smtpd_tls_cert_file smtpd_tls_key_file smtpd_tls_chain_files
> # ls -l $(postconf -xh smtpd_tls_cert_file smtpd_tls_key_file
> smtpd_tls_chain_files)
> # grep -E '^-----(BEGIN|END) ' $(postconf -xh smtpd_tls_cert_file
> smtpd_tls_key_file smtpd_tls_chain_files)
>
> The first two commands are executed silently.
> The third command does nothing and "hangs" and does not return to the command
> line.
>
> File main.cf is in the attachment.
Not surprising, since, while you've commented out the old settings:
-smtpd_tls_key_file = /etc/ssl/private/iRedMail.key
-smtpd_tls_cert_file = /etc/ssl/certs/iRedMail.crt
+### smtpd_tls_key_file = /etc/ssl/private/iRedMail.key
+### smtpd_tls_cert_file = /etc/ssl/certs/iRedMail.crt
you did not add either the corresponding replacements:
smtpd_tls_key_file = /etc/postfix/certkey.pem
smtpd_tls_cert_file = /etc/postfix/certkey.pem
or the now preferred:
smtpd_tls_chain_files = /etc/postfix/certkey.pem
Therefore, all three parameters are now empty, and the third hangs
waiting for input. Do add either the legacy pair or (if using
Postfix 3.4 or later) the preferred replacement.
--
Viktor.
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]