Преглед на файлове

Configure Dovecot’s autocomplete plugin.

Adds/subscribes Drafts, Sent, Junk, Trash and Archive mailboxes.
PajamaSoft преди 11 години
родител
ревизия
ba4d5fa946
променени са 2 файла, в които са добавени 13 реда и са изтрити 1 реда
  1. 1
    1
      roles/mailserver/files/etc_dovecot_conf.d_20-imap.conf
  2. 12
    0
      roles/mailserver/files/etc_dovecot_conf.d_90-plugin.conf

+ 1
- 1
roles/mailserver/files/etc_dovecot_conf.d_20-imap.conf Целия файл

@@ -13,7 +13,7 @@ protocol imap {
13 13
   #mail_max_userip_connections = 10
14 14
 
15 15
   # Space separated list of plugins to load (default is global mail_plugins).
16
-  mail_plugins = $mail_plugins antispam fts fts_solr
16
+  mail_plugins = $mail_plugins antispam fts fts_solr autocreate
17 17
 
18 18
   # IMAP logout format string:
19 19
   #  %i - total number of bytes read from client

+ 12
- 0
roles/mailserver/files/etc_dovecot_conf.d_90-plugin.conf Целия файл

@@ -23,4 +23,16 @@ plugin {
23 23
   # FTS (full text search with Solr)
24 24
   fts = solr
25 25
   fts_solr = break-imap-search url=http://localhost:8080/solr/
26
+  
27
+  # Autocreate (specify mailboxes that must always exist for all users)
28
+  autocreate = Drafts
29
+  autocreate2 = Sent
30
+  autocreate3 = Junk
31
+  autocreate4 = Trash
32
+  autocreate5 = Archive
33
+  autosubscribe = Drafts
34
+  autosubscribe2 = Sent
35
+  autosubscribe3 = Junk
36
+  autosubscribe4 = Trash
37
+  autosubscribe5 = Archive
26 38
 }

Loading…
Отказ
Запис