[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.13.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 section 3.1.2 Mailbox, See section 3.1.5 Daemon, See section 3.1.8 Logging, See section 3.1.6 Auth.

Command Line Options

`-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.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated by Sergey Poznyakoff on December, 23 2004 using texi2html