🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #238462

[update] slrn Message-ID for email-only messages

#238462
From: Whiskers
Date: Thu, 26 Nov 2009 23:04
45 lines
2904 bytes
On 2009-11-25, Whiskers <catwheezel@operamail.com> wrote:
> When slrn sends an email 'Reply' without also posting a followup to the 
> newsgroup, no Message-ID is created.
>
> This doesn't seem to be a 'fatal' problem; the recipient's email service 
> provider seems to allocate a Message-ID of its own.  
>
> A Message-ID is only a 'should' in RFC 5322, rather than a 'must', but I
> think it would be preferable for slrn to generate a suitable email
> Message-ID, if only to  facilitate identification of the message and
> conventional threading.

[...]

I've contrived a work-around that seems to work: using a Perl program 
called "perl-Email-MessageID" I've written a little shell script that can 
(to quote the man file) "Generate world unique message-ids".  Here's my 
gem of a script (actually pasted from the man file!):

#v+
#!/usr/bin/perl
#
#-- generate Message-ID for email

         use Email::MessageID;

         my $mid = Email::MessageID->new;

         print "Message-ID: $mid\x0A\x0D";
#v-

My preferred editor (mcedit) can 'paste the output of a shell command' so 
I can put MIDs of the form

    Message-ID: 1259276211.A2060.24118@tavy.mobile.private

into the 'headers' space of the outgoing message.  The Perl program looks 
as though (once one has worked out what the man file means) it can be 
given settings or parameters to customise the MIDs created, but the 
default output looks fine to me for email use.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Technical Details
Message-ID: <slrnhgu2c2.854.catwheezel@ID-107770.user.individual.net>
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.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <slrnhgrakd.b69.catwheezel@ID-107770.user.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnhgu2c2.854.catwheezel@ID-107770.user.individual.net>
Subject: [update] slrn Message-ID for email-only messages
Date: Thu, 26 Nov 2009 23:04:34 +0000
From: Whiskers <catwheezel@operamail.com>
References: <slrnhgrakd.b69.catwheezel@ID-107770.user.individual.net>
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.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: is an alien concept
Lines: 45
Reply-To: Whiskers <catwheezel@gmx.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: individual.net bZ+BaRmrmhgYOtn+JbR2FwT5CLtSejyIJSDsFkpW10TOzustcL
X-Orig-Path: ID107770.user.individual.net!not-for-mail
Cancel-Lock: sha1:TvFewpdAg5hhZlcoZQQ8YPMRzAE=
X-Face: (8UIp\C%, 7b>N'Aa}l7v*-4z\fb2ab=[r*LKrwTU]>W\E]YS3Cb3mZo1Ty.t2%6_KsTV_
 "Pmt)1xC~QW%bU/xrlDuux";
 aJOH0|Ka^MEDf"9Ck?FcYcR)aI~e[\"NW,mpyK}Q6dU[\BmvwRD00
 xYer]; 5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@
 p&  g^8<z5>HA
User-Agent: slrn/pre0.9.9-94 (Linux)