I have two servers, one for web and the other for mail, behind same public IP address. Mails sent from the webserver to domains hosted in mailserver leave this log and don't reach mailserver:
1XDFqd-0003FL-3h == (mail_address) R=dnslookup T=remote_smtp defer (-53): retry time not reached for any host
I guess it's because Exim tries to deliver mail to public IP address (from the lan side), can I configure Exim to deliver domains hosted on mailserver to a lan address?