X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/0a76b0032d4004450bee10eded1a8bdb79042c22..5950d5c4e05d47338e97a80dfa0909bf9c870ee5:/bin/resubmit-postponed-messages diff --git a/bin/resubmit-postponed-messages b/bin/resubmit-postponed-messages new file mode 100755 index 0000000..1ea3100 --- /dev/null +++ b/bin/resubmit-postponed-messages @@ -0,0 +1,10 @@ +#!/bin/sh +set -eu + +DELAYED_QUEUE=$HOME/.maildir/.delayed +TICKLER_QUEUE=$HOME/.maildir/.store + +DIR="${0%/*}" + +"$DIR"/list-postponed-messages "$TICKLER_QUEUE" "$DELAYED_QUEUE" \ + | exec xargs "$DIR"/resubmit --list