Next: , Previous: Namespace, Up: imap4d


3.14.2 Configuration of imap4d.

The behavior of imap4d is altered by the following configuration statements:

Statement Reference
debug See Debug Statement.
tls See TLS Statement.
mailbox See Mailbox Statement.
locking See Locking Statement.
logging See Logging Statement.
pam See PAM Statement.
sql See SQL Statement.
virtdomain See Virtdomain Statement.
radius See Radius Statement.
ldap See LDAP Statement.
auth See Auth Statement.
server See Server Settings.
acl See ACL Statement.
tcp-wrappers See Tcp-wrappers Statement.

— Imap4d Conf: shared-namespace list

Set shared namespace. List is a list of strings. See Namespace, for a detailed description.

— Imap4d Conf: other-namespace list

Set other users' namespace. List is a list of strings. See Namespace, for a detailed description.

— Imap4d Conf: shared-mailbox-mode str

Set file mode for mailboxes created within shared namespace. See Namespace, for a detailed description.

— Imap4d Conf: other-mailbox-mode str

Set file mode for mailboxes created within other users' namespace. See Namespace, for a detailed description.

— Imap4d Conf: login-disabled bool

Disable LOGIN command, if bool is ‘true’.

— Imap4d Conf: create-home-dir bool

Create nonexistent user home directories. See also home-dir-mode, below.

— Imap4d Conf: home-dir-mode mode

Set file mode for created user home directories. Mode is specified in octal.

The default value for mode is ‘700’ (‘drwx------’ in ls terms).

— Imap4d Conf: tls-required bool

Require successful STARTTLS command before entering authentication phase.

— Imap4d Conf: preauth mode

Configure PREAUTH mode. Valid arguments are:

prog:///program-name
Imap4d invokes an external program to authenticate the connection. The command line is obtained from the supplied string, by expanding the following meta-variables:
${client_address}
Remote IP address in dotted-quad notation;
${client_port}
Remote port number;
${server_address}
Local IP address;
${server_port}
Local port number.

If the connection is authenticated, the program should print the user name, followed by a newline character, on its standard output and exit with code ‘0’.

Otherwise, it should exit with a non-zero exit code.

ident[://:port]
The remote machine is asked about the requester identity using the identification protocol (RFC 1413). Both plaintext and DES encrypted replies are understood. Optional port specifies the port to use, if it differs from the default ‘113’. It can be either a decimal port number or a symbolic name of a service, listed in /etc/services.
stdio
PREAUTH mode is enabled automatically if imap4d is started from command line in interactive mode (-i command line option). The current login name is used as the user name.

— Imap4d Conf: preauth-only bool

If bool is ‘true’, use only preauth mode. If unable to setup it, disconnect immediately.

— Imap4d Conf: ident-keyfile file

Set DES keyfile for decoding encrypted ident responses. Used with ‘ident://’ preauth mode.

— Imap4d Conf: ident-encrypt-only bool

Use only encrypted IDENT responses.

— Imap4d Conf: id-fields list

Set list of fields to return in response to ID command.

Valid field names are:

name
Package name (‘GNU Mailutils’).
version
Package version (‘2.99.97’).
vendor
Vendor name (‘GNU’).
support-url
The string ‘http://www.gnu.org/software/mailutils
address
The string ‘51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA’.
os
OS name.
os-version
OS version number.
command
Name of the imap4d binary.
arguments
Invocation command line.
environment
List of environment variables with their values.