| | |
| | | require ["fileinto","reject","envelope"]; |
| | | require ["envelope","fileinto","reject"]; |
| | | # rule:[spam] |
| | | if header :contains "X-DSPAM-Result" "Spam" |
| | | { |
| | |
| | | stop; |
| | | } |
| | | # rule:[test2] |
| | | if anyof (not header :comparator "i;octet" :contains "Subject" "[test]", header :contains "Subject" "[test2]") |
| | | if anyof (not header :contains :comparator "i;octet" "Subject" "[test]", header :contains "Subject" "[test2]") |
| | | { |
| | | fileinto "test"; |
| | | stop; |
| | |
| | | } |
| | | fileinto "Test"; |
| | | # rule:[address test] |
| | | if address :all :is "From" "nagios@domain.tld" |
| | | if address :is "From" "nagios@domain.tld" |
| | | { |
| | | fileinto "domain.tld"; |
| | | stop; |