2019-11-15 03:23:58 +08:00
|
|
|
headline: lang.sieve_preset_1
|
|
|
|
content: |
|
2019-12-28 05:03:06 +08:00
|
|
|
require ["reject","body","regex"];
|
|
|
|
if anyof (body :raw :regex ["filename=.*\.doc","filename=.*\.exe","filename=.*\.moo"]) {
|
|
|
|
reject text:
|
|
|
|
doc, exe and moo are dangerous file extensions.
|
|
|
|
Why would you do that? I am a sad cow.
|
|
|
|
.
|
|
|
|
;
|
|
|
|
}
|