Commit 88e7be6a authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Configured automatic creation of default mail folders

parent 59176aec
......@@ -233,6 +233,127 @@ tls_client_ca_dir: /etc/ssl/certs
# later reuse. The maximum value is 1440 (24 hours), the default. A
# value of 0 will disable session caching.
tls_session_timeout: 1440
# Autocreate_inbox_folders
# ------------------------
# If a user does not have an INBOX already, and the INBOX is to be
# created, create the list of folders in this setting as well.
# autocreate_inbox_folders is a list of INBOX's subfolders
# separated by a "|", that are automatically created by the server
# under the following two scenarios. Leading and trailing whitespace is
# stripped, so "Junk | Trash" results in two folders: "Junk" and
# "Trash". See also the xlist-flag option, for setting
# special-use flags on autocreated folders.
# #
# INBOX folders are created under both the following conditions:
# 1.
# The user logins via the IMAP or the POP3 protocol.
# autocreate_quota option must have a value of zero or greater.
# 2.
# A message arrives for the user through the lmtpd(8).
# autocreate_post option must be enabled.
# #
autocreate_inbox_folders: Drafts | Sent | Spam | Deleted Items
# Autocreate_post
# ---------------
# If enabled, when lmtpd(8) receives an incoming mail for an
# INBOX that does not exist, then the INBOX is automatically created
# by lmtpd(8) and delivery of the message continues.
autocreate_post: 1
# Autocreate_quota
# ----------------
# If set to a value of zero or higher, users have their INBOX folders
# created upon a successful login event or upon lmtpd(8)
# message delivery if autocreate_post is enabled, provided their
# INBOX did not yet already exist.
# #
# The user's quota is set to the value if it is greater than zero,
# otherwise the user has unlimited quota.
# #
# Note that quota is specified in kilobytes.
autocreate_quota: 0
# Autocreate_quota_messages
# -------------------------
# If set to a value of zero or higher, users who have their INBOX
# folders created upon a successful login event (see
# autocreate_quota), or upon lmtpd(8) message delivery if
# autocreate_post is enabled, receive the message quota
# configured in this option.
# #
# The default of -1 disables assigning message quota.
# #
# For consistency with autocreate_quota, a value of zero is treated
# as unlimited message quota, rather than a message quota of zero.
autocreate_quota_messages: 0
# Autocreate_sieve_folders
# ------------------------
# A "|" separated list of subfolders of INBOX that will be
# automatically created, if requested by a sieve filter, through the
# "fileinto" action. The default is to create no folders
# automatically.
# #
# Leading and trailing whitespace is stripped from each folder, so a
# setting of "Junk | Trash" will create two folders: "Junk" and
# "Trash".
autocreate_sieve_folders: Drafts | Sent | Spam | Deleted Items
# Autocreate_sieve_script
# -----------------------
# The full path of a file that contains a sieve script. This script
# automatically becomes a user's initial default sieve filter script.
# #
# When this option is not defined, no default sieve filter is created.
# The file must be readable by the Cyrus daemon.
#autocreate_sieve_script: <none>
# Autocreate_sieve_script_compile
# -------------------------------
# If set to yes and no compiled sieve script file exists, the sieve script which is
# compiled on the fly will be saved in the file name that autocreate_sieve_compiledscript
# option points to. In order a compiled script to be generated, autocreate_sieve_script and
# autocreate_sieve_compiledscript must have valid values
#autocreate_sieve_script_compile: 0
# Autocreate_sieve_script_compiled
# --------------------------------
# The full path of a file that contains a compiled in bytecode sieve script. This script
# automatically becomes a user's initial default sieve filter script. If this option is
# not specified, or the filename doesn't exist then the script defined by
# autocreate_sieve_script is compiled on the fly and installed as the user's default
# sieve script
#autocreate_sieve_script_compiled: <none>
# Autocreate_subscribe_folders
# ----------------------------
# A list of folder names, separated by "|", that the users get automatically subscribed to,
# when their INBOX is created. These folder names must have been included in the
# autocreateinboxfolders option of the imapd.conf.
autocreate_subscribe_folders: Drafts | Sent | Spam | Deleted Items
# Autocreate_subscribe_sharedfolders
# ----------------------------------
# A list of shared folders (bulletin boards), separated by "|", that the users get
# automatically subscribed to, after their INBOX is created. The shared folder must
# have been created and the user must have the required permissions to get subscribed
# to it. Otherwise, subscribing to the shared folder fails.
#autocreate_subscribe_sharedfolders: <none>
# Autocreate_subscribe_sharedfolders_all
# --------------------------------------
# If set to yes, the user is automatically subscribed to all shared folders, one has permission
# to subscribe to.
#autocreate_subscribe_sharedfolders_all: 0
# Autocreate_users
# ----------------
# A space separated list of users and/or groups that are allowed their INBOX to be
# automatically created.
autocreate_users: anyone
endef
export IMAPD_CONFIG
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment