Subject: Re: TRN: What's the best way to keep an address book?

From: Nancy McGough <[email-masked]>
Date: 7 Nov 1995 19:17:36 -0800

[email-masked] (Samu Mielonen) writes:
>You can use your favourite e-mail program with trn. I use elm by inserting
>the following lines into my startup file (.tcshrc in my case).
>
>setenv MAILPOSTER 'elm -i %h -s \"Re: %S\" %t'  #Use elm for e-mail
>setenv MAILHEADER " "				#Dump headers
>
>I believe you can invoke pine in a similar fashion, although I'm not totally
>sure as I'm not a Unix (nor Pine) guru.

Unfortunately Pine 3.91 and below do not allow you to mail messages
from the command line so I don't think you'll be able to do this.
(Pine folks: Will 3.92 be able to do this type of thing?)

What I do if I want to mail a news message to someone in my addressbook
is bounce it to my email address (using "|/usr/bin/mail [email-masked]")
and then forward the message from Pine.

Good luck,
Nancy
-- 
<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<
            @..@            Nancy McGough           /\_/\
           (----)           Infinite Ink           ( o.o )
          ( >__< )    http://www.jazzie.com/ii/     > ~ <

---

From: Terry Gray <[email-masked]>
Date: Wed, 8 Nov 1995 12:28:09 -0800 (PST)

Nancy,
3.92 will still require interactive involvement to send a message.

-teg

---

From: Manzoor ul Hassan <[email-masked]>
Date: 13 Nov 1995 13:47:24 GMT

I' dlike to change the e-mail address to reply to when I'm posting via trn. From home I 
usually use Netscape, but sometimes I need/have to use trn from the unix shell to 
read/post news groups. When I do this me e-mail address is sent as the defualt that has 
been set by my ISP. I would like to change it to a different one. Is it possibel ?

Would really appreciate an e-mailed reply.

-- 
-Manzoor.
http://www.ccsi.com/hassan

---

From: Sven Guckes <[email-masked]>
Date: 13 Nov 95 16:58:42 GMT

Manzoor ul Hassan <[email-masked]> writes:
>I' dlike to change the e-mail address to reply to when I'm posting via trn.
>From home I usually use Netscape, but sometimes I need/have to use trn from
>the unix shell to read/post news groups. When I do this me e-mail address
>is sent as the defualt that has been set by my ISP. I would like to
>change it to a different one. Is it possibel ?

I am sure trn gives you a setup file for specifying your email address.
That's usually the case when the default is used.  RTFM!

Btw, if your problem is with trn then why do you post to comp.mail.pine?

A not to all authors of newsreaders:
Please add a line which does not allow posting if the default values such as
domain name, user name, email address etc match the given dummy values.
It's a nuisance if the From: line reads "user@DOMAIN_NAME (YOUR NAME)".

Sven

Followup-To: news.software.readers
--
http://www.math.fu-berlin.de/~guckes/.signature

---

From: [email-masked] (Kim DeVaughn)
Date: 15 Nov 1995 03:18:52 -0800

In article <[email-masked]>,
	Sven Guckes  <[email-masked]> wrote:
|
| Manzoor ul Hassan <[email-masked]> writes:
| >
| >I' dlike to change the e-mail address to reply to when I'm posting via trn.
| >From home I usually use Netscape, but sometimes I need/have to use trn from
| >the unix shell to read/post news groups. When I do this me e-mail address
| >is sent as the defualt that has been set by my ISP. I would like to
| >change it to a different one. Is it possibel ?
| 
| I am sure trn gives you a setup file for specifying your email address.
| That's usually the case when the default is used.  RTFM!

It is NOT the responsibility of a newsreader to ofrm and format the
"From: " line of an article's header.

That IS the responsibility of the news transport s/w, such as inews, etc.

Now why don't *you* RTFRFC!

Sheesh ...

To answer Manzoor's original question ... on most UNIX systems, you only
need to set the NAME env var to whatever you want, and the transport s/w
should pick it up.  Ie:  setenv NAME "Your Name"  in your .cshrc file for
csh/tcsh users, or  NAME="Your Name"
                    export NAME     in your .profile for sh/ksh users.

If that doesn't do the trick, here's a workaround ... you MAY be able to
add your own properly formatted "From: " line to the article header, and
have it pass thru the news transport s/w unaltered.  This does work with
"inews" ... I dunno about other transport pgms.

For example, put the following line in a file:

	From: [email-masked] (Manzoor ul Hassan)

and suck it into your article as the 1st line of the header.  If that works,
and you want to automate the process, you'll need to make a copy of the
"Pnews" shell-script that trn uses to build headers, startup your editor,
etc, and modify it to add in your "From: " line.  Then you tell trn to use
your version of Pnews by setting the NEWSPOSTER env var appropriately.  See
trn's man page for further info on this env var.

/kim

-----------------------------------------------------------------------------
Kim DeVaughn             [  "All sweet things have one thing in common ...  ]
[email-masked]     [   ... a tendency to make you sick."  --Soolin    ]
-----------------------------------------------------------------------------

---

From: [email-masked] (Kim DeVaughn)
Date: 15 Nov 1995 05:33:25 -0800

In article <[email-masked]>, I wrote:
|
| To answer Manzoor's original question ... on most UNIX systems, you only
| need to set the NAME env var to whatever you want, and the transport s/w
| should pick it up.  Ie:  setenv NAME "Your Name"  in your .cshrc file for
| csh/tcsh users, or  NAME="Your Name"
|                     export NAME     in your .profile for sh/ksh users.

Ooooops!  Manzoor was asking about changing the *address* ... not the name
in the "From: " line.  Sooooo ... you should ignore the above.  However,
the workaround I mentioned in my previous post *may* still work (depending
on any checking done by the news transport s/w).

I apologize for any confusion ... I had just helped a user here on Portal
with a similar problem (though his was indeed related to getting the name
comment in the From line fixed).

/kim

-----------------------------------------------------------------------------
                      ["Quantum mechanics, hmmm.  You put a cat in a box,   ]
Kim DeVaughn          [ along with a hammer and some poison and a radio-    ]
[email-masked]  [ active isotope ... I forget exactly how this goes.  ]
                      [ Anyway, keep some bandages on hand, because I       ]
                      [ guarantee the cat won't be happy." -Jack-Jack Snyder]
-----------------------------------------------------------------------------

---

From: [email-masked] (John Stanley)
Date: 24 Nov 1995 01:17:23 GMT

In article <[email-masked]>,
>Now why don't *you* RTFRFC!

Why don't you read the question and the FRFC?

>need to set the NAME env var to whatever you want, and the transport s/w

Not an answer. NAME is not an address. It appears as a comment in the
From: header.

>add your own properly formatted "From: " line to the article header, and

I thought it wasn't the responsibility of the newsreader to do this. It
isn't an answer to the question anyway. He doesn't want to change the
From: header, he wants to change the address people reply to.

Here is the answer to the question. If you want to change the address
that people will send replies to, use the same editor that lets you edit
the message to insert the line "Reply-To: [email-masked]"
in the header.