I setup a new Alma Linux server and am getting the following error when trying to start Dovecot.
Aug 21 09:30:42 alma.XXXXX.local systemd[1]: Starting Dovecot IMAP/POP3 email server…
Aug 21 09:30:42 alma.XXXXX.local dovecot[3340940]: doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 104: ssl_cert: Can’t open file /etc/ssl/virtualmin/171863499615899/ssl.combined: No such file or directory
Aug 21 09:30:42 alma.sgpharma.local systemd[1]: dovecot.service: Main process exited, code=exited, status=89/n/a
Aug 21 09:30:42 alma.XXXXX.local systemd[1]: dovecot.service: Failed with result ‘exit-code’.
Aug 21 09:30:42 alma.XXXXX.local systemd[1]: Failed to start Dovecot IMAP/POP3 email server.
These fixes assume it is your hostname SSL causing the issue.
Fix 1
Run System Settings --> Re-Check configuration and this should fix it.
Fix2
turn off the SSL for your hostname System Settings --> Virtualmin Configuration --> Configuration category: Setup Let's Encrypt SSL certificate for hostname = No
Run System Settings --> Re-Check configuration
turn ON the SSL for your hostname System Settings --> Virtualmin Configuration --> Configuration category: Setup Let's Encrypt SSL certificate for hostname = No
I keep getting this message when I try to enable it, as it was not enabled:
Setting up Let’s Encrypt SSL certificate for the alma.XXXXX.local hostname …
… failed : Failed to set up Let’s Encrypt SSL certificate for the alma.XXXXX.local hostname