summaryrefslogtreecommitdiffhomepage
path: root/smtpd/mail/spam
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2022-02-02 13:34:47 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-11-30 21:09:29 +0800
commit9934dd538b0ce116e3b1600272cb46369b082246 (patch)
tree2f28c6c362201151eaf8218e566479ed7eb72070 /smtpd/mail/spam
init commit
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