Bounced Mail - DNS Problems?
Kevin_Miller at ci.juneau.ak.us
Wed Apr 4 19:48:08 IST 2007
Matt Hayes wrote:
> Johnny Stork wrote:
>> I had actually tried that before, but here is my problem. I run a
>> Scalix mail server internally and so it is setup to send outgoing
>> mail to gateway.johnnystork.ca (192.168.1.2) which runs mailscanner
>> and is the SMTP mail server for my network. But as soon as I ad the
>> A record for gateway.johnnystork.ca so it resolves to
>> 220.127.116.11, the Scalix mailserver cannot route/forward all
>> outgoing mail to gateway.johnnystork.ca. Is there any way I can have
>> the internal machines resolve/see the servers only with their
>> internal IP's, even if there is a cooresponding a record and
>> routable ip address?
> Well, if it were me, I would configure the server to relay mail to the
> internal IP rather than a domain name then add the DNS A record for
> the correct entry.
That would work, but another option is to have two records in DNS:
int-gateway IN A 192.168.1.2
gateway IN A 18.104.22.168
and point the Scalix box to int-gateway. You retain the benefits of DNS
Yet another option is to set up bind to have multiple views. My
internal users see one list of records, external users see another. The
hostname may be the same, but the address returned by DNS is different
depending on whether they're on my internal lan or the internet...
Kevin Miller Registered Linux User No: 307357
CBJ MIS Dept. Network Systems Admin., Mail Admin.
155 South Seward Street ph: (907) 586-0242
Juneau, Alaska 99801 fax: (907 586-4500
More information about the MailScanner