CONTENT
  • CHANGES
Szukaj
counter

#top Autocreate plugin


Plugins / Autocreate plugin - Automatically create/subscribe mailboxes when user logs in

Dokumentacja Dovecot: Plugins / Autocreate plugin (Dovecot 1.*) | Plugins / Autocreate plugin (Dovecot 2.*)
Dovecot 1.*: /etc/dovecot.conf
Dovecot 2.*: /etc/dovecot/conf.d/20-imap.conf /etc/dovecot/conf.d/90-sieve.conf

EXAMPLES
(Dovecot 1.*) Zmiany jakie należy wprowadzić w /etc/dovecot.conf:
protocol imap {
[...]
  # Support for dynamically loadable plugins. mail_plugins is a space separated
  # list of plugins to load.
  #mail_plugins =
  mail_plugins = autocreate
  #mail_plugin_dir = /usr/lib/dovecot/imap
[...]
}
[...]
plugin {
[...] # at the end plugin section
  # mail_plugins autocreate (auto create imap folders for new users)
  autocreate = Sent
  autocreate2 = Trash
  autocreate3 = Drafts
  autocreate4 = Templates
  autocreate5 = Trash
  autocreate6 = SPAM
  autosubscribe = Sent
  autosubscribe2 = Trash
  autosubscribe3 = Drafts
  autosubscribe4 = Templates
  autosubscribe5 = Trash
  autosubscribe6 = SPAM
}

(Dovecot 2.*) Zmiany jakie należy wprowadzić w /etc/dovecot/conf.d/20-imap.conf:
protocol imap {
[...]
  #mail_plugins = $mail_plugins
  mail_plugins = autocreate
[...]
}

(Dovecot 2.*) Zmiany jakie należy wprowadzić w /etc/dovecot/conf.d/90-sieve.conf:
[...]
plugin {
[...] # at the end plugin section
  # mail_plugins autocreate (auto create imap folders for new users)
  autocreate = Sent
  autocreate2 = Trash
  autocreate3 = Drafts
  autocreate4 = Templates
  autocreate5 = Trash
  autocreate6 = SPAM
  autosubscribe = Sent
  autosubscribe2 = Trash
  autosubscribe3 = Drafts
  autosubscribe4 = Templates
  autosubscribe5 = Trash
  autosubscribe6 = SPAM
}




Zmodyfikowany ostatnio: 2018/01/01 16:08:01 (7 lat temu), textsize: 43,5 kB, htmlsize: 3,46 kB

Zapraszam do komentowania, zgłaszania sugestii, propozycji, własnych przykładów, ...
Dodaj komentarzKomentarze użytkowników