[exim] Use exim send to internal smtp without dns

Etusivu
Poista viesti
Vastaa
Lähettäjä: Starting out
Päiväys:  
Vastaanottaja: exim-users
Aihe: [exim] Use exim send to internal smtp without dns
i have an exim server on my localhost but i want to send email to a
specific domain which is a valid domain as well as resides on my
internal network. I tried setting up exim to send to a smarthost
(which is the internal smtp server) but it seems that it tries to send
via internet. Can i direct it instead not to use a dns to find a that
server and instead send it directly on the internal smtp server. I
have something like this on my exim config.

smarthost:
driver = domainlist
transport = remote_smtp
route_list = "* mailserver.mydomain.com bydns_a"
end

I also tried putting the IP but it doesnt work, it seems that exim
tries to query first on the dns server the mx record of the mail
server. Can i stop exim from qurying the dns so it can send it
directly to the internal server? Thanks a lot