MASTER(8) | Cyrus IMAP | MASTER(8) |
master - Cyrus IMAP documentation
The Cyrus IMAP master process.
master [ -C config-file ] [ -M alternate cyrus.conf ]
[ -l listen queue ] [ -p pidfile ]
[ -j janitor period ] [ -d | -D ] [ -L logfile ]
master is the process that controls all of the Cyrus processes. This process is responsible for creating all imapd, pop3d, lmtpd and timsieved child processes. This process also performs scheduled cleanup/maintenance.
If this process dies, then no new sessions will be started.
It kills itself and all child processes when it receives a SIGTERM.
master reads its configuration options out of the imapd.conf(5) file unless specified otherwise by -C.
Upon execution, master reads its configuration information out of the cyrus.conf(5) file, or an alternative if -M is used.
master rereads its configuration file when it receives a hangup signal, SIGHUP. Services and events may be added, deleted or modified when the configuration file is reread. Any active services removed from the configuration file will be allowed to run until completion. Services added or modified to listen on a privileged port may not be able to bind the port, depending on your system configuration. In this case a full restart is needed.
master propagates the hangup signal, SIGHUP, to its child service processes, so that they stop waiting for incoming connections and exit, allowing them to be recycled. This is useful to make services take into account a new version of the imapd.conf(5) file. Children that are servicing a client connection when SIGHUP is received are allowed to run until the client logouts before being recycled. It may take a long time until the client logouts, so a log message is generated for processes that have not been recycled within 30s.
The environment variable CYRUS_VERBOSE can be set to log additional debugging information. Setting the value to 1 results in base level logging. Setting it higher results in more log messages being generated.
/etc/cyrus.conf, /etc/imapd.conf, /var/run/master.pid
cyrus.conf(5), imapd.conf(5), imapd(8), pop3d(8), lmtpd(8), timsieved(8), idled(8)
The Cyrus Team, Nic Bernstein (Onlight)
1993–2023, The Cyrus Team
February 13, 2023 | 3.6.1 |