On Wed, Apr 21, 2021 at 04:19:52PM -0400, Alex wrote:

> > > I thought I said transport...
> >
> > Postfix instance 1
> >
> > main.cf
> >     always_bcc = [email protected]
> >
> > transport_maps
> >     [email protected] -> Postfix instance 2
> >     all other mail -> content filter -> Postfix instance 2
> >
> > Perhaps a picture is worth 1e3 words.
> 
> Does this mean modifying my existing default_transport to send mail to
> be filtered through a transport instead?

No, it means a transport(5) table entry for special-casing
the BCC recipients.

    main.cf:
        indexed = ${default_database_type}:${config_directory}/
        transport_maps = ${indexed}transport

    transport:
        # A single Bcc recipient
        [email protected]             relay:[wherever]:someport

        # And/or a dedicated domain for Bcc recipients
        bcc.example.com             relay:[wherever]:someport

> # postconf -c /etc/postfix-117 default_transport
> default_transport = smtp:[127.0.0.1]:10024
> 
> And this is a separate solution from Victor's, correct?

You leave your default transport alone, it is used for normal
recipients.  You route the BCC recipients via the transport
table.

-- 
    Viktor.

Reply via email to