Subject: mail headers

From: "Raman M." <[email-masked]>
Date: Fri, 21 Jul 1995 14:08:25 +0100

pine seems to take the return address (for reply) from the from: 
field of the message. This field is likely to be stuffed by pine
when a mail is sent. The problem is have this

my system (host name agni ) is a node on the mail server (ncore.soft.net)
which is on the internet. agni is not publicly listed, while ncore.soft.net is
So the true address for my system is <user>@ncore.soft.net!agni, while the fully
qualified host name is agni.ncore.soft.net (which is not listed).
When pine generates ( or is it sendmail ?) the from: field it puts the fully qualified
host name e.g [email-masked]

How do i ask pine to make it [email-masked]!agni ?

Alternatively there is a from field in the beginning of the header, which is
correctly inserted by sendmail. Cant pine use this instead ?
or shouldn't it use the Return-Path: field ?

-----------------------BEGIN HEADER------------------------------------
>From [email-masked]!agni Fri Jul 21 13:26:20 1995
		>>
		>> the above line gives the correct return address
		>>
Date: Fri, 21 Jul 1995 12:57:06 +0100
From: System Administrator <[email-masked]>
		>>
		>> This in not what i need it to be
		>>
Subject: hello

----------------------END OF HEADER------------------------
                              			
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Raman M  			Email : [email-masked]
Ncore Technology Pvt Ltd.,
Phone : 91-80-558 0405  	  Fax : 91-80-558 7690
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

---

From: Ed Greshko <[email-masked]>
Date: Fri, 21 Jul 1995 17:32:20 +0800 (GMT)

> How do i ask pine to make it [email-masked]!agni ?

	If you are using pine 3.9X, then look in the configuration.....

	Here is the "help"

        OPTION: User-Domain
 
This value specifies the domain part (right-hand side) of your return
address on outgoing email and is also used as the default domain for email
composed to a local user.  If unset, Unix Pine will obtain the domain from
the system.  Often this value will be set for your whole site by the
system administrator. 
 
If you set this, see also the "quell-user-lookup-in-passwd-file" feature.

<End of help on this topic>

> or shouldn't it use the Return-Path: field ?

	BTW, if you are using "!" addressing for hosts that are connected via
a LAN then you are in serious need of help with your configuration.

					Ed

Edward M. Greshko                       Technical Manager, Electronic Commerce
                                        Control Data Asia/Pacific Region
Voice: +886-2-715-2222 x287             6/F, 131 Nanking East Road, Section 3
FAX  : +886-2-712-9197                  Taipei, Taiwan R.O.C

---

From: Michael Joswig <[email-masked]>
Date: Sat, 22 Jul 1995 14:45:12 +0200 (MET DST)

Hi Raman,

Got Setup (from Main-menu) and choose config. There is an entry
called "customized-hdrs" Add "Reply-To: [email-masked]!agni" or
whatever you need. That's all !!

Ciao,
 Michael J.

On Fri, 21 Jul 1995, Raman M. wrote:

> Return-Path: <[email-masked]!agni>
> 		>>
> 		>> this is also correct
> 		>>
> Received: from agni by nice with smtp
> 	(Smail3.1.28.1 #64) id m0sZLq8-000K6sC; Fri, 21 Jul 95 13:26 EDT
> Received: by agni (Smail3.1.28.1 #64)
> 	id m0sZLNr-0004IcC; Fri, 21 Jul 95 12:57 IST

================================================================
Michael J. Joswig              [email-masked]
                               Tel. (040) 651 56 25

---

From: [email-masked] (John Stanley)
Date: 24 Jul 1995 04:47:56 GMT

In article <Pine.3.89.9507211430.A549-0100000@nice>,
>So the true address for my system is <user>@ncore.soft.net!agni, while the fully

No, your true address cannot be what you show. It is an illegal address.

>How do i ask pine to make it [email-masked]!agni ?

You don't want to.

>		>> the above line gives the correct return address

The address in this header should be the same as in the Return-Path:
header, since this is where the Return-Path: comes from. 

But, this is a bogus address. If sendmail is creating it, then
senmail is wrong.

Are you trying to get mail to agni, or just to nice.ncore.soft.net?
How is mail supposed to get from nice to agni if the former? UUCP?

If so, you want [email-masked]. Or maybe root%agni@ncore...
You do NOT want that abomination root@a!b.