On 15 June 2017 at 11:58, Wietse Venema <wie...@porcupine.org> wrote:
> Dominic Raferd: > > We occasionally get emails in our postfix queue that can never be > delivered > > but which are held in the queue for a week before postfix bounces them > > (example: sender has typed gmail.co instead of gmail.com). I realise > this > > delay is the correct behaviour, but how can I - by exception - bounce a > > queued mail immediately, with notification back to sender? > > See the thread "How to bounce malformed addresses ?" from a few days ago. I think my situation is different. In that thread the problem was that sender never received bounce notification (for some reason). In my situation, the bounce notification will be issued (and received by sender) at the correct time (i.e. after one week) but I would like a way to trigger this earlier for some emails stuck in the queue. A week's delay in receiving a non-notification message for a response to a sales lead may lose the sale opportunity (you might expect response is to a valid email address but here sender is responding to a manually-entered 'Reply-To' address on a web form). Once sender has the non-notification message (s)he might spot the typo or be able to use another contact method. Rather than deleting an item from the queue (postsuper -d) I want a way - by exception - of defining it as failed thus triggering immediate bounce notification (i.e. before the week has expired). Maybe some option to postsuper that I haven't understood? In the meantime I have implemented Noel's helpful suggestions (in the aforementioned thread) for rejecting mails to commonly-mistyped domains - using transport table.