20-imap.conf revision defeb23b40f1c1af0535a84529383825e5ef8dfe
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen## IMAP specific settings
1a0ece3e873e3864269ed7eaed957dc10c56d25fTimo Sirainen# Maximum IMAP command line length. Some clients generate very long command
e0c3d5460d1cc0c440cb7723c8c2eef8d0afe9b9Timo Sirainen# lines with huge mailboxes, so you may need to raise this if you get
0536ccb51d41e3078c3a9fa33e509fb4b2420f95Timo Sirainen# "Too long argument" or "IMAP command line too large" errors often.
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen#imap_max_line_length = 64k
8cb72c59d5ea4e9e5f638d7ec840bb853f5a188eTimo Sirainen# IMAP logout format string:
8cb72c59d5ea4e9e5f638d7ec840bb853f5a188eTimo Sirainen# %i - total number of bytes read from client
8cb72c59d5ea4e9e5f638d7ec840bb853f5a188eTimo Sirainen# %o - total number of bytes sent to client
8cb72c59d5ea4e9e5f638d7ec840bb853f5a188eTimo Sirainen# %{fetch_hdr_count} - Number of mails with mail header data sent to client
8cb72c59d5ea4e9e5f638d7ec840bb853f5a188eTimo Sirainen# %{fetch_hdr_bytes} - Number of bytes with mail header data sent to client
8cb72c59d5ea4e9e5f638d7ec840bb853f5a188eTimo Sirainen# %{fetch_body_count} - Number of mails with mail body data sent to client
8cb72c59d5ea4e9e5f638d7ec840bb853f5a188eTimo Sirainen# %{fetch_body_bytes} - Number of bytes with mail body data sent to client
8cb72c59d5ea4e9e5f638d7ec840bb853f5a188eTimo Sirainen#imap_logout_format = in=%i out=%o
8cb72c59d5ea4e9e5f638d7ec840bb853f5a188eTimo Sirainen# Override the IMAP CAPABILITY response. If the value begins with '+',
8cb72c59d5ea4e9e5f638d7ec840bb853f5a188eTimo Sirainen# add the given capabilities on top of the defaults (e.g. +XFOO XBAR).
8cb72c59d5ea4e9e5f638d7ec840bb853f5a188eTimo Sirainen#imap_capability =
8cb72c59d5ea4e9e5f638d7ec840bb853f5a188eTimo Sirainen# How long to wait between "OK Still here" notifications when client is
e2ce8d4a6ac5d82a906178148453e7613fab9ba0Timo Sirainen#imap_idle_notify_interval = 2 mins
e2ce8d4a6ac5d82a906178148453e7613fab9ba0Timo Sirainen# ID field names and values to send to clients. Using * as the value makes
e2ce8d4a6ac5d82a906178148453e7613fab9ba0Timo Sirainen# Dovecot use the default value. The following fields have default values
e2ce8d4a6ac5d82a906178148453e7613fab9ba0Timo Sirainen# currently: name, version, os, os-version, support-url, support-email.
e2ce8d4a6ac5d82a906178148453e7613fab9ba0Timo Sirainen#imap_id_send =
e2ce8d4a6ac5d82a906178148453e7613fab9ba0Timo Sirainen# ID fields sent by client to log. * means everything.
e2ce8d4a6ac5d82a906178148453e7613fab9ba0Timo Sirainen#imap_id_log =
cd56a23e21f1df3f79648cf07e2f4385e2fadebbTimo Sirainen# Workarounds for various client bugs:
e2ce8d4a6ac5d82a906178148453e7613fab9ba0Timo Sirainen# delay-newmail:
cd56a23e21f1df3f79648cf07e2f4385e2fadebbTimo Sirainen# Send EXISTS/RECENT new mail notifications only when replying to NOOP
cd56a23e21f1df3f79648cf07e2f4385e2fadebbTimo Sirainen# and CHECK commands. Some clients ignore them otherwise, for example OSX
cd56a23e21f1df3f79648cf07e2f4385e2fadebbTimo Sirainen# Mail (<v2.1). Outlook Express breaks more badly though, without this it
c0435c854a0e7246373b9752d163095cc4fbe985Timo Sirainen# may show user "Message no longer in server" errors. Note that OE6 still
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen# breaks even with this workaround if synchronization is set to
252db51b6c0a605163326b3ea5d09e9936ca3b29Timo Sirainen# "Headers Only".
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen# tb-extra-mailbox-sep:
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen# Thunderbird gets somehow confused with LAYOUT=fs (mbox and dbox) and
d5cebe7f98e63d4e2822863ef2faa4971e8b3a5dTimo Sirainen# adds extra '/' suffixes to mailbox names. This option causes Dovecot to
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen# ignore the extra '/' instead of treating it as invalid mailbox name.
252db51b6c0a605163326b3ea5d09e9936ca3b29Timo Sirainen# tb-lsub-flags:
e0c3d5460d1cc0c440cb7723c8c2eef8d0afe9b9Timo Sirainen# Show \Noselect flags for LSUB replies with LAYOUT=fs (e.g. mbox).
e0c3d5460d1cc0c440cb7723c8c2eef8d0afe9b9Timo Sirainen# This makes Thunderbird realize they aren't selectable and show them
e0c3d5460d1cc0c440cb7723c8c2eef8d0afe9b9Timo Sirainen# greyed out, instead of only later giving "not selectable" popup error.
e0c3d5460d1cc0c440cb7723c8c2eef8d0afe9b9Timo Sirainen# The list is space-separated.
252db51b6c0a605163326b3ea5d09e9936ca3b29Timo Sirainen#imap_client_workarounds =
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen# Host allowed in URLAUTH URLs sent by client. "*" allows all.
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen#imap_urlauth_host =
5ac0b0bf32898c63da086ae169674ecac151a31eTimo Sirainen # Space separated list of plugins to load (default is global mail_plugins).
1a0ece3e873e3864269ed7eaed957dc10c56d25fTimo Sirainen # Maximum number of IMAP connections allowed for a user from each IP address.
5ac0b0bf32898c63da086ae169674ecac151a31eTimo Sirainen # NOTE: The username is compared case-sensitively.