On Thu, Nov 21, 2013 at 04:42:10PM +0100, Michael Storz wrote:

> I am trying to configure a fixed destination for a smtp transport in
> master.cf instead of confguring the destination in a transport_map.

There's your mistake.  Set the nexthop for the transport in the
transport table.  There is no master.cf (i.e. smtp(8) command-line)
option to set the nexthop destination.

    transport:
        example.com     foosmtp:foonexthop.example

    master.cf:
        foosmtp    unix  -       -       n       -       -       smtp
            -o smtp_mumble=$foosmtp_mumble
            ...

    main.cf:
        # Define the foosmtp_<mumble> overrides in main.cf
        foosmtp_mumble = ...

        indexed = ${default_database_type}:${config}/
        transport_maps = ${indexed}transport

-- 
        Viktor.

Reply via email to