summaryrefslogtreecommitdiffhomepage
path: root/smtpd/mail/spam
diff options
context:
space:
mode:
Diffstat (limited to 'smtpd/mail/spam')
-rwxr-xr-xsmtpd/mail/spam11
1 files changed, 11 insertions, 0 deletions
diff --git a/smtpd/mail/spam b/smtpd/mail/spam
new file mode 100755
index 0000000..3c48717
--- /dev/null
+++ b/smtpd/mail/spam
@@ -0,0 +1,11 @@
1#! /bin/bash
2
3SIZE=$(ls --size /tmp/spam | cut -d' ' -f1)
4
5if test $SIZE -gt 10000; then
6 cat >/tmp/spam
7else
8 cat >>/tmp/spam
9fi
10
11true