🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.ip.developers
Article #933

Re: format of .wrk files in spool/mqueue

#933
From: Tim Illingworth
Date: Sat, 01 Jun 1996 00:00
41 lines
2107 bytes
In article <244799584wnr@geordie.demon.co.uk>
           Simon@geordie.demon.co.uk "Simon Crute" writes:

>Hi,
>  I was wondering if anyone could point me to a document describing the format,
>and logic used in creating the .wrk files that NewsWin and PCELM create in the
>/demon/spool/mqueue directory. 

I don't know that they're described anywhere. The answer is that the
.wrk file describes the SMTP delivery envelope, and the format is:

first line: the host that the message is to be delivered to
second line: the address of the sender ("RFC 821 Envelope From")
third line: the address that the message is to be delivered to
fourth and subsequent lines: other addresses for delivery

Note that none of these have any necessary relationship to anything
in the .txt file (which holds the RFC 822 message).

So a .wrk file of:

post.demon.co.uk
maillist-request@smof.demon.co.uk
simon@geordie.demon.co.uk
100144.3343@compuserve.com

would be a legal .wrk file for a message forwarded by a mailing list
at smof.demon.co.uk using post.demon.co.uk as a smart host, even
though none of the four elements appears in the .txt file.

Hope this helps,

Tim

-- 
-----------------------------------------------------------------------------
Tim Illingworth    tim@smof.demon.co.uk     Go not to Usenet for advice, for
Chessington,    timill@cix.compulink.co.uk  they will say both 'No' and 'Yes'
Surrey, UK      100144.3343@compuserve.com     and 'Try Another Newsgroup'
-----------------------------------------------------------------------------
Technical Details
Message-ID: <833634689snz@smof.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <244799584wnr@geordie.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bb05,42582e895807e07e
X-Google-Attributes: gid10bb05,public
From: Tim Illingworth <tim@smof.demon.co.uk>
Subject: Re: format of .wrk files in spool/mqueue
Date: 1996/06/01
Message-ID: <833634689snz@smof.demon.co.uk>
X-Deja-AN: 157934701
x-nntp-posting-host: smof.demon.co.uk
references: <244799584wnr@geordie.demon.co.uk>
x-mail2news-path: smof.demon.co.uk
organization: Smof Software
reply-to: tim@smof.demon.co.uk
newsgroups: demon.ip.developers