[TriLUG] sendmail header question

Jon Carnes jonc at nc.rr.com
Sat Mar 29 00:55:57 EST 2003


I wouldn't worry about it.  It's the way that your dropping mail off to
your local machine.  If you define it to drop off to the external
interface (real IP) as opposed to the local interface (127.0.0.1) then
it will have the real IP in there instead.

If it really bothers you check out xinetd and its ability to redirect
connections.  You can have it redirect any connection on port 25 going
to 127.0.0.1 over to port 25 on your real ip.

Still, it's NBD and shouldn't interfere with your mail flow.

HtH - Jon Carnes

===
On Fri, 2003-03-28 at 17:35, Turnpike Man wrote:
> My /etc/hosts is default, just has this line in it:
> 127.0.0.1       bertha          localhost.localdomain localhost
> /etc/host.conf: order host,bind (should it be bind,host?)
> 
> If I "telnet bertha.mydomain.com 25" from my work computer I get this reposnse:
> 
> 220 localhost.localdomain ESMTP Sendmail 8.11.6/8.11.6; Fri, 28 Mar 2003
> 17:04:3
> 7 -0500
> 
> I used to get:
> 
> 220 bertha.mydomain.com etc...
> 
> Now... per Jeremy, I didn't want to reboot, but I said heck with it and
> rebooted... now from work I get:
> 
> 220 bertha.turnpike420.net ESMTP Sendmail 8.11.6/8.11.6; Fri, 28 Mar 2003
> 17:10:
> 16 -0500
> 
> which is what I had originally expected! ... and an email header is (and I
> usually use TWIG, sometimes PINE):
> 
> ---
> Received: from bertha.mydomain.com ([REAL IP HERE]) by wicket.anotherdomain.com
> with Microsoft SMTPSVC(5.0.2195.4905);
> 	 Fri, 28 Mar 2003 17:25:09 -0500
> Received: from mydomain.com (bertha [127.0.0.1])
> 	by bertha.mydomain.com (8.11.6/8.11.6) with SMTP id h2SMBq001255
> 	for <myemail at dynpro.com>; Fri, 28 Mar 2003 17:11:53 -0500
> Date: Fri, 28 Mar 2003 22:11:52 -0000
> To: <myemail at anotherdomain.com>
> Subject: get header
> From: "D M" <myemail at mydomain.com>
> X-Mailer: TWIG 2.7.7
> Message-ID: <twig.1048889512.47828 at mydomain.com>
> Reply-To: myemail at mydomain.com
> Return-Path: myemail at mydomain.com
> X-OriginalArrivalTime: 28 Mar 2003 22:25:09.0152 (UTC)
> FILETIME=[E4190200:01C2F578]
> ---
> 
> So now it seems all is fixed except for this line:
> Received: from mydomain.com (bertha [127.0.0.1])
> 
> Now... what is really strange is this was all as you see it now until
> recently... it must have been up2date of either sendmail or some other package
> for RH 7.2 that did this to me.  I can't imagine it would have happened any
> other way.  I know it worked before b/c I can remember being super thrilled and
> running around the room that I had figured it out!!  8) *geekdom at its best*
> 
> Well, any thoughts on that last bit would be helpful!  Thanks Joseph and
> Jeremy!
> 
> David M.
> 
> --- Joseph Tate <jtate at dragonstrider.com> wrote:
> > Make sure that you're not connecting from localhost:  from localhost I get:
> > 
> >     HELO jtate.dragonstrider.com
> >     250 www.dragonstrider.com Hello localhost.localdomain [127.0.0.1], 
> > pleased to meet you
> > 
> > But from a work computer, I get:
> >     HELO jtate.mi-messages.com
> >     250 www.dragonstrider.com Hello [204.85.2.183], pleased to meet you
> > 
> > If you don't get 250 <your hostname here> then you can manually set it 
> > in the sendmail.cf file.
> > look for Cwlocalhost.localdomain, but make sure you don't have something 
> > screwy in your /etc/hosts file.
> > 
> > Joseph
> >
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
> http://platinum.yahoo.com
> _______________________________________________
> TriLUG mailing list
>     http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ:
>     http://www.trilug.org/~lovelace/faq/TriLUG-faq.html





More information about the TriLUG mailing list