🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by J. Petersen Wed, 07 Jul 1993 07:55
TRN question: forwarding articles as mail
#4834
Author: J. Petersen
Date: Wed, 07 Jul 1993 07:55
23 lines
1507 bytes
When reading news, I often want to send an article to myself as
mail, since I keep most of my data seperated into various
mailboxes. On the system I used to be on, I simply used:

| mail <my user name>

And the message showed up in my mailbox with the appropriate
'from' and 'subject' fields.

On the system I am on now (Netcom in S.F.), when I use the same
command, the article is mailed to my mailbox, but with the subject
line blank, and the 'from' field is ME. This is virtually useless
to me this way (all my messages look the same!)... What's up? Or
what should I be doing different?

--I hope this is the right venue for this question... it looks like
the place.

Thanks in advance for any help you can give me!!

-- 
Jim Petersen
chinacat@netcom.com
Re: TRN question: forwarding articles as mail
#4835
Author: Icarus Sparry
Date: Wed, 07 Jul 1993 10:38
27 lines
1853 bytes
In the referenced article, chinacat@netcom.com (J. Petersen) writes:
>When reading news, I often want to send an article to myself as
>mail, since I keep most of my data seperated into various
>mailboxes. On the system I used to be on, I simply used:
>
>| mail <my user name>
>
>On the system I am on now (Netcom in S.F.), when I use the same
>command, the article is mailed to my mailbox, but with the subject
>line blank, and the 'from' field is ME. This is virtually useless
>to me this way (all my messages look the same!)... What's up?

Clearly you have a different mail system on Netcom compared to what you
used to have. You have to see if you can find a suitable interface to 
the mail system to do what you want. You might try 
	| /usr/lib/sendmail chinacat@netcom.com

Sending email to postmaster@netcom.com, asking for help would be the
best way forward if you wish to pursue this approach.

However, trn has the ability to save articles as mail messages anyhow, so
you can also use
	s ~/Mail/folder77

to save it into a file. If it is a new folder it will ask if you want it
in mailbox format. (This can be suppressed if you invoke trn with a '-M'
flag).
Re: TRN question: forwarding articles as mail
#4837
Author: Nancy McGough
Date: Wed, 07 Jul 1993 15:33
30 lines
1910 bytes
I don't know how to get mail to change the from
line but you can make the mail subject be the subject
of the article by doing:

| mail -s "%s" <email address>

You could also put the from/reply-to info in the subject
by using %f, or the Internet return address using %t.  E.g.:

| mail -s "%s: %f" <email address>

See the rn man pages for more info.
Hope this helps,
Nancy

chinacat@netcom.com (J. Petersen) writes:
>When reading news, I often want to send an article to myself as
>mail, since I keep most of my data seperated into various
>mailboxes. On the system I used to be on, I simply used:
>
>| mail <my user name>
>
>And the message showed up in my mailbox with the appropriate
>'from' and 'subject' fields.
>
>On the system I am on now (Netcom in S.F.), when I use the same
>command, the article is mailed to my mailbox, but with the subject
>line blank, and the 'from' field is ME. This is virtually useless
>to me this way (all my messages look the same!)... What's up? Or
>what should I be doing different?
Re: TRN question: forwarding articles as mail
#4839
Author: Wayne Davison
Date: Wed, 07 Jul 1993 18:01
20 lines
1447 bytes
According to J. Petersen <chinacat@netcom.com>:
> | mail <my user name>
> [...]
> On the system I am on now (Netcom in S.F.), when I use [this]
> command, the article is mailed to my mailbox, but with the subject
> line blank, and the 'from' field is ME.

Sounds like your path is picking up /usr/ucb/mail (or similar) rather
than /bin/mail (or mebbe /usr/bin/mail).  The former does not accept
headers as a part of stdin while the latter does.  Once you figure
out which mailer on your system passes through the headers, you can
create an alias in .trnmac like this:

@M	| mail chinacat@netcom.com^M

to make it really easy to type.  Of course, the other suggestion to
use trn's mail-format saver to directly append to your mail folders
will also work and might be more convenient.

.wayne..
Re: TRN question: forwarding articles as mail
#4843
Author: Nancy McGough
Date: Wed, 07 Jul 1993 19:43
28 lines
1978 bytes
>According to J. Petersen <chinacat@netcom.com>:
>> | mail <my user name>
>> [...]
>> On the system I am on now (Netcom in S.F.), when I use [this]
>> command, the article is mailed to my mailbox, but with the subject
>> line blank, and the 'from' field is ME.


davison@borland.com (Wayne Davison) writes:
>Sounds like your path is picking up /usr/ucb/mail (or similar) rather
>than /bin/mail (or mebbe /usr/bin/mail).  The former does not accept
>headers as a part of stdin while the latter does.  Once you figure
>out which mailer on your system passes through the headers, you can
>[...] 


This is great info to know.  In nn when I mail messages to
myself with nn's m command they arrive with the subject 
intact, but they appear to be from me.  I'd like to be
able to set up nn to mail the messages to me a la
"| /usr/bin/mail nancym" with both Subject and From
intact.  Does anyone know how to do this with nn --
it looks like the mail-script and mailer variables 
might come into play.

Thanks much,
Nancy
NN & mailing articles w/ author intact (WAS: TRN question: ...)
#4857
Author: Nancy McGough
Date: Thu, 08 Jul 1993 21:35
29 lines
1736 bytes
I wrote:
>I'd like to be
>able to set up nn to mail the messages to me a la
>"| /usr/bin/mail nancym" with both Subject and From
>intact.  Does anyone know how to do this with nn --
>it looks like the mail-script and mailer variables 
>might come into play.

I figured out a way to do this in nn:  Type s for
save and then at the prompt type:

 | /usr/bin/mail <email address>

where /usr/bin/mail is replaced by whatever path
you need to get non-Berkeley mail.

Here's a macro (invoked with ;m) to mail an article to myself:

# Next 2 lines establish semicolon (;) as macro prefix key (aliased to mac).
make map mac
map both ; prefix mac

# Mail article to me
map mac m (
	?show  save-full "| /usr/bin/mail nancym" 
)

Enjoy,
Nancy
Re: TRN question: forwarding articles as mail
#4861
Author: Bob Kupiec
Date: Fri, 09 Jul 1993 05:06
21 lines
1715 bytes
In <chinacatC9sBD3.L2D@netcom.com>, chinacat@netcom.com writes:
>When reading news, I often want to send an article to myself as
>mail, since I keep most of my data seperated into various

Here is a little macro that I use to accomplish this.

E	%(%m=t?E:| elm -s "%s (Fwd: %C\)" username)

The only thing that I can't get elm to do is to quote the double
quote marks.  If the Subject: line contains '"' the macro dies.
Elm chokes on it. (elm 2.2)  Using the regexp quoting in trn (2.2)
does not help.

Anyone know of a way to fix this (preferable WITHOUT another program
to do this.  i.e.  I know I can whip up a sed script to do it.)

-- 
Bob Kupiec, N3MML      |      Internet: beyonet!bob@vu-vlsi.vill.edu 
Morrisville, PA, USA   |               (or) bob@zero.com            
(40d 12'N / 74d 48'W)  |      AX.25: n3mml@wb3ftp.#epa.pa.usa.noam 
"Motorola 68k Inside!" | 100% UNIX ~ NO DOS! ~ Get WiReD ~ PGP key avail
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads