Skip to content

Reloading

Jan Engelhardt edited this page Jul 6, 2022 · 2 revisions

Reload

Impetus

  • When authentication parameters have changed, preferably reload gromox-http, gromox-zcore, gromox-imap, gromox-pop3
  • When the user list or aliases have changed, preferably reload the Global Address Book (GAB) component present in gromox-http and gromox-zcore
  • When the domain list has changed, reload gromox-adaptor [may change in future!]

Program reaction

  • When gromox-http is reloaded,
    • all service plugins, all HPM plugins and all PDU processors are reloaded, specifically authmgr, ldap_adaptor, mysql_adaptor, exchange_emsmdb, exchange_nsp, exmdb_provider
  • When gromox-imap is reloaded,
    • all service plugins are reloaded, specifically authmgr, ldap_adaptor, mysql_adaptor
  • When gromox-pop3 is reloaded,
    • all service plugins are reloaded, specifically authmgr, ldap_adaptor, mysql_adaptor
  • When gromox-midb is reloaded,
    • all service plugins are reloaded
  • When gromox-zcore is reloaded,
    • part of the configuration file is reread (zrpc_debug directive)
    • GAB cache is invalidated
    • all service plugins are reloaded, specifically authmgr, ldap_adaptor, mysql_adaptor
  • When gromox-delivery is reloaded,
    • all service plugins are reloaded
  • When gromox-delivery-queue is reloaded,
    • all service plugins are reloaded

Plugins

  • authmgr:
    • re-reads config file and applies desired auth mechanism (always_ldap/always_mysql/externid)
  • exchange_emsmdb:
    • re-reads part of the configuration file (rop_debug directive)
  • exchange_nsp:
    • invalidates Global Address Book cache
  • exmdb_provider:
    • re-reads part of the configuration file (exrpc_debug directive)
  • ldap_adaptor:
    • re-reads config file (LDAP connection parameters)
  • logthru:
    • cycles the logfile (close&open) to facilitate external logrotation
  • mysql_adaptor:
    • re-reads config file (SQL connection parameters)
Clone this wiki locally