On Tue, 2022-09-06 at 12:07 -0400, Wietse Venema wrote:
> Jim Popovitch:
> > On Tue, 2022-09-06 at 09:25 -0400, Viktor Dukhovni wrote:
> > > On Tue, Sep 06, 2022 at 06:35:05AM -0400, Wietse Venema wrote:
> > > 
> > > > > Any suggestion?
> > > > 
> > > > /etc/postfix/main.cf:
> > > >     recipient_bcc_maps = pcre:/etc/postfix/recipient_bcc.pcre
> > > > 
> > > > /etc/postfix/recipient_bcc.pcre:
> > > >     (.+)@(+)    $1%$2@backup.example
> > > 
> > > Nit:
> > > 
> > >     /(.+)@(.+)/   $1%$2@backup.example
> > 
> > What are my options for sending that to a file instead of a destination
> > address?  I want to temporarily store a copy of all bounce emails for a
> > mailinglist to debug a bounce processing problem. 
> 
> Proper mail systems will return undeliverable messages to the mailing
> list's bounce address. Just like any other email, you can receive
> those messages in a mailbox file or in a maildir structure.

Right, right.  What I want to do is add the recipient_bcc_maps that you
suggested earlier, and modify it to match the bounce address, and then
dump that to a file for future examination the next time the mailing
list's bound processing doesn't function as it should. 

-Jim P.


Reply via email to