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 daemon option via -o. However,
You specify command line options for the smtp daemon via '-o'.
All options are well documented in
http://www.postfix.org/smtp.8.html
> since all relevant commands in main.cf like default_transport
> include a transport field, but transport has already been choosen
> when the email arrives at my smtp transport, I have no idea how to
> configure this in the correct way.
'default_transport' is an option for the trivial-rewrite daemon [1] and
trivial-rewrite is queried by the qmgr daemon [2].
[1]: http://www.postfix.org/trivial-rewrite.8.html
[2]: http://www.postfix.org/ADDRESS_REWRITING_README.html
Thus one solution is to manage multiple postfix instances.
http://www.postfix.org/MULTI_INSTANCE_README.html
--
Best regards,
Manuel