Thread View: news.software.readers
2 messages
2 total messages
Started by Nancy McGough
Fri, 06 Jan 1995 05:38
Using formail to solve private mail w/ Newsgroups header problem
Author: Nancy McGough
Date: Fri, 06 Jan 1995 05:38
Date: Fri, 06 Jan 1995 05:38
45 lines
2830 bytes
2830 bytes
Pine is both a newsreader and a mailer and whenever a message sent by Pine contains a Newsgroups header, it means that the message was posted to a newsgroup. If a message is only mailed it will not contain a Newsgroups header. If you use Pine as your mailer and you receive a message that has a Newsgroups header, Pine will ask you if you want to reply by posting. Now, if everyone used Pine this would be fine. But, since many people use NN, Tin, and TRN, which all include a Newsgroups header in privately mailed messages, this is a problem. Often people answer yes to this question because they think that they are responding to a message that was posted, rather than just mailed. And then someone's private message gets posted to the world, causing all kinds of turmoil. A future release of Pine will make it more clear to the user about this danger, but until that happens you may want to put something like this into your .procmailrc file: # Useful if you use Pine as your mailer :0 fhw * ^Newsgroups: * !^Message-Id:.*Pine | formail -R Newsgroups: Originated-In-Newsgroups: What this does is if an incoming mail message contains a Newsgroups header and the Message-Id does not contain "Pine" (i.e., it did get mailed by Pine) then it replaces (R) the Newsgroups header with Originated-In-Newsgroups, followed by the newsgroups. Some questions: * Any suggestion for a better header than Originated-In-Newsgroups? * Any suggestions for improving this? * What other newsreaders (other than nn, tin, and trn) include a Newsgroups header in privately mailed messages? * Do you think this is a good example to put in the Procmail FAQ? If not, what's a better header munging example? Thanks much, Nancy -- /\_/\ Nancy McGough ( o.o ) Infinite Ink > ~ < http://www.jazzie.com/ii/ -OR- http://www.best.com/~ii/
Re: Using formail to solve private mail w/ Newsgroups header problem
Author: Rahul Dhesi
Date: Fri, 06 Jan 1995 13:29
Date: Fri, 06 Jan 1995 13:29
50 lines
2909 bytes
2909 bytes
In <Pine.ULT.3.91.950105211047.7915A-100000@halcyon.com> Nancy McGough
<nancym@ii.com> writes:
>* ^Newsgroups:
>* !^Message-Id:.*Pine
>| formail -R Newsgroups: Originated-In-Newsgroups:
>What this does is if an incoming mail message contains a
>Newsgroups header and the Message-Id does not contain "Pine"
>(i.e., it did get mailed by Pine) then it replaces (R) the
>Newsgroups header with Originated-In-Newsgroups, followed by
>the newsgroups.
My first reaction was that this is an excellent idea.
However, in the long run, treating messages differently based on the
originating mail software will cause a lot of confusion. I think it would be
better if pine users would unconditionally have procmail convert the
Newsgroups header. I suggest that they transform it to X-Newsgroups --
short and simple.
(It would be ideal if a patch for pine could be developed that would do
this transformation automatically, without requiring a procmail
filter.)
By doing so we largely preserve the original semantics of the
Newsgroups header in email, i.e., that the sender of the reply saw
something on Usenet and sent email in response, and that the recipient
of the email is not expected to post a reply to Usenet. The basic idea
is:
- if you get it in email, send any reply in email
- if you see it on Usenet,
either post a follow-up to Usenet
or send a private email reply
but don't do both except in unusual circumstances
>* Do you think this is a good example to put in the Procmail FAQ?
Actually this really belongs in the pine FAQ, if/when there is one.
Procmail is baroque. Its .procmailrc file syntax is quite hard to
understand. It's not a good match for most pine users, who want a
simple menu-driven interface that they can use without reading a
cryptic manual. That a pine user should need to add a .forward file
entry to enable procmail, and add some cryptic lines to a .procmailrc
file, just to use pine normally, is ironic.
--
Rahul Dhesi <dhesi@rahul.net>
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