On 08/06/17 03:25, Noel Jones wrote:
On 6/7/2017 11:48 AM, Hugh Bragg wrote:

I tried adding
[email protected] lda
to /etc/postfix/transport and running
postmap /etc/postfix/transport
but mail still goes out the relay.
Could you please explain how to configure it? The documentation is
obscure about this and I have no experience.

Hugh
The syntax for a transport_maps entry is

address   transport:nexthop

Where "transport" is an entry in master.cf, and "nexthop" is the
destination if the transport requires it.  The ":" is required.

http://www.postfix.org/transport.5.html

Assuming "lda" is the dovecot delivery program defined in master.cf,
you probably need:
[email protected] lda:




   -- Noel Jones

Nice, thanks again,

I added
transport_maps = hash:/etc/postfix/transport
to main.cf and and used the existing dovecot pipe from master.cf as the transport then it worked

Hugh

Reply via email to