X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/42a5256de2c5182ddcece78d3da54ea91cfbf088..3c950f6eebc63284f6a50c9e26b428141eef4c0d:/bin/process-delayed-queue diff --git a/bin/process-delayed-queue b/bin/process-delayed-queue index e978a40..6ab1163 100755 --- a/bin/process-delayed-queue +++ b/bin/process-delayed-queue @@ -8,7 +8,7 @@ RESUBMIT=$HOME/.etc/mailfilter/bin/resubmit DELAYED_QUEUE_DB=$HOME/.var/procmail/delayed-queue.sqlite -QUERY='select * from messages where release_ts < strftime("%s", "now")' +QUERY='select * from messages where release_ts <= strftime("%s", "now")' $SQLITE -list -separator ' ' $DELAYED_QUEUE_DB "$QUERY" \ | while read msgid basefile ts; do