Skip to content

Commit a263042

Browse files
mariuszkrzaczkowskisirainen
authored andcommitted
config/spam_reporting: Unify sieve script paths
1 parent d0a35f0 commit a263042

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/core/config/spam_reporting.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ mailbox Spam {
7272
sieve_script report-spam {
7373
type = before
7474
cause = copy
75-
path = /etc/dovecot/report-spam.sieve
75+
path = /etc/dovecot/sieve/report-spam.sieve
7676
}
7777
}
7878
@@ -81,21 +81,21 @@ imapsieve_from Spam {
8181
sieve_script report-ham {
8282
type = before
8383
cause = copy
84-
path = /etc/dovecot/report-ham.sieve
84+
path = /etc/dovecot/sieve/report-ham.sieve
8585
}
8686
}
8787
8888
# Needed to send message to external mail server
8989
submission_host = 127.0.0.1:587
9090
```
9191

92-
```[/etc/dovecot/report-spam.sieve]
92+
```[/etc/dovecot/sieve/report-spam.sieve]
9393
require "vnd.dovecot.report";
9494
9595
report "abuse" "User added this message to the Spam folder." "[email protected]";
9696
```
9797

98-
```[/etc/dovecot/report-ham.sieve]
98+
```[/etc/dovecot/sieve/report-ham.sieve]
9999
require "vnd.dovecot.report";
100100
require "environment";
101101
require "imapsieve";
@@ -186,7 +186,7 @@ mailbox Spam {
186186
sieve_script report-spam {
187187
type = before
188188
cause = copy
189-
path = /etc/dovecot/report-spam.sieve
189+
path = /etc/dovecot/sieve/report-spam.sieve
190190
}
191191
}
192192
@@ -195,12 +195,12 @@ imapsieve_from Spam {
195195
sieve_script report-ham {
196196
type = before
197197
cause = copy
198-
path = /etc/dovecot/report-ham.sieve
198+
path = /etc/dovecot/sieve/report-ham.sieve
199199
}
200200
}
201201
```
202202

203-
```[/etc/dovecot/report-spam.sieve]
203+
```[/etc/dovecot/sieve/report-spam.sieve]
204204
require ["vnd.dovecot.pipe", "copy", "imapsieve", "environment", "variables"];
205205
206206
if environment :matches "imap.user" "*" {
@@ -211,7 +211,7 @@ if environment :matches "imap.user" "*" {
211211
pipe :copy "sa-learn-spam.sh" [ "${username}" ];
212212
```
213213

214-
```[/etc/dovecot/report-ham.sieve]
214+
```[/etc/dovecot/sieve/report-ham.sieve]
215215
require ["vnd.dovecot.pipe", "copy", "imapsieve", "environment", "variables"];
216216
217217
if environment :matches "imap.mailbox" "*" {

0 commit comments

Comments
 (0)