2020-03-08 13:15:53 +00:00
|
|
|
# $NetBSD: $
|
|
|
|
#
|
|
|
|
# Cyrus IMAP server configuration file. Refer to imapd.conf(5) for
|
|
|
|
# more options.
|
|
|
|
|
2020-03-09 14:46:00 +00:00
|
|
|
# Space-separated users who have admin rights for all services.
|
|
|
|
# NB: THIS MUST BE CONFIGURED
|
2020-03-08 13:15:53 +00:00
|
|
|
admins: cyrus
|
|
|
|
|
2020-03-09 14:46:00 +00:00
|
|
|
###################################################################
|
|
|
|
## File, socket and DB location settings.
|
|
|
|
###################################################################
|
|
|
|
|
|
|
|
# Configuration directory
|
2020-03-10 00:31:06 +00:00
|
|
|
configdirectory: /var/imap
|
2020-03-09 14:46:00 +00:00
|
|
|
|
|
|
|
# Which partition to use for default mailboxes
|
|
|
|
defaultpartition: default
|
2020-03-10 00:31:06 +00:00
|
|
|
partition-default: /var/spool/imap
|
2020-03-09 14:46:00 +00:00
|
|
|
|
|
|
|
# If sieveusehomedir is false (the default), this directory is searched
|
|
|
|
# for Sieve scripts.
|
2020-03-10 00:31:06 +00:00
|
|
|
sievedir:/var/sieve
|
2020-03-08 13:15:53 +00:00
|
|
|
|
2020-03-09 14:46:00 +00:00
|
|
|
###################################################################
|
|
|
|
## Important: KEEP THESE IN SYNC WITH cyrus.conf
|
|
|
|
###################################################################
|
|
|
|
|
2020-03-11 08:38:07 +00:00
|
|
|
lmtpsocket: /var/imap/socket/lmtp
|
|
|
|
idlesocket: /var/imap/socket/idle
|
|
|
|
notifysocket: /var/imap/socket/notify
|
2020-03-09 14:46:00 +00:00
|
|
|
|
|
|
|
# Syslog prefix. Defaults to cyrus (so logging is done as cyrus/imap
|
|
|
|
# etc.)
|
|
|
|
syslog_prefix: cyrus
|
|
|
|
|
|
|
|
###################################################################
|
|
|
|
## Server behaviour settings
|
|
|
|
###################################################################
|
|
|
|
|
|
|
|
# Space-separated list of HTTP modules that will be enabled in
|
|
|
|
# httpd(8). This option has no effect on modules that are disabled at
|
|
|
|
# compile time due to missing dependencies (e.g. libical).
|
2020-03-08 13:15:53 +00:00
|
|
|
#
|
2020-03-09 14:46:00 +00:00
|
|
|
# Allowed values: caldav, carddav, domainkey, ischedule, rss
|
2020-03-11 08:38:07 +00:00
|
|
|
httpmodules: caldav carddav freebusy
|
2020-03-09 14:46:00 +00:00
|
|
|
|
|
|
|
# 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.
|
2020-03-11 08:38:07 +00:00
|
|
|
hashimapspool: false
|
2020-03-09 14:46:00 +00:00
|
|
|
|
|
|
|
# Enable virtual domains
|
|
|
|
# and set default domain to localhost
|
|
|
|
virtdomains: yes
|
|
|
|
defaultdomain: localhost
|
|
|
|
|
2020-03-11 08:38:07 +00:00
|
|
|
# Enable web based calendar admin GUI
|
|
|
|
caldav_allowcalendaradmin: 1
|
|
|
|
|
|
|
|
# Convert usernames to lo
|
|
|
|
username_tolower: 1
|
|
|
|
|
|
|
|
# Path to sendmail binary
|
|
|
|
sendmail: /usr/sbin/sendmail
|
|
|
|
|
2020-03-09 14:46:00 +00:00
|
|
|
###################################################################
|
|
|
|
## User experience settings
|
|
|
|
###################################################################
|
|
|
|
|
|
|
|
# Minimum time between POP mail fetches in minutes
|
|
|
|
popminpoll: 1
|
|
|
|
|
|
|
|
###################################################################
|
|
|
|
## User Authentication settings
|
|
|
|
###################################################################
|
|
|
|
|
|
|
|
# Allow plaintext logins by default (SASL PLAIN)
|
|
|
|
allowplaintext: yes
|
|
|
|
|
|
|
|
###################################################################
|
|
|
|
## SASL library options (these are handled directly by the SASL
|
|
|
|
## libraries, refer to SASL documentation for an up-to-date list of
|
|
|
|
## these)
|
|
|
|
###################################################################
|
|
|
|
|
|
|
|
# The mechanism(s) used by the server to verify plaintext passwords.
|
|
|
|
# Possible values are "saslauthd", "auxprop", "pwcheck" and
|
|
|
|
# "alwaystrue". They are tried in order, you can specify more than one,
|
|
|
|
# separated by spaces.
|
|
|
|
sasl_pwcheck_method: saslauthd
|
|
|
|
|
|
|
|
# If enabled, the SASL library will automatically create authentication
|
|
|
|
# secrets when given a plaintext password. Refer to SASL documentation
|
|
|
|
sasl_auto_transition: no
|
|
|
|
|
2020-03-11 11:12:09 +00:00
|
|
|
#sasl_mech_list: PLAIN
|
|
|
|
|
2020-03-09 14:46:00 +00:00
|
|
|
###################################################################
|
|
|
|
## SSL/TLS Options
|
|
|
|
###################################################################
|
|
|
|
|
|
|
|
# File containing the global certificate used for ALL services (imap,
|
|
|
|
# pop3, lmtp, sieve)
|
|
|
|
#tls_server_cert: /etc/ssl/certs/ssl-cert-snakeoil.pem
|
|
|
|
|
|
|
|
# File containing the private key belonging to the global server
|
|
|
|
# certificate.
|
|
|
|
#tls_server_key: /etc/ssl/private/ssl-cert-snakeoil.key
|
|
|
|
|
|
|
|
# File containing one or more Certificate Authority (CA) certificates.
|
|
|
|
#tls_client_ca_file: /etc/ssl/certs/cyrus-imapd-ca.pem
|
|
|
|
|
|
|
|
# Path to directory with certificates of CAs.
|
|
|
|
tls_client_ca_dir: /etc/ssl/certs
|
|
|
|
|
|
|
|
# The length of time (in minutes) that a TLS session will be cached for
|
|
|
|
# later reuse. The maximum value is 1440 (24 hours), the default. A
|
|
|
|
# value of 0 will disable session caching.
|
|
|
|
tls_session_timeout: 1440
|
2020-03-11 08:38:07 +00:00
|
|
|
|
|
|
|
###################################################################
|
|
|
|
## Debug settings
|
|
|
|
###################################################################
|
|
|
|
debug: 1
|