diff options
Diffstat (limited to 'smtpd/mail/spam')
-rwxr-xr-x | smtpd/mail/spam | 11 |
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 | |||
3 | SIZE=$(ls --size /tmp/spam | cut -d' ' -f1) | ||
4 | |||
5 | if test $SIZE -gt 10000; then | ||
6 | cat >/tmp/spam | ||
7 | else | ||
8 | cat >>/tmp/spam | ||
9 | fi | ||
10 | |||
11 | true | ||