Operating system Debian Linux 9 | Webmin version 1.881 | Usermin version 1.741 | Virtualmin version 6.03 | Dovecot IMAP/POP3 Server Version 2.2.27
####### ACTIONVirtualmin -> Server configuration - Change Domain Name | Change from example.com to example2.com
####### RESULTSuccessful domain change of virtual server example.com to example2.com | Successful change of home directory and username/UID
####### ISSUEDovecot server keeps using old domain name for certificate paths in /etc/dovecot/dovecot.conf
local_name example.com {
ssl_cert = </home/example.com/ssl.cert
ssl_key = </home/example.com/ssl.key
ssl_ca = </etc/letsencrypt/live/example.com-0009/chain.pem
}
example.com is not being changed to example2.com therefore dovecot stops hangs (process running, but not processing logins)
####### TEMPORARY SOLUTIONConfig file has to be edited manually and paths fixed.
####### PROPOSED FIXAdd dovecot config "sed" for domain name after chaning virtual server domain name. | Add restart of dovecot service after config change.
Comments
Submitted by Falko on Thu, 05/10/2018 - 03:09 Comment #1
Submitted by Falko on Thu, 05/10/2018 - 03:10 Comment #2
Submitted by Falko on Thu, 05/10/2018 - 03:10 Comment #3
Submitted by Falko on Thu, 05/10/2018 - 03:11 Comment #4