Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- MAIL_ROOT="/var/vmail";
- MAIL_SPAM=${MAIL_ROOT}"/*/spam/{cur,new}/*";
- MAIL_NOSPAM=${MAIL_ROOT}"/*/no-spam/{cur,new}/*";
- SA_LEARN=`which sa-learn`;
- TEMP_SPAM=/tmp/spamlearn_
- echo "variabili caricate:"
- echo MAIL_ROOT: $MAIL_ROOT
- echo MAIL_SPAM: $MAIL_SPAM
- echo TEMP_SPAM: $TEMP_SPAM
- grep -siLF X-Spam-Flag ${MAIL_SPAM} > ${TEMP_SPAM}_account_specifico.tmp
- echo "grep fatto"
- ls -la ${TEMP_SPAM}_account_specifico.tmp
- tail ${TEMP_SPAM}_account_specifico.tmp
- echo "fine"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement