Guest User

Untitled

a guest
Jul 21st, 2018
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. require ["fileinto","vacation"];
  2.  
  3. if allof (address :is ["to","cc"] "linalg@tu-harburg.de") {
  4. fileinto "linalg";
  5. }
  6.  
  7. if allof (address :is ["to","cc"] "premium@mail2.vmol.de") {
  8. fileinto "premium";
  9. }
  10.  
  11.  
  12. # If you want to use a private whitelist
  13. # remove the 4 lines containing "WL" and add
  14. # your own "address" lines
  15. #
  16.  
  17. /* WL
  18. if not anyof (
  19. # Use "," to separate all but the last entry
  20.  
  21. # For filtering against header From: line use this:
  22. # address :all "From" "my@friendly.org"
  23.  
  24. # If you want to whitelist a whole domain use this:
  25. # address :domain "From" "friendly.com"
  26.  
  27. # For filtering against envelope-from use this:
  28. # envelope :all "From" "my@friendly.org"
  29. ) {
  30. WL */
  31. # Spam Filter
  32. if header :contains "X-Spam-Level" "*****" {
  33. fileinto "Spam5";
  34. stop;
  35. } elsif header :contains "X-Spam-Level" "****" {
  36. fileinto "Spam4";
  37. stop;
  38. }
  39. /* WL
  40. }
  41. WL */
Add Comment
Please, Sign In to add comment