On 10/29/2012 05:28 PM, Wietse Venema wrote:
Ram:
I want to redirect all mails that expire after maximal_queue_lifetime
to a program that will parse these mails then send an appropriate error
Can I do this with postfix ?
That is not documented, therefore that is not implemented.
Postfix uses the same text for bounced mail as "too old" mail.
See: http://www.postfix.org/bounce.5.html
The problem is when the mail has been on my postfix relay server for 5
days and then the mail bounces back, postfix does not log for which
recipient the mail failed
To trace the qid for five days maillogs on a busy server is not possible
to get all the recipients for whom the mail expired is not possible
Is there a better way out to simply log all failed recipients
Thanks
Ram