damn. thats it. Thank you Motty! I just forgot that after re-queue it has wait $maximal_queue_lifetime in queue.
Changed it for testing to 1m and mails were gone with non-delivery notification to sender. Thank you! Stefan -----Ursprüngliche Nachricht----- Von: Motty Cruz <motty.c...@gmail.com> Gesendet: Donnerstag 21 Dezember 2017 21:23 An: Stefan Bauer <stefan.ba...@cubewerk.de>; postfix-users@postfix.org Betreff: Re: maximal_queue_lifetime has no effect on mails already queued - howto change? 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: 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 <mailto:s...@company.com> (host smtp.provider.com[1.2.3.4] said: 450 4.1.2 <recipi...@invalid-domain.com> <mailto:recipi...@invalid-domain.com> : Recipient address rejected: Domain not found (in reply to RCPT TO command)) recipi...@invalid-domain.com <mailto:recipi...@invalid-domain.com> 712DE57EAE2 22278420 Thu Dec 21 17:04:43 d...@company.com <mailto:d...@company.com> (host smtp.provider.com[1.2.3.4] said: 450 4.1.2 <recipi...@invalid-domain.com> <mailto:recipi...@invalid-domain.com> : Recipient address rejected: Domain not found (in reply to RCPT TO command)) recipi...@invalid-domain.com <mailto:recipi...@invalid-domain.com> thank you! Stefan