X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/0e6de930e8c8037587f9843f39a0611f22fd78ca..4cc46df1f4b20caa5db39a06610931be142a613f:/bin/process-delayed-queue diff --git a/bin/process-delayed-queue b/bin/process-delayed-queue index 82818eb..e5bb5f1 100755 --- a/bin/process-delayed-queue +++ b/bin/process-delayed-queue @@ -6,7 +6,7 @@ MAILDIR=$HOME/.maildir SQLITE=/usr/bin/sqlite3 RESUBMIT=$HOME/.etc/mailfilter/bin/resubmit -DELAYED_QUEUE_DB=$VAR/procmail/delayed-queue.sqlite +DELAYED_QUEUE_DB=$HOME/.var/procmail/delayed-queue.sqlite QUERY='select * from messages where release_ts < strftime("%s", "now")' @@ -16,7 +16,7 @@ $SQLITE -column $DELAYED_QUEUE_DB "$QUERY" | while read msgid file ts; do echo "E: message $msgid not found in $file" >&2 else $RESUBMIT "$file" - echo "I: resubmitted $msgid" >&2 + echo "I: resubmitted $msgid" fi $SQLITE $DELAYED_QUEUE_DB "delete from messages where msgid = '$msgid'" done