list...@tutanota.com: > 24. Apr 2016 07:09 by wie...@porcupine.org: > > > You need to distinguish between the effect (the client dropped the > > connection) and the cause (Postfix rejected mail because it did not > > satisfy policy). > > > > Okay I was a little confused because I thought 'reason' means 'cause'. > > So I see in this example the cause is from > > notify_classes = policy > > So can I add that fact to the postmaster message? So that it says > 'cause' == 'policy' so the reader does not have to wonder more? > > Here the reader that is at first notified will not always have > access immediately to the logs. I just want them to have the > complete information for a good decision.
If someone has the time, they can propose a patch (considering that this code was written in 1997, I don't see it as an urgent problem). While they are at it, they might also enforce that the transcript is sent to the recipient that is configured for the notification class (and of course do something reasonable when the notification covers multiple classes). Right now, the Postfix SMTP server and SMTP client send the transcript to the error recipient, not necessarily the recipient that is configured for the notification class. Wietse