Viktor Dukhovni:
> On Fri, Dec 02, 2022 at 11:36:30AM -0500, John Stoffel wrote:
> 
> > I tried setting up /etc/postfix/transport_maps like this:
> > 
> >    charter.net  [mobile.charter.net]:587

The right-hand side should be 

        transport:nexthop

or

        transport:nexthop:service-or-port

Where transport is the name of a mail delivery service in master.cf,
like 'smtp' or 'relay'.

> > But it started routing all my outgoing email through them, which isn't
> > going to work.
> 
> That's not the way the transport table work.  That particular entry
> affects only message recipients at that particular domain.
> 
> > So I'm missing something here.  Do I need to setup a seperate instance
> > for sending email to @charter.net through an authenticated connection?
> 
> No, you can route specific domains to specific transport+nexthop
> combinations by using the transport(5) table.
> 
> -- 
>     Viktor.
> 

Reply via email to