One of the domain on my server uses their own mail server. I have put the records in the dns zones and they receive emails from other servers.
However, when an email is sent from our server e.g. through an enquiry form. Exim won't deliver the mail to the remote server and gives:
R=virtual_aliases: No Such User Here
Mind you, no mail users have been set up on our server, since the domain is not using our server for mail anyway.
Is there any way I can tell to route all emails for that domain to the remote smtp.
Thanks very much for your help.
ps.
OK, I went to Exim advanced config editor and added:
special:
driver = manualroute
transport = remote_smtp
route_list = domain.com host.com
(as per exim's faq)
http://wiki.exim.org/FAQ/Routing_to_remote_hosts/Q0316
It seemed to work. But now, I don't know how to list more domains and hosts. Do I need to repeat the above for each domain, or can I separate them by comma, etc.
However, when an email is sent from our server e.g. through an enquiry form. Exim won't deliver the mail to the remote server and gives:
R=virtual_aliases: No Such User Here
Mind you, no mail users have been set up on our server, since the domain is not using our server for mail anyway.
Is there any way I can tell to route all emails for that domain to the remote smtp.
Thanks very much for your help.
ps.
OK, I went to Exim advanced config editor and added:
special:
driver = manualroute
transport = remote_smtp
route_list = domain.com host.com
(as per exim's faq)
http://wiki.exim.org/FAQ/Routing_to_remote_hosts/Q0316
It seemed to work. But now, I don't know how to list more domains and hosts. Do I need to repeat the above for each domain, or can I separate them by comma, etc.
Last edited: