Dovecot email server failing to start due to an error in the SSL configuration file.

Sharif

Verified User
Joined
May 21, 2021
Messages
28
When I check the status

Code:
May 23 15:42:39 server1 systemd[1]: Started Dovecot IMAP/POP3 email server.
May 23 15:42:39 server1 dovecot[630308]: doveconf: Fatal: Error in configuration file /etc/dovecot/conf/ssl.conf line 1: Unknown setting: ssl_cert
May 23 15:42:39 server1 systemd[1]: dovecot.service: Main process exited, code=exited, status=89/n/a
May 23 15:42:39 server1 systemd[1]: dovecot.service: Failed with result 'exit-code'.

when I try custom build

Code:
proxy.o  ../../src/lib-managesieve/.libs/libmanagesieve.a /usr/lib/dovecot/libdovecot-login.so -lssl -lcrypto -L/usr/lib/dovecot /usr/lib/dovecot/libdovecot.so -Wl,-rpath -Wl,/usr/lib/dovecot -Wl,-rpath -Wl,/usr/lib/dovecot
/usr/bin/ld: /usr/lib/dovecot/libdovecot-login.so: undefined reference to `master_service_ssl_settings_to_iostream_set'
collect2: error: ld returned 1 exit status
make[3]: Leaving directory '/usr/local/directadmin/custombuild/dovecot-2.3-pigeonhole-0.5.20/src/managesieve-login'
make[3]: *** [Makefile:584: managesieve-login] Error 1
make[2]: *** [Makefile:438: all-recursive] Error 1
make[2]: Leaving directory '/usr/local/directadmin/custombuild/dovecot-2.3-pigeonhole-0.5.20/src'
make[1]: *** [Makefile:763: all-recursive] Error 1
make[1]: Leaving directory '/usr/local/directadmin/custombuild/dovecot-2.3-pigeonhole-0.5.20'
make: *** [Makefile:622: all] Error 2
*** The make has failed. Exiting...

not sure what's the issue this happen after updating to Ubuntu 22.04.2 LTS and change to SSL from using directadmin IP address to hostname.

the SSL file config

Code:
ssl_cert = </etc/exim.cert
ssl_key = </etc/exim.key
ssl_dh = </etc/dovecot/dh.pem
 
Back
Top