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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!