Bounced Mail - DNS Problems?
Kevin Miller
Kevin_Miller at ci.juneau.ak.us
Thu Apr 5 17:47:56 IST 2007
Yup. Every time a message hits a mail server, it tatoos it with it's
own info. Your gateway received from your local machine, so added that
received header. Read received headers from the bottom to the top.
That's the only acceptable instance of 'top posting'. <EG>
...Kevin
--
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
________________________________
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Johnny
Stork
Sent: Thursday, April 05, 2007 8:37 AM
To: MailScanner discussion
Subject: Re: Bounced Mail - DNS Problems?
Well thats encouraging.....so its "normal" for the info on the actual
local machine to show up as well...the machine from which the client was
running (johnny-lt.johnnystork.ca)?
Thanks for the check/feedback...
Kevin Miller wrote:
They look fine from here Johnny - The relivant one's are below
(probably line-wrapped beyond reason):
Received: from gateway.johnnystork.ca (gateway.johnnystork.ca
[207.216.240.22])
by safir.blacknight.ie (8.13.1/8.13.1) with
ESMTP id l356Vxcv025979
for <mailscanner at lists.mailscanner.info>; Thu, 5
Apr 2007 07:31:59 +0100
Received: from [192.168.1.10] (johnny-lt.johnnystork.ca
[192.168.1.10])
by gateway.johnnystork.ca (8.13.1/8.13.1) with
ESMTP id l356NdHP019098
for <mailscanner at lists.mailscanner.info>; Wed, 4
Apr 2007 23:23:39 -0700
S'later...
...Kevin
--
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
________________________________
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Johnny
Stork
Sent: Wednesday, April 04, 2007 10:24 PM
To: MailScanner discussion
Subject: Re: Bounced Mail - DNS Problems?
Ok, maybe I have it right now. I added the following to the
local hosts file after creating an A entry for
gateway.johnnystork.ca (points to 207.216.240.22)
# Edits to /etc/hosts
192.168.1.2 int-gateway.johnnystork.ca
int-gateway
207.216.240.22 gateway.johnnystork.ca gateway
207.216.240.22 smtp.johnnystork.ca smtp
I then change the sendmail forwarding on the scalix server
(penguin.johnnystork.ca, 192.168.1.3) so it points to
int-gateway.johnnystork.ca.
So take a look at the headers in this reply. Do they look
correct now? I "think" so....but am still learning about mail server
configurations.
And thanks to everyone for all of your helpful suggestions
Matt Hayes wrote:
Kevin Miller wrote:
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
207.216.240.22, 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 207.216.240.22
and point the Scalix box to int-gateway. You
retain the benefits of DNS
that way.
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
Ahhh very nice. I didn't even consider that. :)
-Matt
--
Johnny Stork
Open Enterprise Solutions
"Empowering Business With Open Solutions"
http://www.openenterprise.ca
Photography and Multimedia
http://www.dreamscapemedia.ca
Open Source News
http://www.opensourcenews.ca
--
Johnny Stork
Open Enterprise Solutions
"Empowering Business With Open Solutions"
http://www.openenterprise.ca
Photography and Multimedia
http://www.dreamscapemedia.ca
Open Source News
http://www.opensourcenews.ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20070405/4a9a96e4/attachment.html
More information about the MailScanner
mailing list