Hi,

> Wietse:
> > 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.
>
> Alex:
> > 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
>
> That will work, assuming that Postfix instance 1 does not try to
> make its own final deliveries (i.e. mydestination is smpty, ditto
> for virtual_mailbox_domains).
>
> > And this is a separate solution from Victor's, correct?
>
> It is more or less Viktor's suggestion.
>
> Some details will be missing: relay_domains needs to be set u so
> that Postfix instance 1 won't reject mail with "relay access denied".

Thanks for sticking with me here. That's a pretty big change for me.
Victor helped me create the multi-instance setup initially, but I
don't understand enough to set up the transports in this way.
mydestination and virtual_mailbox_domains are empty.

# postmulti -l
-               -               y         /etc/postfix
postfix-out     mta             y         /etc/postfix-out
postfix-109     mta             y         /etc/postfix-109
postfix-110     mta             y         /etc/postfix-110

# postconf -nc /etc/postfix-109 |grep transport
default_transport = smtp:[127.0.0.1]:10024
local_transport = error:5.1.1 Mailbox unavailable
relay_transport = $default_transport
transport_maps =
virtual_transport = $default_transport

Reply via email to