X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/42a5256de2c5182ddcece78d3da54ea91cfbf088..8d18b671d3e6e0c871f6cc81cf6ddc58589f35ce:/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