Skip to content

Commit 74c19bb

Browse files
sirainenfleischie
authored andcommitted
Convert mail_log plugin settings
1 parent 8c13576 commit 74c19bb

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

data/settings.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2663,9 +2663,9 @@ fields aren't cached and it's not a strict requirement to log them.`
26632663

26642664
mail_log_events: {
26652665
plugin: 'mail-log',
2666-
values: setting_types.STRING,
2666+
values: setting_types.BOOLLIST,
26672667
text: `
2668-
A space-separated list of events to log.
2668+
List of events to log.
26692669
26702670
Available events:
26712671
@@ -2682,9 +2682,9 @@ Available events:
26822682

26832683
mail_log_fields: {
26842684
plugin: 'mail-log',
2685-
values: setting_types.STRING,
2685+
values: setting_types.BOOLLIST,
26862686
text: `
2687-
A space-separated list of fields to log.
2687+
List of fields to log.
26882688
26892689
| Field | Restrictions |
26902690
| ----- | ------------ |

docs/core/plugins/mail_log.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ mail_plugins {
4242
mail_log = yes
4343
}
4444
45-
plugin {
46-
mail_log_events = delete undelete expunge mailbox_delete mailbox_rename
47-
mail_log_fields = uid box msgid size from
48-
mail_log_cached_only = yes
49-
}
45+
mail_log_events = delete undelete expunge mailbox_delete mailbox_rename
46+
mail_log_fields = uid box msgid size from
47+
mail_log_cached_only = yes
5048
```

0 commit comments

Comments
 (0)