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 [email protected] recipient
# to [email protected]
/^(.*)@([^@]+)$/ [email protected]
This sends a copy for each recipient to [email protected], with
the original recipient encoded in the address extension.
This question comes up every few months or so.
Wietse