MASTER(8)
π MASTER(8) β the Cyrus IMAP master process, bestie edition β¨
okay so welcome to master(8) from the Cyrus IMAP docs β this is the page about the Cyrus IMAP master process, and ngl she is THE mother of the whole operation π
β¨ NAME β¨
master β Cyrus IMAP documentation
The Cyrus IMAP master process. She runs the whole friend group, fr fr.
π SYNOPSIS π
master [ -C config-file ] [ -M alternate cyrus.conf ]
[ -l listen queue ] [ -p pidfile ] [ -r ready_file ]
[ -j janitor period ] [ -d | -D ] [ -L logfile ]
π¦ DESCRIPTION π¦
okay so master is the process that controls all of the Cyrus processes. She is the one responsible for creating all imapd, pop3d, lmtpd and timsieved child processes. She also does the scheduled cleanup/maintenance, because someone has to keep the group chat tidy π
If this process dies, then no new sessions will be started. π That's it, that's the whole vibe. No master, no new friends.
She kills herself and all child processes when she receives a SIGTERM. Dramatic? Maybe. Necessary? Absolutely. π
master reads its configuration options out of the imapd.conf(5) file unless specified otherwise by -C.
π OPTIONS π
-Calternate imapd.conf β use the specified configuration file config-file rather than the defaultimapd.conf(5). Girl said "I'll use my own config, thanks" β¨-Malternate cyrus.conf β specifies an alternatecyrus.conffor use bymaster.-llisten queue backlog β increase the listen queue backlog. By default, the listen queue is set to32. On systems with a high connection rate, it may be desirable to increase this value. refer tolisten(2)for details. highkey only touch this if your server is busy busy π«Ά-jjanitor full-sweeps per second β sets the number of times per second the janitor should sweep the entire child table. Leave it at the default of1unless you have a really high fork rate (and you have not increased the child hash table size when you compiled Cyrus from its default of10000entries). no cap, just leave it alone π-ppidfile β use pidfile as the pidfile. If not specified, defaults tomaster_pid_filefromimapd.conf(5), which defaults to{configdirectory}/master.pid-rready_file β use ready_file as the ready file. If not specified, usesmaster_ready_filefromimapd.conf(5), which defaults to{configdirectory}/master.ready-dβ start in daemon mode (run in background and disconnect from controlling terminal). main character energy, she's leaving the group chat to go do her own thing π-Dβ don't close stdin/stdout/stderr. Primarily useful for debugging. Note that-dand-Dcannot be used together; consider using-Linstead. it's giving "pick one, bestie, you cannot have both" π-Llogfile β redirect stdout and stderr to the given logfile.
π§ CONFIGURATION π§
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. no shortcuts, sorry bestie π
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 way she's patient with her children but also watching the clock β°
β NOTES β
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. louder = more lore π’
The cyr_info(8) utility's proc subcommand can be used to list the active processes that master is managing. very "who's in the group chat rn" energy π
πΈ FILES πΈ
/etc/cyrus.conf, /etc/imapd.conf, /var/run/master.pid
π«Ά SEE ALSO π«Ά
cyrus.conf(5), imapd.conf(5), imapd(8), pop3d(8), lmtpd(8), timsieved(8), idled(8), cyr_info(8)
π AUTHOR π
The Cyrus Team, Nic Bernstein (Onlight)
π COPYRIGHT π
1993β2026, The Cyrus Team
and that's the whole page, bestie β this was version 3.12.4 from Sep 09, 2026 (source: Cyrus IMAP), so if your box is running something else, go check your local master(8) before you come for me π
β¨ ily, go read cyrus.conf(5) next ππ¦
π¦ where this page comes from
- fedora 44: cyrus-imapd 3.12.4-1.fc44 Β· BSD-Attribution-HPND-disclaimer
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms