🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #243365

Re: How to insert Expires: header

#243365
From: Mike Yetto
Date: Tue, 23 Nov 2010 02:46
31 lines
2636 bytes
houghi <houghi@houghi.org.invalid> writes and having writ moves on.
>I want to insert an "Expires" header into my messages of e.g. 10 days
>after posting. I use slrn and leafnode.

Look for a macro named create_message_id.sl by Troy Piggins.  It
can be used to add headers and/or a hand-crafted message-id to
your posts.

Just look up.

>So this is with posting, not filtering or retrieving. Is there anywhere
>an explanation where it is described how to do it? Is it even possible
>with ione of those two programs?

Look for Troy's page at <http://piggo.com/~troy/slrn.php> where
he has a FAQ that describes another way as well.

>I looked, but I can't find a way to do this.

>If there is no way to do it, I could perhaps insert the header in
>/var/spool/news/out.going/* just before I run `fetchnews` which is run
>from a bash script anyway with crontab.

>PS: I understand the downside of doing this. This is about how, not why.

I understand the how, but don't see a good why.

Mike "nor do I think it will work" Yetto
-- 
In theory, theory and practice are the same.
In practice they are not.
Technical Details
Message-ID: <slrn20101122213653.177.twooffive@may.eternal-september.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.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx01.iad01.newshosting.com!newshosting.com!news2.euro.net!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
References: <slrniem2sc.tgj.houghi@penne.houghi>

Show Full Headers
Complete Article Headers
Message-ID: <slrn20101122213653.177.twooffive@may.eternal-september.org>
Subject: Re: How to insert Expires: header
Date: Mon, 22 Nov 2010 21:46:46 -0500
From: Mike Yetto <myetto1@nycap.invalid>
References: <slrniem2sc.tgj.houghi@penne.houghi>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx01.iad01.newshosting.com!newshosting.com!news2.euro.net!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: slrn Mafia / Xnews Tong (emeritus)
Lines: 31
Injection-Info: may.eternal-september.org;
 posting-host="LagJXPyKy0Sy/aUTUT+6gw";
 logging-data="31835"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX1/1rEZTleVnR9oG3J+OL57LI7HTk8vHmkw="
User-Agent: slrn/pre1.0.0-26/co (Kubuntu 10.04; 64bit)
X-The-Usenet-Improvement-Project: http://twovoyagers.com/improve-usenet.org/
X-No-Bananas: Yes
Cancel-Lock: sha1:13Ga3+GVuTrG6dExk2mZfKbsJt4=
 sha1:OzpJK9DJLJIITtqKxrHNOVM8Pfg=
X-Original-Bytes: 2362