The port parameters from the configuration files: /etc/gromox/http.cfg, /etc/gromox/imap.cfg, /etc/gromox/pop3.cfg, and /etc/gromox/smtp.cfg are transferred to the configuration file /etc/gromox/gromox.cfg. Over time, the names of the port parameters have been changed, which is why this guide lists both the old and new names of the parameters. For example, the parameter http_listen_port used to be simply listen_port in http.cfg.
The instructions below list all known parameter names, but each configuration file should only contain one name for a given parameter, and only this parameter will be transferred to gromox.cfg under a new name.
Note: Newer versions of gromox also require the istore_standalone=0 parameter, so we have added this.
Use the editor of your choice to edit these configuration files.
1. Remove the following parameters from the file /etc/gromox/http.cfg:
# Since gromox > 3.4.x, http ports are defined in gromox.cfg, not in http.cfg
#http_listen_addr=
#http_listen_port=10080
#http_listen_tls_port=10443
#listen_port=10080
#listen_tls_port=10443
# Since gromox > 3.4.x, HTTP and HTTPS ports for gromox-http are defined in gromox.cfg
2. Remove the following parameters from the file /etc/gromox/imap.cfg:
# Since gromox > 3.4.x, IMAP and POP3 ports are defined in gromox.cfg, not in imap.cfg
#imap_listen_addr=
#imap_listen_port=143
#imap_listen_tls_port=993
#listen_port=143
#listen_tls_port=993
# ** Important: remove the IMAP and POP3 ports from imap.cfg and pop3.cfg **
3. Remove the following parameters from the file /etc/gromox/pop3.cfg:
# Since gromox > 3.4.x, IMAP and POP3 ports are defined in gromox.cfg, not in pop3.cfg
#pop3_listen_addr=
#pop3_listen_port=110
#pop3_listen_tls_port=995
#listen_port=110
#listen_tls_port=995
# ** Important: remove the IMAP and POP3 ports from imap.cfg and pop3.cfg **
4. Remove the following parameters from the file /etc/gromox/smtp.cfg:
# Since gromox > 3.4.x, LDA ports are defined in gromox.cfg, not in smtp.cfg
#lda_listen_addr=
#lda_listen_port=24
#lda_listen_tls_port=
# ** Important: remove the LDA ports from smtp.cfg **
5. Now, let's add the relevant parameters to the end of the /etc/gromox/gromox.cfg file.
Below is a list of common parameters:
#
# Since gromox > 3.4.x, HTTP and HTTPS ports for gromox-http are defined in gromox.cfg
http_listen = [::]:10080
http_listen_tls = [::]:10443
# ** Important: remove the listen_port and listen_ssl_port ports from http.cfg **
#
# Since gromox > 3.4.x, IMAP and POP3 ports are defined in gromox.cfg
#imap_listen = [::]:143
imap_listen_tls = [::]:993
#pop3_listen = [::]:110
pop3_listen_tls = [::]:995
# ** Important: remove the IMAP and POP3 ports from imap.cfg and pop3.cfg **
#
# Since gromox > 3.4.x, lda ports are defined in gromox.cfg, not in smtp.cfg
lda_listen = [::]:24
# ** Important: remove the lda ports from smtp.cfg **
#
# 0 == storage in gromox-http, 1 == single istore instance, 3 == use threaded istore service
istore_standalone=0
#
Note: Newer versions of gromox, introduce a separate storage service called gromox-istore to separate database access from gromox-http. This is the istore_standalone parameter.
You only need to insert the corresponding parameters that were also present in the configuration files. Pay attention to the changed names.
6. Finally, we need to restart the relevant services:
systemctl restart gromox-http gromox-zcore gromox-imap gromox-pop3 gromox-delivery gromox-delivery-queue
After restarting, there should be no more new 'deprecated' messages in journalctl.
Test with: journalctl --grep 'deprecated'
Changes:
- Added parameter /etc/gromox/gromox.cfg:istore_standalone=0
Enjoy Grommunio!