192 |
- |
1 |
##
|
|
|
2 |
## IMAP specific settings
|
|
|
3 |
##
|
|
|
4 |
|
|
|
5 |
# If nothing happens for this long while client is IDLEing, move the connection
|
|
|
6 |
# to imap-hibernate process and close the old imap process. This saves memory,
|
|
|
7 |
# because connections use very little memory in imap-hibernate process. The
|
|
|
8 |
# downside is that recreating the imap process back uses some resources.
|
|
|
9 |
#imap_hibernate_timeout = 0
|
|
|
10 |
|
|
|
11 |
# Maximum IMAP command line length. Some clients generate very long command
|
|
|
12 |
# lines with huge mailboxes, so you may need to raise this if you get
|
|
|
13 |
# "Too long argument" or "IMAP command line too large" errors often.
|
|
|
14 |
#imap_max_line_length = 64k
|
|
|
15 |
|
|
|
16 |
# IMAP logout format string:
|
|
|
17 |
# %i - total number of bytes read from client
|
|
|
18 |
# %o - total number of bytes sent to client
|
|
|
19 |
# %{fetch_hdr_count} - Number of mails with mail header data sent to client
|
|
|
20 |
# %{fetch_hdr_bytes} - Number of bytes with mail header data sent to client
|
|
|
21 |
# %{fetch_body_count} - Number of mails with mail body data sent to client
|
|
|
22 |
# %{fetch_body_bytes} - Number of bytes with mail body data sent to client
|
|
|
23 |
# %{deleted} - Number of mails where client added \Deleted flag
|
|
|
24 |
# %{expunged} - Number of mails that client expunged, which does not
|
|
|
25 |
# include automatically expunged mails
|
|
|
26 |
# %{autoexpunged} - Number of mails that were automatically expunged after
|
|
|
27 |
# client disconnected
|
|
|
28 |
# %{trashed} - Number of mails that client copied/moved to the
|
|
|
29 |
# special_use=\Trash mailbox.
|
|
|
30 |
# %{appended} - Number of mails saved during the session
|
|
|
31 |
#imap_logout_format = in=%i out=%o deleted=%{deleted} expunged=%{expunged} \
|
|
|
32 |
# trashed=%{trashed} hdr_count=%{fetch_hdr_count} \
|
|
|
33 |
# hdr_bytes=%{fetch_hdr_bytes} body_count=%{fetch_body_count} \
|
|
|
34 |
# body_bytes=%{fetch_body_bytes}
|
|
|
35 |
|
|
|
36 |
# Override the IMAP CAPABILITY response. If the value begins with '+',
|
|
|
37 |
# add the given capabilities on top of the defaults (e.g. +XFOO XBAR).
|
|
|
38 |
#imap_capability =
|
|
|
39 |
|
|
|
40 |
# How long to wait between "OK Still here" notifications when client is
|
|
|
41 |
# IDLEing.
|
|
|
42 |
#imap_idle_notify_interval = 2 mins
|
|
|
43 |
|
|
|
44 |
# ID field names and values to send to clients. Using * as the value makes
|
|
|
45 |
# Dovecot use the default value. The following fields have default values
|
209 |
- |
46 |
# currently: name, version, os, os-version, support-url, support-email,
|
|
|
47 |
# revision.
|
192 |
- |
48 |
#imap_id_send =
|
|
|
49 |
|
|
|
50 |
# ID fields sent by client to log. * means everything.
|
|
|
51 |
#imap_id_log =
|
|
|
52 |
|
|
|
53 |
# Workarounds for various client bugs:
|
|
|
54 |
# delay-newmail:
|
|
|
55 |
# Send EXISTS/RECENT new mail notifications only when replying to NOOP
|
|
|
56 |
# and CHECK commands. Some clients ignore them otherwise, for example OSX
|
|
|
57 |
# Mail (<v2.1). Outlook Express breaks more badly though, without this it
|
|
|
58 |
# may show user "Message no longer in server" errors. Note that OE6 still
|
|
|
59 |
# breaks even with this workaround if synchronization is set to
|
|
|
60 |
# "Headers Only".
|
|
|
61 |
# tb-extra-mailbox-sep:
|
|
|
62 |
# Thunderbird gets somehow confused with LAYOUT=fs (mbox and dbox) and
|
|
|
63 |
# adds extra '/' suffixes to mailbox names. This option causes Dovecot to
|
|
|
64 |
# ignore the extra '/' instead of treating it as invalid mailbox name.
|
|
|
65 |
# tb-lsub-flags:
|
|
|
66 |
# Show \Noselect flags for LSUB replies with LAYOUT=fs (e.g. mbox).
|
|
|
67 |
# This makes Thunderbird realize they aren't selectable and show them
|
|
|
68 |
# greyed out, instead of only later giving "not selectable" popup error.
|
|
|
69 |
#
|
|
|
70 |
# The list is space-separated.
|
|
|
71 |
#imap_client_workarounds =
|
|
|
72 |
|
|
|
73 |
# Host allowed in URLAUTH URLs sent by client. "*" allows all.
|
|
|
74 |
#imap_urlauth_host =
|
|
|
75 |
|
|
|
76 |
# Enable IMAP LITERAL- extension (replaces LITERAL+)
|
|
|
77 |
#imap_literal_minus = no
|
|
|
78 |
|
|
|
79 |
# What happens when FETCH fails due to some internal error:
|
|
|
80 |
# disconnect-immediately:
|
|
|
81 |
# The FETCH is aborted immediately and the IMAP client is disconnected.
|
|
|
82 |
# disconnect-after:
|
|
|
83 |
# The FETCH runs for all the requested mails returning as much data as
|
|
|
84 |
# possible. The client is finally disconnected without a tagged reply.
|
|
|
85 |
# no-after:
|
|
|
86 |
# Same as disconnect-after, but tagged NO reply is sent instead of
|
|
|
87 |
# disconnecting the client. If the client attempts to FETCH the same failed
|
|
|
88 |
# mail more than once, the client is disconnected. This is to avoid clients
|
|
|
89 |
# from going into infinite loops trying to FETCH a broken mail.
|
|
|
90 |
#imap_fetch_failure = disconnect-immediately
|
|
|
91 |
|
|
|
92 |
protocol imap {
|
|
|
93 |
# Space separated list of plugins to load (default is global mail_plugins).
|
|
|
94 |
#mail_plugins = $mail_plugins
|
|
|
95 |
|
|
|
96 |
# Maximum number of IMAP connections allowed for a user from each IP address.
|
|
|
97 |
# NOTE: The username is compared case-sensitively.
|
|
|
98 |
#mail_max_userip_connections = 10
|
|
|
99 |
}
|