Israel Garcia:
> Hi,
>
> I'm sending all emails to a relayhost with a TLS connection , but I
> want to send mail to specific domain using another hosts. I mean:
As documented, the transport_maps setting overrides the relayhost
setting, so you are on the right track:
relayhost = [smtp.tls.host]:587
transport_maps = hash:/etc/postfix/transport
> *...@domain1 smtp:[host1]
> *...@domain2 smtp:[host2]
The syntax for transport maps is documented: man 5 transport. Please
take a minute to read the docs.
Wietse