I notice that when someone sends a message from my Postfix server & it can't find the destination server or if there is a incorrect domain recipient entered by mistake, it sits in my Postfix queue for days. I think perhaps 4-5 days for some reason. I was wondering if I could shorten the time so the sender gets a delivery failure message kicked back to them in 24 hours rather than waiting 4 or so days.
Code:
[root@mail]# postqueue -p
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
9AC0B778468 239191 Thu Apr 22 11:16:54 carlos@iamghost.com
(Host or domain name not found. Name service error for name=tehnews.com type=MX: Host not found, try again)
dave@tehnews.com