How to configure fixed nexthop destination for smtp in master.cf

2013-11-21 Thread Michael Storz
I am trying to configure a fixed destination for a smtp transport in master.cf instead of confguring the destination in a transport_map. Since smtp has no special command-line option for this I suppose I have to specify a generic Postfix daemon option via -o. However, since all relevant command

Re: How to configure fixed nexthop destination for smtp in master.cf

2013-11-21 Thread Viktor Dukhovni
On Thu, Nov 21, 2013 at 06:00:04PM +0100, Michael Storz wrote: > >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. > > Well, it is not a mistake, it was the question, if

Re: How to configure fixed nexthop destination for smtp in master.cf

2013-11-21 Thread Manuel Bieling
On 2013.11.21 16:42:10 +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. > Since smtp has no special command-line option for this I suppose I > have to specify a generic Postfix da

Re: How to configure fixed nexthop destination for smtp in master.cf

2013-11-21 Thread Michael Storz
Am 2013-11-21 17:26, schrieb Manuel Bieling: On 2013.11.21 16:42:10 +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. Since smtp has no special command-line option for this I suppos

Re: How to configure fixed nexthop destination for smtp in master.cf

2013-11-21 Thread Viktor Dukhovni
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

Re: How to configure fixed nexthop destination for smtp in master.cf

2013-11-21 Thread Manuel Bieling
On 2013.11.21 17:45:29 +0100, Michael Storz wrote: > Am 2013-11-21 17:26, schrieb Manuel Bieling: > >On 2013.11.21 16:42:10 +0100, Michael Storz wrote: > >You specify command line options for the smtp daemon via '-o'. > >All options are well documented in > > > >http://www.postfix.org/smtp.8.ht

Re: How to configure fixed nexthop destination for smtp in master.cf

2013-11-21 Thread Michael Storz
Am 2013-11-21 17:39, schrieb Viktor Dukhovni: 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

Re: How to configure fixed nexthop destination for smtp in master.cf

2013-11-21 Thread Viktor Dukhovni
On Thu, Nov 21, 2013 at 05:45:29PM +0100, Michael Storz wrote: > Correct, default_transport cannot be used because to is too late. > What I need is a smtp option which would be evaluated when the email > arrives at the smtp transport and which would overwrite the > destination already calculated b