Vapor wrote:
>
> That may not be dovecot but sendmail.
>
> Try fiddling with your sendmail.mc - the lines below are all in there:
>
> dnl #
> dnl # Rudimentary information on creating certificates for sendmail TLS:
> dnl # make -C /usr/share/ssl/certs usage
> dnl #
> define(`confCACERT_PATH',`/usr/share/ssl/certs')
> define(`confCACERT',`/usr/share/ssl/certs/ca-bundle.crt')
> define(`confSERVER_CERT',`/usr/share/ssl/certs/sendmail.pem')
> define(`confSERVER_KEY',`/usr/share/ssl/certs/sendmail.pem')
>
> Remember to backup your mc/cf before doing a "make" in case they aren't in sync.
I now edited the sendmail.mc file and inserted this:
define(`confCACERT_PATH',`/usr/share/ssl/certs')
define(`confCACERT',`/etc/httpd/conf/ssl.crt/ca_new.txt')
define(`confSERVER_CERT',`/etc/httpd/conf/ssl.crt/server.crt')
define(`confSERVER_KEY',`/etc/httpd/conf/ssl.key/server.key')
performed `make`and restarted sendmail.
Now I get this error in maillog:
Oct 31 13:28:37 bq1 sendmail[16295]: starting daemon (8.13.1): SMTP
Oct 31 13:28:37 bq1 sendmail[16295]: STARTTLS: CRLFile missing
Oct 31 13:28:37 bq1 sendmail[16295]: STARTTLS=server, error:
SSL_CTX_check_private_key failed(/etc/httpd/conf/ssl.key/server.key): 0
Oct 31 13:28:37 bq1 sendmail[16295]: STARTTLS=server:
16295:error:0B080074:x509 certificate
routines:X509_check_private_key:key values mismatch:x509_cmp.c:389:
Oct 31 13:28:37 bq1 sendmail[16295]: STARTTLS=server:
16295:error:140A80BE:SSL routines:SSL_CTX_check_private_key:no private
key assigned:ssl_lib.c:777:
Oct 31 13:28:37 bq1 sendmail[16295]: started as: /usr/sbin/sendmail -bd
-OPrivacyOptions=noetrn -ODeliveryMode=queueonly
-OQueueDirectory=/var/spool/mqueue.in -OPidFile=/var/run/sendmail.in.pid
/Jes