mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-02 17:14:31 +02:00
init spams to junk
This commit is contained in:
parent
7eacb4cfc0
commit
d829905cf7
7 changed files with 126 additions and 13 deletions
|
@ -32,7 +32,7 @@ plugin {
|
|||
# file names, using a normal 8bit per-character comparison. Multiple script
|
||||
# file or directory paths can be specified by appending an increasing number.
|
||||
#sieve_before = /usr/lib/dovecot/sieve-global/before.dovecot.sieve
|
||||
#sieve_before2 =
|
||||
#sieve_before2 = /usr/lib/dovecot/sieve-global/before.spam.sieve
|
||||
#sieve_before3 = (etc...)
|
||||
|
||||
# Identical to sieve_before, only the specified scripts are executed after the
|
||||
|
|
4
target/dovecot/sieve/before.spam.sieve
Normal file
4
target/dovecot/sieve/before.spam.sieve
Normal file
|
@ -0,0 +1,4 @@
|
|||
require "fileinto";
|
||||
if header :contains "X-Spam-Flag" "YES" {
|
||||
fileinto "Junk";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue