🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #259901

[slrn] Modify signature based on newsgroup

#259901
From: Lewis
Date: Fri, 08 Jan 2016 15:30
19 lines
1568 bytes
I have a script that uses fortune to generate a .signature file, and
that gets included with my posts (as below) as well as attached to my
emails and such. the script is run outside of slrn (vi cron).

Would it be possible to do something like the following:

if posting to newsgroup [alt.foo]
   append .foo_signature
   append .signature
else if posting to [alt.bar.bork.bork.bork]
   append .bork_sig
   append .signature
else
   append .signature

TIA

-- 
The reaper does not listen to the harvest. --Reaper Man
Technical Details
Message-ID: <slrnn8vlkv.1uv8.g.kreme@amelia.local>
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

Show Full Headers
Complete Article Headers
Message-ID: <slrnn8vlkv.1uv8.g.kreme@amelia.local>
Subject: [slrn] Modify signature based on newsgroup
Date: Fri, 08 Jan 2016 15:30:06 +0000
From: Lewis <g.kreme@gmail.com.dontsendmecopies>
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: Miskatonic U
Lines: 19
Injection-Date: Fri, 8 Jan 2016 15:30:06 -0000 (UTC)
Injection-Info: kreme.eternal-september.org; posting-host="67a6ffcad0084cff2eaf00478b4e9e19";
 logging-data="14193"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Mfh93R/jFZs9tKAL4NxCh"
User-Agent: slrn/1.0.2 (Darwin)
X-Face: )^b5"R:T7U>9~:PEn3YkzMfW*[b1qKeU.fP9C8~8HpU9}lA&6`bH1z
Cancel-Lock: sha1:57IbGngehN/zUtzPbwCVNgjCO1c=
X-Clacks-Overhead: GNU Terry Pratchett
X-Received-Bytes: 1652
X-Received-Body-CRC: 3369838444