Note
You are viewing the documentation for an older release of Interworx (7.8). To see documentation for the current generally available release of Interworx, click here: 7.13.
How To: Disable Dovecot SNI Sync During import¶
During import, when accounts with SSL certificates are imported, the file /etc/dovecot/conf.d/95-iworx-sni-hosts.conf
,
which records SSL certificate information for use with the Dovecot MSA, regenerates itself when each new account is added.
When importing SiteWorx accounts en masse for hundreds of domains, this may slow down the import process. It may be
helpful to temporarily disable syncing this file during the import and then manually run the sync when the import is
complete.
Contents
To Disable Dovecot SNI Sync¶
Log into the server at the CLI as the root user via SSH
Create a file named
prevent-syncsnihost
with the following:echo true > /home/interworx/etc/env/prevent-syncsnihosts
To Re-Enable Dovecot SNI Sync¶
Log into the server at the CLI as the root user via SSH
Remove the
prevent-syncsnihost
filerm /home/interworx/etc/env/prevent-syncsnihosts
Run the Dovecot SNI Sync command
nodeworx -u -n -c MailDovecot -a syncDovecotSniHosts