Stop email going to deferred queue

stevewilwerding

New Member
Apr 21, 2023
20
1
3
I have the following settings. In /etc/postfix/main.cf:

maximal_queue_lifetime = 0
bounce_queue_lifetime = 0


In /etc/postfix/master.cf:

bounce unix - - - - 0 discard
defer unix - - - - 0 discard

And in Proxmox UI, Configuration->Mail Proxy->Options:

Send NDR on Blocked E-Mails = No

Yet I am still seeing messages piling up in the deferred queue. I would prefer that deferred messages just get thrown away. What config am I missing?
 
I figured it out - with the latest update, using discard in the master.cf is no longer supported, and in fact, makes bounces occur in ways that the main.cf settings don't affect. After changing from discard back to bounce in master.cf, it is now working as expected.