Dear Community,
I need to have a few da users sent their email not over the general smarthost but over different mail gateway.
can we do this based on virtual domain?
situation:
external mailfilter sends mail to server for virtual domains
External mailfilter is also smarthost for virtual domains
this 2 specific virtual domains need to accept (authenticated) relay directly from user@virtualdomain and send the mail over different smarthost out..
a part of the config I have now, but i'm missing something, since it's not working as expected..
domainlist mx_domains = xyz.com:abc.com
# This router routes to remote hosts over SMTP using a DNS lookup. Any domain
# that resolves to an IP address on the loopback interface (127.0.0.0/8) is
# treated as if it had no DNS entry.
mx_email:
driver = manualroute
domains = ! +mx_domains
ignore_target_hosts = 127.0.0.0/8
condition = "${perl{check_limits}}"
transport = auth_relay
route_list = * vps.aisp.email::587
# no_more
I need to have a few da users sent their email not over the general smarthost but over different mail gateway.
can we do this based on virtual domain?
situation:
external mailfilter sends mail to server for virtual domains
External mailfilter is also smarthost for virtual domains
this 2 specific virtual domains need to accept (authenticated) relay directly from user@virtualdomain and send the mail over different smarthost out..
a part of the config I have now, but i'm missing something, since it's not working as expected..
domainlist mx_domains = xyz.com:abc.com
# This router routes to remote hosts over SMTP using a DNS lookup. Any domain
# that resolves to an IP address on the loopback interface (127.0.0.0/8) is
# treated as if it had no DNS entry.
mx_email:
driver = manualroute
domains = ! +mx_domains
ignore_target_hosts = 127.0.0.0/8
condition = "${perl{check_limits}}"
transport = auth_relay
route_list = * vps.aisp.email::587
# no_more