<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=037104616-05042007><FONT 
face="Comic Sans MS" color=#000080 size=2>Yup.&nbsp; Every time a message hits a 
mail server, it tatoos it with it's own info.&nbsp; Your gateway received from 
your local machine, so added that received header.&nbsp; Read received headers 
from the bottom to the top.&nbsp; That's the only acceptable instance of 'top 
posting'. &lt;EG&gt;</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV><!-- Converted from text/plain format -->
<P><FONT size=2>...Kevin<BR>--<BR>Kevin 
Miller&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Registered Linux User No: 307357<BR>CBJ MIS 
Dept.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Network Systems Admin., Mail Admin.<BR>155 South Seward 
Street&nbsp;&nbsp;&nbsp;&nbsp; ph: (907) 586-0242<BR>Juneau, Alaska 
99801&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fax: (907 
586-4500<BR>&nbsp;</FONT> </P>
<DIV>&nbsp;</DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> mailscanner-bounces@lists.mailscanner.info 
[mailto:mailscanner-bounces@lists.mailscanner.info] <B>On Behalf Of </B>Johnny 
Stork<BR><B>Sent:</B> Thursday, April 05, 2007 8:37 AM<BR><B>To:</B> MailScanner 
discussion<BR><B>Subject:</B> Re: Bounced Mail - DNS 
Problems?<BR></FONT><BR></DIV>
<DIV></DIV>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)?<BR><BR>Thanks for the check/feedback...<BR><BR>Kevin 
Miller wrote: 
<BLOCKQUOTE 
cite=midD1587DCF6294524BAFA2C9944312FCC863BD75@city-exch-w3e.cbj.local 
type="cite">
  <META content="MSHTML 6.00.2900.3059" name=GENERATOR>
  <DIV dir=ltr align=left><SPAN class=514300115-05042007><FONT 
  face="Comic Sans MS" color=#000080 size=2>They look fine from here Johnny - 
  The relivant one's are below (probably line-wrapped beyond 
  reason):</FONT></SPAN></DIV>
  <DIV dir=ltr align=left><SPAN class=514300115-05042007></SPAN>&nbsp;</DIV>
  <DIV dir=ltr align=left><SPAN class=514300115-05042007><FONT 
  face="Comic Sans MS" color=#000080 size=2>Received: from 
  gateway.johnnystork.ca (gateway.johnnystork.ca 
  [207.216.240.22])<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;by 
  safir.blacknight.ie (8.13.1/8.13.1) with ESMTP id 
  l356Vxcv025979<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for 
  &lt;<A 
  href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</A>&gt;; 
  Thu, 5 Apr 2007 07:31:59 +0100<BR>Received: from [192.168.1.10] 
  (johnny-lt.johnnystork.ca 
  [192.168.1.10])<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;by 
  gateway.johnnystork.ca (8.13.1/8.13.1) with ESMTP id 
  l356NdHP019098<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for 
  &lt;<A 
  href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</A>&gt;; 
  Wed, 4 Apr 2007 23:23:39 -0700<BR></FONT></SPAN></DIV>
  <DIV><FONT face="Comic Sans MS" color=#000080 size=2><SPAN 
  class=514300115-05042007>S'later...</SPAN></FONT></DIV><!-- Converted from text/plain format -->
  <P><FONT size=2>...Kevin<BR>--<BR>Kevin 
  Miller&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  Registered Linux User No: 307357<BR>CBJ MIS 
  Dept.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  Network Systems Admin., Mail Admin.<BR>155 South Seward 
  Street&nbsp;&nbsp;&nbsp;&nbsp; ph: (907) 586-0242<BR>Juneau, Alaska 
  99801&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fax: (907 
  586-4500<BR>&nbsp;</FONT> </P>
  <DIV>&nbsp;</DIV><BR>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> <A class=moz-txt-link-abbreviated 
  href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</A> 
  [<A class=moz-txt-link-freetext 
  href="mailto:mailscanner-bounces@lists.mailscanner.info">mailto:mailscanner-bounces@lists.mailscanner.info</A>] 
  <B>On Behalf Of </B>Johnny Stork<BR><B>Sent:</B> Wednesday, April 04, 2007 
  10:24 PM<BR><B>To:</B> MailScanner discussion<BR><B>Subject:</B> Re: Bounced 
  Mail - DNS Problems?<BR></FONT><BR></DIV>Ok, maybe I have it right now. I 
  added the following to the local hosts file after creating an A entry 
  for<BR><BR>gateway.johnnystork.ca (points to 207.216.240.22)<BR><BR><BR># 
  Edits to 
  /etc/hosts<BR>192.168.1.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  int-gateway.johnnystork.ca&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  int-gateway<BR>207.216.240.22&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  gateway.johnnystork.ca&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  gateway<BR>207.216.240.22&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  smtp.johnnystork.ca&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  smtp<BR><BR><BR>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.<BR><BR>So take a look at the headers in this 
  reply. Do they look correct now? I "think" so....but&nbsp; am still learning 
  about mail server configurations.<BR><BR>And thanks to everyone for all of 
  your helpful suggestions<BR><BR><BR><BR><BR>Matt Hayes wrote: 
  <BLOCKQUOTE cite=mid4613F540.7010300@slackadelic.com type="cite">Kevin 
    Miller wrote: <BR>
    <BLOCKQUOTE type="cite">Matt Hayes wrote: <BR>
      <BLOCKQUOTE type="cite">Johnny Stork wrote: <BR>
        <BLOCKQUOTE type="cite">I had actually tried that before, but here is 
          my problem. I run a <BR>Scalix mail server internally and so it is 
          setup to send outgoing <BR>mail to gateway.johnnystork.ca 
          (192.168.1.2) which runs mailscanner <BR>and is the SMTP mail server 
          for my network. But as soon as I ad the <BR>A record for 
          gateway.johnnystork.ca so it resolves to <BR>207.216.240.22, the 
          Scalix mailserver cannot route/forward all <BR>outgoing mail to 
          gateway.johnnystork.ca. Is there any way I can have <BR>the internal 
          machines resolve/see the servers only with their <BR>internal IP's, 
          even if there is a cooresponding a record and <BR>routable ip address? 
          <BR></BLOCKQUOTE>Well, if it were me, I would configure the server to 
        relay mail to the <BR>internal IP rather than a domain name then add the 
        DNS A record for <BR>the correct entry. <BR></BLOCKQUOTE><BR>That would 
      work, but another option is to have two records in DNS:&nbsp; &nbsp; 
      int-gateway&nbsp;&nbsp;&nbsp; IN A 192.168.1.2 <BR>&nbsp; 
      gateway&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IN A 207.216.240.22 
      <BR>and point the Scalix box to int-gateway.&nbsp; You retain the benefits 
      of DNS <BR>that way. <BR><BR>Yet another option is to set up bind to have 
      multiple views.&nbsp; My <BR>internal users see one list of records, 
      external users see another.&nbsp; The <BR>hostname may be the same, but 
      the address returned by DNS is different <BR>depending on whether they're 
      on my internal lan or the internet... <BR><BR><BR>...Kevin 
    <BR></BLOCKQUOTE><BR><BR>Ahhh very nice.&nbsp; I didn't even consider 
    that.&nbsp; :) <BR><BR>-Matt <BR><BR><BR></BLOCKQUOTE><BR>
  <DIV class=moz-signature>-- <BR><B>Johnny Stork<BR><FONT 
  color=blue>Open</FONT> <FONT color=red>Enterprise 
  Solutions</FONT></B><BR><I>"Empowering Business With Open Solutions"</I><BR><A 
  class=moz-txt-link-freetext 
  href="http://www.openenterprise.ca">http://www.openenterprise.ca</A><BR><BR><B>Photography 
  and Multimedia</B><BR><A class=moz-txt-link-freetext 
  href="http://www.dreamscapemedia.ca">http://www.dreamscapemedia.ca</A><BR><BR><B>Open 
  Source News</B><BR><A class=moz-txt-link-freetext 
  href="http://www.opensourcenews.ca">http://www.opensourcenews.ca</A> 
</DIV></BLOCKQUOTE><BR>
<DIV class=moz-signature>-- <BR><B>Johnny Stork<BR><FONT color=blue>Open</FONT> 
<FONT color=red>Enterprise Solutions</FONT></B><BR><I>"Empowering Business With 
Open Solutions"</I><BR><A class=moz-txt-link-freetext 
href="http://www.openenterprise.ca">http://www.openenterprise.ca</A><BR><BR><B>Photography 
and Multimedia</B><BR><A class=moz-txt-link-freetext 
href="http://www.dreamscapemedia.ca">http://www.dreamscapemedia.ca</A><BR><BR><B>Open 
Source News</B><BR><A class=moz-txt-link-freetext 
href="http://www.opensourcenews.ca">http://www.opensourcenews.ca</A> 
</DIV></BODY></HTML>