I want to set a relay host for a specific domain. As far as I can find this is not possible within the Plesk Panel.
I have edit the main.cf file and updated the transport_maps setting from:
to:
This is whats in the custom_transport.db:
When I try to sent email from (e.g.) [email protected] to any remote address it still sends it directly, not via relay host.
If I change this to:
It works fine! Same goes when I set the relayhost setting in the main.cf file.
What goes wrong?!
I'm running Plesk version 12.5.30 on a CentOS server.
I have edit the main.cf file and updated the transport_maps setting from:
Code:
transport_maps = , hash:/var/spool/postfix/plesk/transport
to:
Code:
transport_maps = hash:/etc/postfix/custom_transport, hash:/var/spool/postfix/plesk/transport
This is whats in the custom_transport.db:
Code:
# postmap -s /etc/postfix/custom_transport
abc.nl relay:relay.host:587
#
When I try to sent email from (e.g.) [email protected] to any remote address it still sends it directly, not via relay host.
If I change this to:
Code:
* relay:relay.host:587
It works fine! Same goes when I set the relayhost setting in the main.cf file.
What goes wrong?!
I'm running Plesk version 12.5.30 on a CentOS server.