Dovecot relevante Files hinzugefügt
This commit is contained in:
13
dovecot/report-spam.sieve
Normal file
13
dovecot/report-spam.sieve
Normal file
@ -0,0 +1,13 @@
|
||||
require ["vnd.dovecot.pipe", "copy", "imapsieve", "environment", "imap4flags"];
|
||||
|
||||
if environment :is "imap.cause" "COPY" {
|
||||
pipe :copy "sa-learn-spam.sh";
|
||||
}
|
||||
|
||||
# Catch replied or forwarded spam
|
||||
elsif anyof (allof (hasflag "\\Answered",
|
||||
environment :contains "imap.changedflags" "\\Answered"),
|
||||
allof (hasflag "$Forwarded",
|
||||
environment :contains "imap.changedflags" "$Forwarded")) {
|
||||
pipe :copy "sa-learn-spam.sh";
|
||||
}
|
Reference in New Issue
Block a user