X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/cb1ad07539d7ccca1c1fcd2d881311980d0aae3f..ff92db2e5401f79a2721d2ffc20cbd21cb15f109:/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