X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/eddb5ee317cb1d447bc5d9fa74de6287f2838a59..016e0df0c545dddb3ef9097b1a52032e38ecd8ef:/bin/resubmit diff --git a/bin/resubmit b/bin/resubmit index 01990b2..63f8a02 100755 --- a/bin/resubmit +++ b/bin/resubmit @@ -6,5 +6,7 @@ PROCMAIL=$HOME/.etc/mailfilter/procmail/procmailrc if [ -z "$1" ]; then cat | exec $PROCMAIL else - exec $PROCMAIL < "$1" + $PROCMAIL < "$1" && rm -f "$1" fi + +exit 0