mhonarc-users

Re: Using mhonarc as a news archiver

2000-04-11 22:34:06
Earl Hood <ehood(_at_)hydra(_dot_)acs(_dot_)uci(_dot_)edu> writes:

On April 10, 2000 at 14:53, Harry Putnam wrote:

For my purpose I want to somehow get the nntp data that my newsclient
(Gnus) uses, split it to procmail for filtering etc but also keep the
normal input to Emacs/Gnus news client intact.

Probably need some more direct way of getting nntp data to procmail
but don't really understand how that would be done.

Couldn't use an NNTP Perl module to suck posts from an NNTP server
and pipe the data to procmail?


Probably, but wasn't that up on what is available, trying "suck"
currently. It seems to be very slow compared to Emacs/gnus downloading
messages. I'll check out cspan.  Are there modules that connect to
nntp server and put the data on stdout?  Especially with some nifty
controls on what gets downloaded would be nice.

It isn't clear to me if procmail is capable of handling a raw nntp
message without somekind of conversion to one or another mail format.

NNTP messages follow the same syntactical rules of mail messages
(RFC 822).
Not sure what you mean by syntactical but they lack the leading 'From
' line and space at the end that mbox messages have.
And retain the closing "dot" by itself on a line.

Somewhere I got the idea that the hallmark 'From ' line and space at
the end that are the earmarks of unix-message format, were required
for procmail to work.  Is this not the case?  Still haven't had a
chance to experiment to find out for sure.


<Prev in Thread] Current Thread [Next in Thread>