Stephen Carville: > I need user non-delivery notifications to be CCed to postmaster. At > least the headers need to be sent. Right I have the double bounces > being sent by adding "2bounce" to notify_classes. I tried adding > "bounce" to notify_classes but that seemed to send an email for every > time postfix rejected a message. Considering over 25,000 messages get > rejected a day that's not too useful to me. > > How do I get non-delivery notifications -- at least the headers -- > sent to postmaster too? Without thousands of transaction snippets > flooding the inbox?
Assuming that you aren't sending these to your primary inbox, you could use a simple pipe-to-command filter that drops "transcript of session follows" notices if you don't want to see bounce reports for inbound mail. When I built notify_classes, it did not seem necessary to have a different bounce option for different bounce types. Now, everyone would have their favorite way of selecting them (inbound, remote, local, different settings for different protocols, and more). Wietse