From: martin f. krafft Date: Sun, 23 Sep 2007 15:26:28 +0000 (+0200) Subject: add resubmit script X-Git-Url: https://git.madduck.net/etc/mailfilter.git/commitdiff_plain/eddb5ee317cb1d447bc5d9fa74de6287f2838a59?ds=sidebyside add resubmit script --- diff --git a/bin/resubmit b/bin/resubmit new file mode 100755 index 0000000..01990b2 --- /dev/null +++ b/bin/resubmit @@ -0,0 +1,10 @@ +#!/bin/sh +set -eu + +PROCMAIL=$HOME/.etc/mailfilter/procmail/procmailrc + +if [ -z "$1" ]; then + cat | exec $PROCMAIL +else + exec $PROCMAIL < "$1" +fi