🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #60257

INN Appending Headers

#60257
From: Steve
Date: Fri, 06 Sep 2002 10:05
18 lines
1263 bytes
Hello,

Is there a way to append a header (or modify an existing one) based on the 
content of a message body?

For example:
If a message contains the word Honda, I want to append a header of "X-
Model: Honda"

The server in question is running INN 2.3.3 on a local LAN and has various 
incoming feeds, but does not push anything back out to the Internet.  I 
have also installed Cleanfeed which is great for filtering, but I don't 
know if I can use it to append a header in this manner.

Cheers,
Steve
Technical Details
Message-ID: <3d787df0$1_2@news5.nntpserver.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!reseller.nntpserver.com!news5.nntpserver.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <3d787df0$1_2@news5.nntpserver.com>
Subject: INN Appending Headers
Date: Fri, 06 Sep 2002 10:05:36 +0000
From: Steve <steve@nospam.invalid.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!reseller.nntpserver.com!news5.nntpserver.com!not-for-mail
Newsgroups: news.software.nntp
User-Agent: Xnews/5.04.25
Lines: 17
X-Abuse-Report: abuse@nntpserver.com
Organization: http://www.nntpserver.com