🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #14346

Using formail to solve private mail w/ Newsgroups header problem

#14346
From: Nancy McGough
Date: Fri, 06 Jan 1995 05:38
45 lines
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/
Technical Details
Message-ID: <Pine.ULT.3.91.950105211047.7915A-100000@halcyon.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mail.headers.mbox.zip!nntp.gmd.de!Germany.EU.net!howland.reston.ans.net!news.sprintlink.net!nwnexus!news.halcyon.com!halcyon.com!nancym

Show Full Headers
Complete Article Headers
Message-ID: <Pine.ULT.3.91.950105211047.7915A-100000@halcyon.com>
Subject: Using formail to solve private mail w/ Newsgroups header problem
Date: Thu, 5 Jan 1995 21:38:25 -0800
From: Nancy McGough <nancym@ii.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mail.headers.mbox.zip!nntp.gmd.de!Germany.EU.net!howland.reston.ans.net!news.sprintlink.net!nwnexus!news.halcyon.com!halcyon.com!nancym
Newsgroups: comp.mail.pine,comp.mail.headers,news.software.readers
Organization: Infinite Ink, Seattle, Washington, USA
Lines: 44
NNTP-Posting-Host: halcyon.com
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Sender: nancym@halcyon.com
To: Procmail Mailing List <procmail@informatik.rwth-aachen.de>
Mailer/Newsreader: Pine 3.91