diff options
Diffstat (limited to 'z-distfiles/scripts-gw-1.1/spam-report')
-rwxr-xr-x | z-distfiles/scripts-gw-1.1/spam-report | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/z-distfiles/scripts-gw-1.1/spam-report b/z-distfiles/scripts-gw-1.1/spam-report deleted file mode 100755 index 68a3f0e..0000000 --- a/z-distfiles/scripts-gw-1.1/spam-report +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -if [ -d "${1}" ]; then - MAILS="`ls ${1}`" - if [ ! -z "${MAILS}" ]; then - for MAIL in ${MAILS} - do - echo "Report ${1}/${MAIL}" - spamassassin -r < "${1}/${MAIL}" - echo "Delete ${1}/${MAIL}" - rm "${1}/${MAIL}" - done - fi - if [ -z "${MAILS}" ]; then - echo "Nothing in ${1} to report!" - fi -fi - - |