🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #243369

Re: How to insert Expires: header

#243369
From: Steve Ackman
Date: Tue, 23 Nov 2010 06:01
34 lines
2313 bytes
In <slrniem2sc.tgj.houghi@penne.houghi>, on Tue, 23 Nov 2010 01:32:12 
+0100, houghi, houghi@houghi.org.invalid wrote:

> I want to insert an "Expires" header into my messages of e.g. 10 days
> after posting. I use slrn and leafnode.
> 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?

  You're already adding lots of headers.  Do the
Expires header the same way you're doing 

 X-No-Archive: yes
 X-Copyright1: Copyright 2010 houghi
 X-Copyright2: Only partially quoting is allowed.
 X-Newsreader: Microsoft Windows Live Mail 14.0.8089.726

  Or is it the syntax of the Expires header you're 
asking about?

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

  Seems to answer my last question... maybe.

grep custom_headers ~/.slrnrc

> 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 don't understand how you're adding all kinds of
custom headers but don't know how you're doing it.
Technical Details
Message-ID: <slrniemm64.k4f.steve@wizard.dyndns.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
References: <slrniem2sc.tgj.houghi@penne.houghi>

Show Full Headers
Complete Article Headers
Message-ID: <slrniemm64.k4f.steve@wizard.dyndns.org>
Subject: Re: How to insert Expires: header
Date: Mon, 22 Nov 2010 23:01:40 -0700
From: Steve Ackman <steve@SNIP-THIS.twoloonscoffee.com>
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.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Organization: A noiseless patient Spider
Lines: 35
Reply-To: usenet2002@SNIP-THIS.twoloonscoffee.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: mx03.eternal-september.org; posting-host="Pk4u5Kps9hXfpTPH8W9jYg";
 logging-data="9933"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Sg481Oudgnl88d7Zr9XP4MnFRV+DbGOY="
User-Agent: slrn/0.9.9p1 (FreeBSD)
X-No-Archive: yes
Cancel-Lock: sha1:ioLtbOtQm2Cr38t185J0Ov77udA=