IMAPD(8) | Cyrus IMAP | IMAPD(8) |
imapd - Cyrus IMAP documentation
IMAP server process
imapd [ -C config-file ] [ -U uses ] [ -T timeout ] [ -D ]
[ -s ] [ -N ] [ -p ssf ]
imapd is an IMAP4rev1 server. It accepts commands on its standard input and responds on its standard output. It MUST be invoked by master(8) with those descriptors attached to a remote client connection.
imapd reads its configuration options out of the imapd.conf(5) file unless specified otherwise by -C.
If the file msg/shutdown is created under the directory specified in the configdirectory configuration option, then imapd will shut down the connection, sending the first line contained in the file to the client as the reason. New connections are denied.
If the file msg/motd is created under the directory specified in the configdirectory configuration option, then imapd will send the first line contained in the file to clients upon connect as an ALERT message which IMAP-compliant clients are required to display.
This option serves to annoy users mostly. Unfortunately clients tend to connect far more frequently than is apparent, generating a seperate server ALERT for each connection. Many clients do not display these properly, if they do anything with them at all.
If the directory log/user exists under the directory specified in the configdirectory configuration option, then imapd will create protocol telemetry logs for sessions authenticating as user.
The telemetry logs will be stored in the log/user directory with a filename of the imapd process-id.
imapd is commonly included in the SERVICES section of cyrus.conf(5) like so:
SERVICES {
imap cmd="imapd -U 30" listen="imap" prefork=0
imaps cmd="imapd -s -U 30" listen="imaps" prefork=0 maxchild=100
lmtpunix cmd="lmtpd" listen="/var/run/cyrus/socket/lmtp" prefork=0 maxchild=20
sieve cmd="timsieved" listen="sieve" prefork=0
notify cmd="notifyd" listen="/var/run/cyrus/socket/notify" proto="udp" prefork=1
httpd cmd="httpd" listen=8080 prefork=1 maxchild=20 }
/etc/imapd.conf
The Cyrus Team, Nic Bernstein (Onlight)
1993-2017, The Cyrus Team
August 10, 2018 | 3.0.8 |