[ale] dns issues - internal vs external

David Hamm dhamm at itrepro.com
Thu Jul 26 12:01:17 EDT 2001


To get the mail through the firewall you'll have to forward port 25 
to your bsd firewall to your internal mail server or use the tis firewall
toolkit with smap and smapd.  The other trick is to run internal dns with
only one mx record that points to your smtp server.

On Thu, 26 Jul 2001, Gary MacKay wrote:

> I tried the qmail list but didn't get an answer. Hopefully someone here
> can  help. How do I get qmail, or sendmail for that matter, to pick up
> the internal 192. addr when it sends a message to a local account? The
> box that is my dns for my domain has to have the external ip setup so
> the rest of the world can send me mail. Fine. Since I have an OpenBSD
> firewall, which I presume is irrelevant, the internal machine can not
> connect to the external ip, it fails over to the secondary mx record,
> which is my old isp, which will soon go away. I tried to put the
> internal ip in the /etc/hosts, added "lookup file bind" to the
> /etc/resolv.conf file, neither worked. I presume qmail is doing an
> actual dns lookup and getting the real info.
> 
> I just tried putting my internal ip as the secondary mx record and that
> worked. But, I presume not a good solution since outside people are
> going to get that also.
> 
> Suggestions?
> 
> Gary
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
> 

--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list