DNS Issues Between Mail & Web Server
Just to set up the environment for you guys (or gals), I'm running a Cisco ASA 5520 Firewall and I've got my web server:
*All domains and external IP's are bogus but lets assume they're valid for the time being.* www.somedomain.tld 192.168.0.201 (internal) 216.162.100.136 (external) And my mail server: mail.somedomain.tld 192.168.0.200 (internal) 216.162.100.135 (external) Both my mail and web server sit on the same DMZ interface behind the Firewall. I'm having problems sending webmail from the web server because when my www server connects to mail, it does so as the external IP rather than the trusted internal IP. My mail server only relays mail from trusted networks and that's only 192.168.0.0/24. Code:
Jan 6 12:51:54 mail dovecot: imap-login: Login: user=<carlos>, method=PLAIN, rip=216.162.100.136, lip=192.168.0.200, mpid=4656, TLS |
Hi,
You should go the other way around: Add in webserver's /etc/hosts the internal IP of the mail server. |
Quote:
|
You can setup the webmail application to use your mail server's internal IP.
What do the following 2 commands give: Code:
nslookup mail.somedomain.tld |
All times are GMT -5. The time now is 06:37 AM. |