2.14.2 Starting imap4d
imap4d may run either in standalone or in inetd
operation modes. When run in “standalone” mode, the server disconnects
from the terminal and runs as a daemon, forking a child for each new
connection.
The “inetd” mode allows to start the server from
/etc/inetd.conf file. This is the default operation mode.
imap4 stream tcp nowait root /usr/local/sbin/imap4d imap4d
The program uses following option groups: See mailbox,
See daemon, See logging, See auth.
Command Line Options
- --create-home-dir[=mode]
- If a user logs in and his home directory does not exist, create
it. Optional mode is an octal number specifying the permissions
to be set on the created directory. It is not modified by the current
umask
value. The default value for mode is ‘700’
(‘drwx------’ in ls
terms).
- -d[number]
- --daemon[=number]
- Run in standalone mode. An optional number specifies the maximum number
of child processes the daemon is allowed to fork. When it is omitted,
it defaults to 20 processes.
Please note, that there should be no whitespace between the
-d and its parameter.
- -h
- --help
- Display short help message and exit.
- -i
- --inetd
- Run in inetd mode.
- -m path
- --mail-spool=path
- Set path to the mailspool directory
- -O pathlist
- --other-namespace=pathlist
- Set the list of directories forming the “Other User's” namespace.
pathlist is a list of directory names separated by colons.
- -p number
- --port number
- Listen on given port number. This option is meaningful only in
standalone mode. It defaults to port 143.
- -S pathlist
- --shared-namespace=pathlist
- Set the list of directories, forming the “Shared”
namespace. pathlist is a list of directory names separated by colons.
- -t number
- --timeout number
- Set idle timeout to given number of seconds. Default is 1800 seconds (30
minutes). The daemon breaks the connection if it receives no commands
from the client within that number of seconds.
- -v
- --version
- Display program version and exit.