🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #243381

Re: How to insert Expires: header

#243381
From: Urs Janßen
Date: Tue, 23 Nov 2010 14:58
9 lines
1711 bytes
In <slrniem2sc.tgj.houghi@penne.houghi>, houghi wrote:
> I want to insert an "Expires" header into my messages of e.g. 10 days
> after posting. I use slrn and leafnode.

JFTR, with tin this could be done via the attributes file and the
following entry (gnu date required):

scope=*
x_headers=!echo "Expires: `date -u -d '+10 days' +'%%d %%b %%Y %%R:%%S %%Z'`"
Technical Details
Message-ID: <icgkq9$6kh$1@news2.rz.uni-karlsruhe.de>
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.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!news2.arglkargh.de!news.n-ix.net!news.belwue.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail
References: <slrniem2sc.tgj.houghi@penne.houghi>

Show Full Headers
Complete Article Headers
Message-ID: <icgkq9$6kh$1@news2.rz.uni-karlsruhe.de>
Subject: Re: How to insert Expires: header
Date: Tue, 23 Nov 2010 14:58:17 +0000
From: Urs Janßen <urs@buil.tin.org>
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.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!news2.arglkargh.de!news.n-ix.net!news.belwue.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail
Newsgroups: news.software.readers
Organization: tin.org
Sender: Urs Janßen <urs@akk10-int.akk.uni-karlsruhe.de>
NNTP-Posting-Host: akkuser-dmz.akk.uni-karlsruhe.de
X-Trace: news2.rz.uni-karlsruhe.de 1290524297 6801 172.22.9.237 (23 Nov 2010
X-Complaints-To: abuse@uni-karlsruhe.de
NNTP-Posting-Date: Tue, 23 Nov 2010 14:58:17 +0000 (UTC)
Cancel-Lock: sha1:9tYBl3l94BwejsWBKVvpdYem4k0=
X-No-Archive: yes
Archive: no
X-No-HTML: yes
User-Agent: tin/1.9.6-20101116 ("Lochruan") (UNIX) (Linux/2.6.24-28-generic
 (i686))
X-Original-Bytes: 1493