Skip to content

Commit 19200b3

Browse files
sirainencmouse
authored andcommitted
global: Remove various obsolete plugin section usage
1 parent 1f76612 commit 19200b3

File tree

8 files changed

+13
-22
lines changed

8 files changed

+13
-22
lines changed

docs/core/config/auth/master_users.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ The options for handling this are:
7171
You can create a `default ACL`, that applies to all mailboxes. See example
7272
below.
7373

74-
2. Set `plugin { acl_user=%{user} }`. This preserves the master_user for other
74+
2. Set [[setting,acl_user,%{user}]]. This preserves the master_user for other
7575
purposes (e.g. `%{master_user}` variable).
7676

77-
3. Set `plugin { master_user=%{user} }`. This fully hides that master user login is
77+
3. Change userdb to return `userdb_fields { master_user=%{user} }`. This fully hides that master user login is
7878
being used.
7979

8080
Example configuration:

docs/core/config/auth/userdb.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,7 @@ helpful to know how Dovecot internally passes them:
203203

204204
1. First all actual settings are first read into memory.
205205
2. Next all the extra fields returned by `userdb` lookup are used to override
206-
the settings. Any unknown setting is placed into the plugin {} section
207-
(e.g. `foo=bar` will be parsed as if it were `plugin { foo=bar }`).
206+
the settings.
208207
3. Last, if [[link,post_login_scripting]] is used, it may modify the
209208
settings.
210209

docs/core/design/mail_user.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ directly. Some of the most useful things you can do with a user are:
2222
- `mail_user_home_expand()` expands `~/` at the beginning of given
2323
path to user's actual home directory.
2424

25-
- `mail_user_plugin_getenv()` returns value for a setting defined in
26-
`plugin {}` section.
27-
2825
Typically each new IMAP/POP3/etc. connection creates a single mail user.
2926
If the same process handles multiple connections for the same user, they
3027
don't share the same mail_user (especially since each mail_user has a

docs/core/plugins/fts.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,9 @@ They are configured through [[setting,language_filters]].
287287
Example:
288288

289289
```
290-
plugin {
291-
language_filters = normalizer-icu snowball stopwords
292-
language_filters_en = lowercase snowball english-possessive stopwords
290+
language_filters = normalizer-icu snowball stopwords
291+
language en {
292+
language_filters = lowercase snowball english-possessive stopwords
293293
}
294294
```
295295

docs/core/plugins/lazy_expunge.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@ acl_driver = vfile
7373
# Move messages to an .EXPUNGED mailbox
7474
lazy_expunge_mailbox = .EXPUNGED
7575
76-
plugin {
77-
# Define ACL so that user cannot list the .EXPUNGED mailbox
78-
acl = vfile:/etc/dovecot/dovecot.acl
79-
}
8076
mailbox .EXPUNGED {
8177
# Expunged messages most likely don't want to be included in quota:
8278
quota_ignore = yes

docs/core/plugins/push_notification_lua.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,11 @@ end
195195
```lua:line-numbers
196196
-- To use:
197197
--
198-
-- plugin {
199-
-- push_notification_driver = lua:file=/home/example/empty.lua
200-
-- push_lua_url = http://push.notification.server/handler
198+
-- push_notification lua {
199+
-- lua_file = /home/example/empty.lua
200+
-- lua_settings {
201+
-- push_lua_url = http://push.notification.server/handler
202+
-- }
201203
-- }
202204
--
203205
-- server is sent a POST message to given url with parameters

docs/core/plugins/quota.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,9 +277,7 @@ See [[setting,quota_exceeded_message]].
277277
Example:
278278

279279
```[dovecot.conf]
280-
plugin {
281-
quota_exceeded_message = Quota exceeded, please go to http://www.example.com/over_quota_help for instructions on how to fix this.
282-
}
280+
quota_exceeded_message = Quota exceeded, please go to http://www.example.com/over_quota_help for instructions on how to fix this.
283281
```
284282
## Quota Drivers
285283

docs/howto/virtual/simple_install.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,7 @@ protocol imap {
174174
}
175175
}
176176
177-
plugin {
178-
quota = maildir
177+
quota User {
179178
}
180179
```
181180

0 commit comments

Comments
 (0)