NAME
DESCRIPTION
FIELD DESCRIPTIONS
sasl_option
SEE ALSO

## NAME

imapd.conf - IMAP configuration file

## DESCRIPTION

/etc/imapd.conf is the configuration file for the Cyrus IMAP server. It defines local parameters for IMAP.

Each line of the /etc/imapd.conf file has the form

option: value

where option is the name of the configuration option being set and value is the value that the configuration option is being set to.

Blank lines and lines beginning with ``#'' are ignored.

For boolean options, the values ``yes'', ``on'', ``t'', and ``1'' turn the option on, the values ``no'', ``off'', ``f'', and ``0'' turn the option off.

## FIELD DESCRIPTIONS

The sections below detail options that can be placed in the /etc/imapd.conf file, and show each option's default value. Some options have no default value, these are listed with ``<no default>''. Some options default to the empty string, these are listed with ``<none>''.

configdirectory: <no default>
The pathname of the IMAP configuration directory. This field is required.

defaultpartition: default
The partition name used by default for new mailboxes.

partition-name: <no default>
The pathname of the partition name. At least one field, for the partition named in the defaultpartition option,
is required. For example, if the value of the defaultpartion option is default, then the partition-default field
is required.

umask: 077
The umask value used by various Cyrus IMAP programs.

servername: <result returned by gethostname(2)>
This is the hostname visible in the greeting messages of the POP, IMAP and LMTP daemons. If it is unset,
then the result returned from gethostname(2) is used.

allowanonymouslogin: no
Permit logins by the user "anonymous" using any password. Also allows use of the SASL ANONYMOUS
mechanism.

allowplaintext: yes
Allow the use of the SASL PLAIN mechanism.

quotawarn: 90
The percent of quota utilization over which the server generates warnings.

timeout: 30
The length of the IMAP server's inactivity autologout timer, in minutes. The minimum value is 30, the
default.

imapidlepoll: 60
The interval (in seconds) for polling the mailbox for changes while running the IDLE command. This option
is used when idled can not be contacted or when polling is used exclusively. The minimum value is 1. A
value of 0 will disable polling (and disable IDLE if polling is the only method available).

imapidresponse: yes
If enabled, the server responds to an ID command with a parameter list containing: version, vendor, support-
url, os, os-version, command, arguments, environment. Otherwise the server returns NIL.

poptimeout: 10
Set the length of the POP server's inactivity autologout timer, in minutes. The minimum value is 10, the
default.

popminpoll: 0
Set the minimum amount of time the server forces users to wait between successive POP logins, in minutes.
The default is 0.

popexpiretime: 0
The number of days advertised as being the minimum a message may be left on the POP server before it is
deleted (via the CAPA command, defined in the POP3 Extension Mechanism, which some clients may

support). "NEVER", the default, may be specified with a negative number. The Cyrus POP3 server never
deletes mail, no matter what the value of this parameter is. However, if a site implements a less liberal pol-
icy, it needs to change this parameter accordingly.

admins: <none>
The list of userids with administrative rights. Separate each userid with a space. Sites using Kerberos
authentication may use separate "admin" instances.

Note that accounts used by users should not be administrators. Administrative accounts should not receive mail. That is, if user "jbRo" is a user reading mail, he should not also be in the admins line. Some problems may occur otherwise, most notably the ability of administrators to create top-level mailboxes visible to users, but not writable by users.

proxyservers: <none>
A list of users and groups that are allowed to proxy for other users, seperated by spaces. Any user listed in
this will be allowed to login for any other user: use with caution.

defaultacl: anyone lrs
The Access Control List (ACL) placed on a newly-created (non-user) mailbox that does not have a parent
mailbox.

newsspool: <no default>
The pathname of the news spool directory. Only used if the partition-news configuration option is set.

newsprefix: <none>
Prefix to be prepended to newsgroup names to make the corresponding IMAP mailbox names.

autocreatequota: 0
If nonzero, normal users may create their own IMAP accounts by creating the mailbox INBOX. The user's
quota is set to the value if it is positive, otherwise the user has unlimited quota.

logtimestamps: no
Include notations in the protocol telemetry logs indicating the number of seconds since the last command or
response.

plaintextloginpause: 0
Number of seconds to pause after a successful plaintext login. For systems that support strong authentica-
tion, this permits users to perceive a cost of using plaintext passwords. (This does not effect the use of
PLAIN in SASL authentications.)

srvtab: /etc/srvtab
The pathname of srvtab file containing the server's private key. This option is passed to the SASL library
and overrides its default setting.

loginrealms: <none>
The list of remote realms whose users may log in using cross-realm authentications. Seperate each realm
name by a space. (A cross-realm identity is considered any identity returned by SASL with an "@" in it.)

loginuseacl: no
If enabled, any authentication identity which has a rights on a user's INBOX may log in as that user.

singleinstancestore: yes
If enabled, deliver running in LMTP mode attempts to only write one copy of a message per partition and
create hard links, resulting in a potentially large disk savings.

reject8bit: no
If enabled, deliver rejects messages with 8-bit characters in the headers. Otherwise, 8-bit characters are
changed to `X'. (A proper soultion to non-ASCII characters in headers is offered by RFC 2047 and its prede-
cessors.)

postuser: <none>
Userid used to deliver messages to shared folders. For example, if set to "bb", email sent to
"bb+shared.blah" would be delivered to the "shared.blah" folder. By default, an email address of
"+shared.blah" would be used.

netscapeurl: http://andrew2.andrew.cmu.edu/cyrus/imapd/netscape-admin.html
If enabled at compile time, this specifies a URL to reply when Netscape asks the server where the mail
administration HTTP server is. The default is a site at CMU with a hopefully informative message; adminis-
trators should set this to a local resource with some information of greater use.

sieveusehomedir: false
If enabled, deliver will look for Sieve scripts in user's home directories: ~user/.sieve.

sievedir: /usr/sieve
If sieveusehomedir is false, this directory is searched for Sieve scripts.

sendmail: /usr/lib/sendmail
The pathname of the sendmail executable. Sieve uses sendmail for sending rejections, redirects and vaca-
tion responses.

postmaster: postmaster
Username that is used as the 'From' address in rejection MDNs produced by sieve.

hashimapspool: false
If enabled, the partitions will also be hashed, in addition to the hashing done on configuration directories. This
is recommended if one partition has a very bushy mailbox tree.

sieve_maxscriptsize: 32
Maximum size (in kilobytes) any sieve script can be, enforced at submission by timsieved(8).

sieve_maxscripts: 5
Maximum number of sieve scripts any user may have, enforced at submission by timsieved(8).

sasl_maximum_layer: 256
Maximum SSF (security strength factor) that the server will allow a client to negotiate.

sasl_minimum_layer: 0
The minimum SSF that the server will allow a client to negotiate. A value of 1 requires integrity protection;
any higher value requires some amount of encryption.

sasl_pwcheck_method: PAM
The mechanism used by the server to verify plaintext passwords. Possible values also include "sasldb",
"kerberos_v4", "passwd", and "shadow".

sasl_auto_transition: no
If enabled, the SASL library will automatically create authentication secrets when given a plaintext pass-
word. See the SASL documentation.

## sasl_option

Any other SASL option can be set by preceeding it with "sasl_". This file overrides the SASL configuration
file.

lmtpsocket: /var/imap/socket/lmtp
Unix domain socket that lmtpd listens on.

idlesocket: /var/imap/socket/idle
Unix domain socket that idled listens on.

notifysocket: /var/imap/socket/notify
Unix domain socket that the new mail notification daemon listens on.

## SEE ALSO

imapd(8), pop3d(8), lmtpd(8), timsieved(8), idled(8), deliver(8), master(8)