Bounced Mail - DNS Problems?

Kevin Miller Kevin_Miller at
Thu Apr 5 16:05:09 IST 2007

They look fine from here Johnny - The relivant one's are below (probably
line-wrapped beyond reason):
Received: from (
                by (8.13.1/8.13.1) with ESMTP id
                for <mailscanner at>; Thu, 5 Apr
2007 07:31:59 +0100
Received: from [] ( [])
                by (8.13.1/8.13.1) with ESMTP id
                for <mailscanner at>; Wed, 4 Apr
2007 23:23:39 -0700


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
[mailto:mailscanner-bounces at] On Behalf Of Johnny
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 (points to

# Edits to /etc/hosts         int-gateway          gateway             smtp

I then change the sendmail forwarding on the scalix server
(, so it points to

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
( which runs mailscanner 
				and is the SMTP mail server for my
network. But as soon as I ad the 
				A record for so
it resolves to, the Scalix mailserver
cannot route/forward all 
				outgoing mail to
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 
		  gateway        IN A 
		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

	Ahhh very nice.  I didn't even consider that.  :) 

Johnny Stork
Open Enterprise Solutions
"Empowering Business With Open Solutions"

Photography and Multimedia

Open Source News 
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the MailScanner mailing list