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