🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #259919

Re: [slrn] Modify signature based on newsgroup

#259919
From: rj
Date: Sun, 10 Jan 2016 05:23
36 lines
1986 bytes
On Fri, 08 Jan 2016 17:04:19 +0000, Adam Funk <a24061@ducksburg.com> wrote:
>
> The identity.sl stuff lets you do that, although it's a bit ugly


Very, and examples are few.  If I want my "From:" address to be:

"From: rj <rj@poonix.com>"

in, say, all the misc.* groups, instead of:

"From: rj <rj@poonix.com.invalid>"

(which is what I want in all groups *other* than the misc hierarchy),
what do I put in the "my_identities.sl" file?  Right now I have

identity->add_new ("rj\@poonix\.com", "misc\.*");

and ESC-I (entered while I'm inside a "misc.*" group) still shows:

"From: rj <rj@poonix.com.invalid>"

at the top of the "Identity on misc.*" box that ESC-I brings up, but
toward the bottom of the box, I see:

Current ID: New Identity ('rj@panix.com')
Matching RE: misc.*

and when I try to post or follow-up in a misc.* group, the "invalid"
is still in my address in the "From:" header.

Reading through the "identities.sl" file, it's not at all obvious how
this is to be done, AFAICT.

-- 
Air is water with holes in it.
Technical Details
Message-ID: <n6sprs$51l$1@reader1.panix.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <slrnn8vlkv.1uv8.g.kreme@amelia.local> <jp65mcxebi.ln2@news.ducksburg.com>

Show Full Headers
Complete Article Headers
Message-ID: <n6sprs$51l$1@reader1.panix.com>
Subject: Re: [slrn] Modify signature based on newsgroup
Date: Sun, 10 Jan 2016 05:23:08 +0000
From: rj <rj@panix.com.invalid>
References: <slrnn8vlkv.1uv8.g.kreme@amelia.local> <jp65mcxebi.ln2@news.ducksburg.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Organization: Disorganization
Lines: 37
NNTP-Posting-Host: panix5.panix.com
X-Trace: reader1.panix.com 1452403388 5173 166.84.1.5 (10 Jan 2016 05:23:08 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Sun, 10 Jan 2016 05:23:08 +0000 (UTC)
Mail-Copies-To: nobody
User-Agent: slrn/pre1.0.3-5 (NetBSD)
X-Received-Bytes: 1926
X-Received-Body-CRC: 1547563732