Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require ["fileinto","vacation"];
- if allof (address :is ["to","cc"] "linalg@tu-harburg.de") {
- fileinto "linalg";
- }
- if allof (address :is ["to","cc"] "premium@mail2.vmol.de") {
- fileinto "premium";
- }
- # If you want to use a private whitelist
- # remove the 4 lines containing "WL" and add
- # your own "address" lines
- #
- /* WL
- if not anyof (
- # Use "," to separate all but the last entry
- # For filtering against header From: line use this:
- # address :all "From" "my@friendly.org"
- # If you want to whitelist a whole domain use this:
- # address :domain "From" "friendly.com"
- # For filtering against envelope-from use this:
- # envelope :all "From" "my@friendly.org"
- ) {
- WL */
- # Spam Filter
- if header :contains "X-Spam-Level" "*****" {
- fileinto "Spam5";
- stop;
- } elsif header :contains "X-Spam-Level" "****" {
- fileinto "Spam4";
- stop;
- }
- /* WL
- }
- WL */
Add Comment
Please, Sign In to add comment