🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.ip.developers
Article #971

Re: Reading mail with Snews

#971
From: Tom Wheeley
Date: Mon, 13 May 1996 00:00
48 lines
2684 bytes
In article <Snews.960513.093625.chris.4524@keris.demon.co.uk>
           chris@keris.demon.co.uk "Chris Croughton" writes:

> In article <831936081snz@zhochaka.demon.co.uk>
>            dbell@zhochaka.demon.co.uk "David G. Bell" wrote:
> 
> >It occurred to me that it would be relatively easy to scan a PCElm mail
> >file for e-mail from a specified source (the mailing list) and pass it
> >through to Snews (with a suitable dummy-newsgroup line) and then check
> >mail for mail2news and re-address anything for the dummy-newsgroup to
> >the mailing-list address.
> 
> Duh, that's exactly what I do!  Except for the scanning for mail2news
> afterwards, which I haven't gotten rount to yet (I've hacked SNEWS to
> honour a Followup-to: x@y.z line).  Or you can use Reply instead of
> Followup.
> 
> John Washington's mail2snz program does something similar, except he
> writes straight to the SNEWS database (I produce a batch file which goes
> through UNBATCH) and doesn't modify the headers at all.
> 
> OK, I guess I'll tidy mine up as well.  And probably write that scanning
> program for ~/mqueue/*.wrk as well.  If you want to join us in
> demon.ip.developers to discuss the idea further then feel free to join
> in...

Hmm, sounds like what I've been writing over the past few days (!)

It is currently half done, but this is how it works:

Incoming mail file (LIST.TXT) is processed, adding a dummy newsgroups line
(&mail.list) and the Reply-To: line is extracted.

This file is then processed as per usual with mail2snz.

Then, before smartml </plug> in demon.bat, a second utility cans the TXT/WRK
files for mail to newsgroups beginning `&mail.' and changes all the neccesary
bumpf to redirect the mail to the list.
Where the mail should go is determined by a simple text configuration file.

So far, I've done the first util, the easy one :-)

.splitbung
-- 
* TQ 1.0 * The 'Just So Quotes'.
"Puritanism -- The haunting fear that someone, somewhere, may be happy."
        -- H. L. Mencken
Technical Details
Message-ID: <832003026snz@tsys.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <831936081snz@zhochaka.demon.co.uk> <Snews.960513.093625.chris.4524@keris.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bb05,193a98a36e8a53bc
X-Google-Attributes: gid10bb05,public
From: Tom Wheeley <tomw@tsys.demon.co.uk>
Subject: Re: Reading mail with Snews
Date: 1996/05/13
Message-ID: <832003026snz@tsys.demon.co.uk>
X-Deja-AN: 154637537
x-nntp-posting-host: tsys.demon.co.uk
references: <831936081snz@zhochaka.demon.co.uk> <Snews.960513.093625.chris.4524@keris.demon.co.uk>
x-sig-by: Tomsystems Quote v1.2.  (c)1996 Tom Wheeley, tomw@tsys.demon.co.uk
x-mail2news-path: tsys.demon.co.uk
organization: City Zen FM
reply-to: tomw@tsys.demon.co.uk
newsgroups: demon.ip.developers