From 9934dd538b0ce116e3b1600272cb46369b082246 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Wed, 2 Feb 2022 13:34:47 +0800 Subject: init commit --- smtpd/mail/spam | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 smtpd/mail/spam (limited to 'smtpd/mail/spam') 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 @@ +#! /bin/bash + +SIZE=$(ls --size /tmp/spam | cut -d' ' -f1) + +if test $SIZE -gt 10000; then + cat >/tmp/spam +else + cat >>/tmp/spam +fi + +true -- cgit v1.2.3-70-g09d2