|
3 | 3 | ## |
4 | 4 |
|
5 | 5 | protocol imap { |
6 | | - # Maximum IMAP command line length. Some clients generate very long command |
7 | | - # lines with huge mailboxes, so you may need to raise this if you get |
8 | | - # "Too long argument" or "IMAP command line too large" errors often. |
9 | | - #imap_max_line_length = 64k |
10 | | - |
11 | | - # Maximum number of IMAP connections allowed for a user from each IP address. |
12 | | - # NOTE: The username is compared case-sensitively. |
13 | | - #mail_max_userip_connections = 10 |
14 | | - |
15 | | - # Space separated list of plugins to load (default is global mail_plugins). |
16 | | - #mail_plugins = $mail_plugins |
17 | | - |
18 | | - # IMAP logout format string: |
19 | | - # %i - total number of bytes read from client |
20 | | - # %o - total number of bytes sent to client |
21 | | - #imap_logout_format = bytes=%i/%o |
22 | | - |
23 | | - # Override the IMAP CAPABILITY response. If the value begins with '+', |
24 | | - # add the given capabilities on top of the defaults (e.g. +XFOO XBAR). |
25 | | - #imap_capability = |
26 | | - |
27 | | - # How long to wait between "OK Still here" notifications when client is |
28 | | - # IDLEing. |
29 | | - #imap_idle_notify_interval = 2 mins |
30 | | - |
31 | | - # ID field names and values to send to clients. Using * as the value makes |
32 | | - # Dovecot use the default value. The following fields have default values |
33 | | - # currently: name, version, os, os-version, support-url, support-email. |
34 | | - #imap_id_send = |
35 | | - |
36 | | - # ID fields sent by client to log. * means everything. |
37 | | - #imap_id_log = |
| 6 | +mail_plugins = $mail_plugins autocreate |
| 7 | +} |
38 | 8 |
|
39 | | - # Workarounds for various client bugs: |
40 | | - # delay-newmail: |
41 | | - # Send EXISTS/RECENT new mail notifications only when replying to NOOP |
42 | | - # and CHECK commands. Some clients ignore them otherwise, for example OSX |
43 | | - # Mail (<v2.1). Outlook Express breaks more badly though, without this it |
44 | | - # may show user "Message no longer in server" errors. Note that OE6 still |
45 | | - # breaks even with this workaround if synchronization is set to |
46 | | - # "Headers Only". |
47 | | - # tb-extra-mailbox-sep: |
48 | | - # Thunderbird gets somehow confused with LAYOUT=fs (mbox and dbox) and |
49 | | - # adds extra '/' suffixes to mailbox names. This option causes Dovecot to |
50 | | - # ignore the extra '/' instead of treating it as invalid mailbox name. |
51 | | - # tb-lsub-flags: |
52 | | - # Show \Noselect flags for LSUB replies with LAYOUT=fs (e.g. mbox). |
53 | | - # This makes Thunderbird realize they aren't selectable and show them |
54 | | - # greyed out, instead of only later giving "not selectable" popup error. |
55 | | - # |
56 | | - # The list is space-separated. |
57 | | - #imap_client_workarounds = |
| 9 | +plugin { |
| 10 | + autocreate = Trash |
| 11 | + autocreate2 = Spam |
| 12 | + autocreate3 = Sent |
| 13 | + autocreate4 = Drafts |
| 14 | + #autocreate5 = Custom |
| 15 | + autosubscribe = Trash |
| 16 | + autosubscribe2 = Spam |
| 17 | + autosubscribe3 = Sent |
| 18 | + autosubscribe4 = Drafts |
| 19 | + #autosubscribe5 = Custom |
58 | 20 | } |
0 commit comments