On Fri, Feb 13, 2015 at 04:39:20PM +0100, Robert Dahlem wrote: > I got this domain example.tld for which I need to relay all mail FROM > this domain through a specific mail server. For this I tried to deploy > sender_dependent_default_transport_maps.
The "relayhost" parameter is used by trivial-rewrite(8) not by delivery agents. The queue-manager needs to know the nexthop so it can manage concurrency. > /etc/postfix/sender_dependent_transport: > ---------------------------------------- > @example.tld smtp_example: Set the relayhost above (smtp_example:[example_server1]) > master.cf: > ---------- > smtp_example unix - - y - - smtp > -o syslog_name=postfix-example > -o relayhost=[example_server1]:25 > -o smtp_fallback_relay=[example_server2]:25 And NOT above, because delivery agents don't use the relayhost parameter. -- Viktor.