On Thu, May 30, 2024 at 7:12 AM Wietse Venema via Postfix-users
<postfix-users@postfix.org> wrote:
>
> Greg Sims via Postfix-users:
> > double-bounces which is now unclear -- at least to me.  Perhaps you
> > can give me an idea of how to capture just the double-bounces locally.
>
> 1) The postmaster recipient address for single or double bounces is 
> configurable.
>     https://www.postfix.org/postconf.5.html#notify_classes
>     https://www.postfix.org/postconf.5.html#bounce_notice_recipient
>     https://www.postfix.org/postconf.5.html#2bounce_notice_recipient
>
> 2) You can configure Postfix to deliver that address locally.
>     https://www.postfix.org/STANDARD_CONFIGURATION_README.html#some_local

I believe I am ready to capture the double-bounce locally.

This is main.cf:
  # 24-05-30 save the bounces locally at bounce-local
  notify_classes = 2bounce, bounce, resource, software
  bounce_notice_recipient = bounce-local
  2bounce_notice_recipient = bounce-local
  virtual_alias_maps = hash:/etc/postfix/virtual

This is virtual:
  bounce-local    bounce-local@localhost

and ran postmap /etc/postfix/virtual.

Thanks, Greg
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to