🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #259965

Re: [slrn] Automattic subject modification

#259965
From: Shehu Dikko
Date: Thu, 14 Jan 2016 09:17
24 lines
1618 bytes
* Doug713705 <doug.letough@free.fr> [2016-01-13]:
> [...] I also tried to pipe the article to an external program with
> the pipe_article() function. No succes at the moment but it was late
> and I was tired....

How so? Here's an example using reformail which should be able to do
what you want if you look into it:

#v+
 define pipe_to_mbox () 
 { 
    pipe_article ("/usr/bin/reformail -s /usr/bin/maildrop"); 
 } 
 definekey ("pipe_to_mbox", "w", "article");
#v-

That sends the selected article to an mbox based on rules defined in
the maildrop config. You can substitute maildrop for your external
program if the builtin reformail options for rewriting headers are not
quite what you want.

regards,

s h e h u
Technical Details
Message-ID: <hm5kmc-471.ln1@zo.ath.cx>
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: <n742hs$8j2$1@golgoth98.redatomik.org> <slrnn9b613.39r.jbn@forestfield.org> <n7554d$olo$1@golgoth98.redatomik.org>

Show Full Headers
Complete Article Headers
Message-ID: <hm5kmc-471.ln1@zo.ath.cx>
Subject: Re: [slrn] Automattic subject modification
Date: Thu, 14 Jan 2016 10:17:37 +0100
From: Shehu Dikko <unreachable@destination.invalid>
References: <n742hs$8j2$1@golgoth98.redatomik.org> <slrnn9b613.39r.jbn@forestfield.org> <n7554d$olo$1@golgoth98.redatomik.org>
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: Aioe.org NNTP Server
Lines: 24
NNTP-Posting-Host: SXLhg55AzlK+r8Onjkqt+w.user.gioia.aioe.org
X-Complaints-To: abuse@aioe.org
User-Agent: slrn/pre1.0.3-10 (Linux)
X-Notice: Filtered by postfilter v. 0.8.2
X-Received-Bytes: 1431
X-Received-Body-CRC: 4277851044