On Sun, Dec 03, 2023 at 03:49:04PM -0800, Jake via sudo-sys wrote:
we're still getting "[sudo-info] Delayed Mail
(still being retried)"
emails every day...are we retrying to the messages still?
Is there a good way to remove those? I can do it if you give me a hint where
to look, or what tools to use to dig into this.
thank you for your help
Yeah, there's a pretty easy way to see the current "stuck mail" queue:
$ sudo postqueue -p
Each message has a queue ID at the start of it, something like
"9018BC07D1". To delete a given queue ID, use this command:
$ sudo postsuper -d <QUEUEID>
Be careful with this.
I'm currently looking into ways of blocking Tor. Apache doesn't seem to
have an easy blocklist-by-ip feature, and I'd rather not make it a hard
drop at the firewall level to at least give some notice as to why things
are blocked to the wayward innocent Tor user.
--Sean