train spam mails from junk

This commit is contained in:
psy 2021-02-09 14:00:35 +01:00
parent 0cb92f1252
commit d8ace47eea
No known key found for this signature in database
GPG key ID: DFF5B17AC3A8ECF5
7 changed files with 87 additions and 0 deletions

5
files/learn-ham.sieve Normal file
View file

@ -0,0 +1,5 @@
require ["vnd.dovecot.pipe", "copy", "imapsieve", "variables"];
if string "${mailbox}" "Trash" {
stop;
}
pipe :copy "rspamd-learn-ham.sh";