Is it possible to specify the lifetime of a message on the Postfix deferred queue on a per-message basis, or using some rules based on, for example, the sender address?
In our outgoing mail queue, we have a mixture of different classes of email, and I would like some of those to have a fairly short lifetime (promotional emails) but still have a long lifetime for most emails (operational messages, supplier notifications).
The only controls I can find are
maximal_queue_lifetime which affect all messages.
The alternative approach, I suppose, is to simply have two Postfix instances with different parameters serving two queues. I was hoping to avoid the complexity but there may be no other way?