X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/3a35a72b02f689e9ed9ec92f45f084f761d5c8b5..3c950f6eebc63284f6a50c9e26b428141eef4c0d:/bin/release-delayed-messages diff --git a/bin/release-delayed-messages b/bin/release-delayed-messages index 6a057c9..fd381d3 100755 --- a/bin/release-delayed-messages +++ b/bin/release-delayed-messages @@ -6,7 +6,7 @@ MAILDIR=$HOME/.maildir SQLITE=/usr/bin/sqlite3 DELAYED_QUEUE_DB=$HOME/.var/procmail/delayed-queue.sqlite -QUERY="update messages set release_ts = strftime('%s', 'now') - 10 where filename like '.delayed/%'" +QUERY="update messages set release_ts = strftime('%s', 'now') where filename like '.delayed/%'" $SQLITE $DELAYED_QUEUE_DB "$QUERY" exec $HOME/.etc/mailfilter/bin/process-delayed-queue