🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #74020

Re: reading list through INN

#74020
From: Per Hedeland
Date: Fri, 11 Aug 2006 18:18
56 lines
3180 bytes
In article <uCUCg.62426$Qu4.22884@trnddc04> Matej Cepl <ceplm@seznam.cz>
writes:
>
>when I had leafnode (with ML patch) I had all messages to email lists
>converted in newsgroups. I have a filter in my MUA (KMail) to send all
>those list-messages to news@localhost. There they would be filtered by
>leafnode ML patch. I tried to reconstruct the same behavior with procmailrc
>and rules like this:
>
>:0
>* ^List-Id:.*discuss.blu.org
>| /usr/lib/news/bin/mailpost -d local local.mail.comp.boston
>
>or
>
>:0
>* ^Mailing-List:.*(vcfc-random@yahoogroups.com \
>        |vcfc-announce@yahoogroups.com)
>| /usr/lib/news/bin/mailpost -d local local.mail.vcfc.random

  ^ - It seems you have a "garbage" character here (octal 302, capital A
with circumflex in iso-8859/1...).

>        /usr/lib/news/bin/mailpost,-d,local,local.mail.vcfc.random" \
>        /bin/sh:  /usr/lib/news/bin/mailpost: No such file or directory

>The biggest question I have is what that "No such file or directory" means.
>Which file or directory?

It means what it says, normally - i.e. the message would imply that
/usr/lib/news/bin/mailpost doesn't exist, but given the above, it
probably means that "Â /usr/lib/news/bin/mailpost" doesn't exist, just
that the  has been stripped out somewhere.

> The other is kind of off-topic here -- why in the
>world procmail thinks that sending of message to the program is
>non-delivering rule?

That's probably a consequence of the failure to execute the program - it
would be bad if procmail just ignored this failure, but I guess it could
return a fatal exit code instead, causing a bounce, rather than continue
to process the procmailrc. Check the procmail docs, maybe this is
specified there...

>Is there any more settled ways how to organize stuff like this -- seeding
>local news groups from number of email lists being sent to the one local
>user (I have currently 18 email lists which  I would like to process with
>this way, and I don't think I would like to make new alias for all of
>them)?

Hm? 18 isn't exactly a huge number of aliases, and aliases would seem to
be a far more reliable method than parsing arbitrary headers, subject to
change without notice, in a procmailrc.

--Per Hedeland
per@hedeland.org
Technical Details
Message-ID: <ebihm9$2pk$1@hedeland.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <uCUCg.62426$Qu4.22884@trnddc04>

Show Full Headers
Complete Article Headers
Message-ID: <ebihm9$2pk$1@hedeland.org>
Subject: Re: reading list through INN
Date: Fri, 11 Aug 2006 18:18:49 +0000
From: per@hedeland.org (Per Hedeland)
References: <uCUCg.62426$Qu4.22884@trnddc04>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.nntp
Organization: None
Lines: 56
X-Trace: individual.net hmy/eXHmH89X5jF7eD25EASNETO6XE8JGyOO/3YYzhAiz0J5ew
X-Orig-Path: not-for-mail
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: per@hedeland.org (Per Hedeland)