summaryrefslogtreecommitdiff
path: root/acme/bin/Isspam
diff options
context:
space:
mode:
Diffstat (limited to 'acme/bin/Isspam')
-rwxr-xr-xacme/bin/Isspam13
1 files changed, 13 insertions, 0 deletions
diff --git a/acme/bin/Isspam b/acme/bin/Isspam
new file mode 100755
index 000000000..2c30d7703
--- /dev/null
+++ b/acme/bin/Isspam
@@ -0,0 +1,13 @@
+#!/bin/rc
+
+if(! ~ $#* 0){
+ echo usage: Isspam >[1=2]
+ exit usage
+}
+
+if(! ~ `{pwd} /mail/fs/*/[0-9]* || ! test -f raw || ! test -f unixheader){
+ echo must run in mail directory >[1=2]
+ exit 'bad dir'
+}
+
+cat unixheader raw | upas/isspam