I'm not sure if I understand you questions correctly.

have you try re-queue the email with the following command:
postsuper -r ALL

depending on your OS, I used FreeBSD it would usually be here:
/var/spool/postfix/deferred/

Thanks,
Motty

On 12/21/2017 12:06 PM, Stefan Bauer wrote:
maximal_queue_lifetime has no effect on mails already queued - howto change?
Dear Users,

i changed maximal_queue_lifetime from 5d to 1h but mails already in queue are not affected by this change. How can i remove mails from the queue and send non-delivery-notifications to senders? i dont want to wait more days. my queue shows:

root@mailserver:/home/cwadmin# mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
80D2C57F14D   214006 Mon Dec 18 11:46:31  s...@company.com
(host smtp.provider.com[1.2.3.4] said: 450 4.1.2 <recipi...@invalid-domain.com>: Recipient address rejected: Domain not found (in reply to RCPT TO command))
 recipi...@invalid-domain.com

712DE57EAE2  22278420 Thu Dec 21 17:04:43  d...@company.com
(host smtp.provider.com[1.2.3.4] said: 450 4.1.2 <recipi...@invalid-domain.com>: Recipient address rejected: Domain not found (in reply to RCPT TO command))
 recipi...@invalid-domain.com

thank you!

Stefan

Reply via email to