🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #37089

Re: newgroup/rmgroup policies

#37089
From: Jeremy
Date: Tue, 27 Apr 1999 00:00
48 lines
2855 bytes
John Moreno  <planb@newsreaders.com> wrote:

> You had a way to make trn give a warning when replying to messages with
> a MCT never/nobody header?  I'd like to see it if you still got it -- I
> know someone who uses trn who I can't talk out of going easier on the
> Cc's, this wouldn't be perfect (I'd prefer he lightened up on his own),
> but it'd at least help.  He's already sending out too many Cc's, but I
> don't think this would encourage him to send more (if you can also get
> it to do the reverse [include a Cc when it encounters
> poster/always/address], I might even be able to finally get him to
> lighten up on them).

Well, I didn't still have it, but I just came up with some little bits
of black magic to do three different things.

Note -- I have tested these only minimally, and only with trn 4.0.

The following examples should be used as part of a well-balanced
NEWSHEADER variable in the trnrc file.  You can't set just one header;
if you want to change the default, you have to set them all.  These
are each all one line within NEWSHEADER.  A value of 'poster' is taken
to mean the address in From, or Reply-To if present.  'nobody' and 'never'
are taken to mean not to send a cc.

1. This will honor Mail-Copies-To, defaulting to not cc'ing:

Cc: %(%[mail-copies-to]=^$?:%(%[mail-copies-to]=^poster$?%f:%[mail-copies-to]))

2. This will honor Mail-Copies-To, defaulting to sending a cc:

Cc: %(%[mail-copies-to]=^never$\\|^nobody$?:%(%[mail-copies-to]=^$\\|^poster$?%f:%[mail-copies-to]))

3. This will honor Mail-Copies-To, defaulting to sending a cc, and
asking for confirmation if Mail-Copies-To is provided and the value
is 'never' or 'nobody':

Cc: %(%[mail-copies-to]=^never$\\|^nobody$?%(%"The poster wishes not to be annoyed.  Really cc? [ny] "=^y?%f:):%(%[mail-copies-to]=^$\\|^poster$?%f:%[mail-copies-to]))

I've re-added #1 to my config, and thus this is posted and mailed as
requested. :)

Trn is cool.

-- 
Jeremy  |  jeremy@exit109.com
"Who's scruffy-looking?"  --Han Solo

Technical Details
Message-ID: <7g54c6$1sp$1@east44.supernews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <924538377$30351-209.54.165.69_0001@corp.vnews.net> <brad-2704991233000001@brad.techos.skynet.be> <7g455i$m96$1@east44.supernews.com> <270419991440304590%planb@newsreaders.com>

Show Full Headers
Complete Article Headers
Message-ID: <7g54c6$1sp$1@east44.supernews.com>
Subject: Re: newgroup/rmgroup policies
Date: Tue, 27 Apr 1999 00:00:00 +0000
From: Jeremy <jeremy@exit109.com>
References: <924538377$30351-209.54.165.69_0001@corp.vnews.net> <brad-2704991233000001@brad.techos.skynet.be> <7g455i$m96$1@east44.supernews.com> <270419991440304590%planb@newsreaders.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 471593751
X-Complaints-To: newsabuse@remarq.com
X-Trace: 925242566 HGJFWBHQJ1A29CE84 east44.supernews.com
Organization: There Is No Organization
Newsgroups: news.software.nntp
X-Meow: Meow