Subject: Customised header won't go away

From: Michael Cooley <[email-masked]>
Date: Fri, 16 Jun 2000 10:39:18 -0700 (PDT)

All outgoing messages on my server have lines that look like
the following .. all including @sd.znet.com.....

X-Sender: [email-masked]
Message-ID: <[email-masked]>

	This exists on all accounts--anything sent out using pine. And I
don't want it there. Undoubtedly, I did something to cause it but I will
soon no longer be a zNET employee and need to remove it.

	I've checked and installed a clean copy of
/usr/local/lib/pine.conf as well as each individual copy of .pinerc to no
avail. But, obviously, something, somewhere is picking it up. 

	This is from .pine-debug* ....

Fullname: "Michael Cooley"
User domain name being used "newsummer.com"
Local Domain name being used "znet.com"
Host name being used "sd.znet.com"
Mail Domain name being used (by c-client too)"newsummer.com"
	
	It says, at the top, that it's getting the info from .pine-conf
but it's simply not there.....

# grep znet /usr/local/lib/pine.conf
#

	Any info would be much appreciated.

Thanks,
Michael

--
Michael Cooley
[email-masked]
http://newsummer.com/

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Andy Malato <[email-masked]>
Date: Fri, 16 Jun 2000 14:09:37 -0400 (EDT)

> Message-ID: <[email-masked]>
That is a message inserted by PINE, telling who the sender of the message
was, and what OS platform pine was used on, the LNX part tells me that you
are running PINE 4.05 on a Linux Machine.  

> soon no longer be a zNET employee and need to remove it.

Sorry buddy, tell that to the authors of PINE, this is a functionality of
PINE itself and cannot be removed.  As long as you keep using zdnet's
servers to send mail that message will comeout as @zd.znet.com

> avail. But, obviously, something, somewhere is picking it up. 
	Yes, PINE, again, its built into the functionality of PINE itself.

	---Andy

---

From: Michael Cooley <[email-masked]>
Date: Fri, 16 Jun 2000 11:49:05 -0700 (PDT)

That's the problem. I'm not using zNET's (not zdnet) servers. I'm
using my own. All email is delivered directly from my machine,
ns2.emcee.com (well, it has other names, such as
dsl-207-167-101-35.np.znet.net). I'm not indicating the usage of
sd.znet.com as the SMTP server anywhere that I can find and, so far as I
can tell, my outgoing emails are not stamped as such--except for the
message ID in Pine. This does not happen if I mail from the command line
or from Elm, so it's not a system config.

	I'm sure that at some point I've told pine to use sd.znet.com but
I've looked in all the usual places and see no mention of it anywhere.

	Any further help will be appreciated.

--
Michael Cooley
[email-masked]
http://newsummer.com/

On Fri, 16 Jun 2000, Andy Malato wrote:

> Date: Fri, 16 Jun 2000 14:09:37 -0400 (EDT)
> From: Andy Malato <[email-masked]>
> To: Michael Cooley <[email-masked]>
> Cc: Pine Discussion Forum <[email-masked]>
> Subject: Re: Customised header won't go away
> 
>

---

From: Andy Malato <[email-masked]>
Date: Fri, 16 Jun 2000 14:57:53 -0400 (EDT)

> or from Elm, so it's not a system config.

This seems like PINE may use what is in the reverse DNS, but I may be
wrong.  This machine that you setup, has it ever worked the way you
specified? 

	---Andy

---

From: Michael Cooley <[email-masked]>
Date: Fri, 16 Jun 2000 12:08:59 -0700 (PDT)

HI Andy,

On Fri, 16 Jun 2000, Andy Malato wrote:

> Date: Fri, 16 Jun 2000 14:57:53 -0400 (EDT)
> Cc: Andy Malato <[email-masked]>,
>     Pine Discussion Forum <[email-masked]>

	Yes. It's only been sometime in the last few months that it
started. And only this machine (I've had up to 5 online). Actually, one of
the accounts was sending out correctly but that changed when I renamed the
account. :(
 
	It wouldn't be reverse DNS that it's grabbing -- perhaps for
znet.com -- but sd is a completely different host and on a different
subnet.

	The System Admin at one point wanted the headers in all notices,
which were coming from a list server here, to not have any reference to
anything other than zNET. I futzed around and got around most of it but I
didn't want to change the host or domain in the system files themselves. I
probably did something then. I just can't find the damn thing. (The
headers always included the point of origin. So, I stopped sending out
notices from here.)

Thanks,
Michael

---

From: Steve Hubert <[email-masked]>
Date: Fri, 16 Jun 2000 13:42:16 -0700 (PDT)

The hostname used in those two places comes from the same global variable
in pine, ps_global->hostname. That is set in init_hostname in pine/init.c.
It sets it by calling getdomainnames in pine/os.c. What that function does
is

gethostname(hname, len);
he = gethostbyname(hname);

Usually, he->h_name is the value used. If that doesn't have any dots in
it, pine tries to find an alias which does.

You ought to be able to construct a tiny test program which does those
same two calls to see if you can see where things are going wrong. Thanks.

--
Steve Hubert <[email-masked]>
Networks and Distributed Computing, Univ. of Washington, Seattle

---

From: Nancy McGough <[email-masked]>
Date: Fri, 16 Jun 2000 16:48:07 -0400 (EDT)

> servers to send mail that message will comeout as @zd.znet.com

One solution is to use Timothy J. Luoma's no-sender patch. I used
it to get ideas for how to change the source in this version of
Pine 4.21 that I'm using right now. If you look at the full
headers of this message, there should be no Sender or X-Sender
header and the Message-ID should not divulge the name of the
ii.com machine that I'm on right now. Tim's patches are available
here:

 http://www.peak.org/%7Eluomat/patches/pine/

I've got links to this, and lots of other patches, in the page
listed in my sig.

^X,
Nancy

-- 
Pine info & links @ http://www.ii.com/internet/messaging/pine/
 
©Nancy McGough         http://www.ii.com/         Infinite Ink
-----== Sent via Pine 4.21L running on Debian GNU/Linux ==----