summaryrefslogtreecommitdiffstats
path: root/doc/wiki/Plugins.Autocreate.txt
blob: e1b2eee6c707390c674b35e67dc9c4bbcd6478c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Autocreate plugin (v2.0 and older)
==================================

With v2.1+ you don't need this plugin. Use <mailbox { auto } setting>
[MailboxSettings.txt] instead.

This plugin allows administrator to specify mailboxes that must always exist
for all users. They can optionally also be subscribed. The mailboxes are
created and subscribed always after user logs in. Namespaces are fully
supported, so namespace prefixes need to be used where necessary.

Example:

---%<-------------------------------------------------------------------------
protocol imap {
  mail_plugins = $mail_plugins autocreate
}
plugin {
  autocreate = Trash
  autocreate2 = Spam
  #autocreate3 = ..etc..
  autosubscribe = Trash
  autosubscribe2 = Spam
  #autosubscribe3 = ..etc..
}
---%<-------------------------------------------------------------------------

(This file was created from the wiki on 2019-06-19 12:42)