Jason Voorhees:
> > I suggest the documentation, instead:
> >
> > http://www.postfix.org/postconf.5.html#smtpd_proxy_filter
> >
> 
> Thanks, I'm going to read it.
> 
> > This can be anything that speaks SMTP.
> >
> > (Note that implementing one of the *_bcc options will be far easier)
> >
> 
> I'm not pretty sure how to do that because I don't want to bcc all my
> e-mail to one address.

/etc/postfix/main.cf:
    recipient_bcc_maps = pcre:/etc/postfix/recipient_pcre
    recipient_delimiter = +

/etc/postfix/recipient_pcre:
    # Send copy of mail for each u...@example.org recipient
    # to archive+user=example....@example.com
    /^(.*)@([^@]+)$/    archive+$1=$2...@example.com

This sends a copy for each recipient to arch...@example.com, with
the original recipient encoded in the address extension.

This question comes up every few months or so.

        Wietse

Reply via email to