On 10/29/2014 9:21 AM, Kim Johansen wrote: > Hey all, > > I have a mail server with Postfix and Dovecot running, where I use > Dovecot quota system. > > When a mailbox is full we return an email to sender to inform that > the email could not be delivered, but that will also happen if it is > a spam mail get though to a mailbox, and that reply often end up in > the defer queue. > > My question is if it is possible to configure postfix to only try to > deliver these replies one or two times and then drop them? > > Thanks, > > Kim Johansen
I assume you're talking about unidentified spam delivered to an over-quota mailbox. Intentionally bouncing spam, such as a with an after-queue or delivery time spam filter, is a very bad idea and will eventually get you blacklisted as a backscatter source. You can control how long a bounce stays in the queue with the bounce_queue_lifetime parameter, default is 5d (5 days). http://www.postfix.org/postconf.5.html#bounce_queue_lifetime -- Noel Jones
