Created
November 13, 2014 10:22
-
-
Save digitalpardoe/477a4d23d3e058984e46 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if true { | |
| notify :method "mailto" :options ["[email protected]"] :message "/ $subject$ /"; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if not header :contains ["X-Spam-known-sender"] "yes" { | |
| if allof( | |
| header :contains ["X-Backscatter"] "yes", | |
| not header :matches ["X-LinkName"] "*" | |
| ) { | |
| setflag "\\Seen"; | |
| fileinto "INBOX.Junk Mail"; | |
| stop; | |
| } | |
| if header :value "ge" :comparator "i;ascii-numeric" ["X-Spam-score"] ["5"] { | |
| setflag "\\Seen"; | |
| fileinto "INBOX.Junk Mail"; | |
| stop; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if header :matches ["x-forwarded-for"] "[email protected]" { | |
| discard; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment