> > > I'm currently using the default_transport to route mail to 10025 for
> > > amavisd. Would I then just use the local transport for local mail then
> > > define it in the transport file?
> >
> > No, because presumably the Bcc mail is supposed to be delivered
> > somewhere else via SMTP.  Instead, you would use a separate logical
> > domain for Bcc recipients, and route that domain (via a suitable
> > transport table entry) to a separate transport (perhaps bypass amavis
> > entirely, unless you need amavis to do something special with Bcc mail).
> >
> > > Or perhaps local_recipient_maps? mydestination is not currently
> > > defined for this instance.
> >
> > I thought I said transport...
>
> Postfix instance 1
>
> main.cf
>     always_bcc = f...@example.com
>
> transport_maps
>     f...@example.com -> 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?

# 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?

Reply via email to