Skip to content

Commit ecab186

Browse files
sirainencmouse
authored andcommitted
imap-sieve: Add example configuration
1 parent d00c65c commit ecab186

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

docs/core/plugins/imap_sieve.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,25 @@ This plugin registers the `imapsieve` extension with the Sieve
108108
interpreter. This extension is enabled implicitly, which means that it
109109
does not need to be added to the [[setting,sieve_extensions]] setting.
110110

111+
## Example Configuration
112+
113+
```[dovecot.conf]]]
114+
imapsieve_from Spam {
115+
sieve_script ham {
116+
type = before
117+
cause = copy
118+
path = /etc/dovecot/sieve/ham.sieve
119+
}
120+
}
121+
mailbox Spam {
122+
sieve_script spam {
123+
type = before
124+
cause = copy
125+
path = /etc/dovecot/sieve/spam.sieve
126+
}
127+
}
128+
```
129+
111130
## Settings
112131

113132
### imap-sieve

0 commit comments

Comments
 (0)