Geen omschrijving
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

dot_dovecot.sieve 388B

1234567891011
  1. require ["regex", "fileinto", "imap4flags"];
  2. # Catch mail tagged as Spam, except Spam retrained and delivered to the mailbox
  3. if allof (header :regex "X-DSPAM-Result" "^(Spam|Virus|Bl[ao]cklisted)$",
  4. not header :contains "X-DSPAM-Reclassified" "Innocent") {
  5. # Mark as read
  6. setflag "\\Seen";
  7. # Move into the Junk folder
  8. fileinto "Spam";
  9. # Stop processing here
  10. stop;
  11. }