Hans van Zijst: > Hi Wietze, > > Thanks for your reply. > > > On 07-07-2021 17:43, Wietse Venema wrote: > > Hans van Zijst: > >> I'm trying to get Postfix to send its bounce notices to a different > >> address than "postmaster", so I configured > >> > >> notify_classes = resource, software, bounce, 2bounce > >> bounce_notice_recipient = bou...@example.com > >> 2bounce_notice_recipient = bou...@example.com > >> error_notice_recipient = bou...@example.com > > > > This configures delivery of POSTMASTER COPIES OF DELIVERY STATUS > > NOTIFICATIONS (and other errors). > > > > This DOES NOT configure delivery of STANDARD DELIVERY STATUS > > NOTIFICATIONS TO THE ENVELOPE SENDER. > > > > Wietse
Short answer: the Postfix SMTP daemon (and SMTP client) send session transcripts to $error_notice_recipient. That might be as promised for policy, resource, software or protocol errors, but unexpected for for rejected recipients. However, the SMTP client does not email transcripts for bounces when notify_classes includes 'bounce' or '2bounce'. Another limitation is that these programs can send only one transcript, so if a session has more than one kind of error, and those errors have different notification recipients, then only one would get the notice. Wietse