Article View: news.software.nntp
Article #69056Re: mail2news script
From: Habu
Date: Sun, 25 Apr 2004 17:29
Date: Sun, 25 Apr 2004 17:29
21 lines
1592 bytes
1592 bytes
In article <c6gqdr$q9q$1@puck.litech.org>, Jeffrey M. Vinocur wrote:
> Is this a particular local newsgroup only? If so, we might come
> up with a way to have the crossposting actually come through so
> that newsreaders won't show the user the same article twice. But
> anyway, that wasn't your question.
I actually host quite a few local.lists groups and use procmail to
dictate what articles go to which groups. For example:
# :0
# * ^List-Post:.*squirrelmail-announce@lists\.sourceforge\.net
# | ~listpost/bin/mail2news local.lists.squirrelmail
> I'm sure there's a way to do it with a single regex, but why not
> just:
>
> if( /^References:/ ) {
> s/</<list\./g;
> }
That worked perfectly thanks!
Technical Details
Message-ID:
<c6gshh$kgi$1@bananasplit.info>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!nntp.giganews.com!news.glorb.com!news.bananasplit.info!not-for-mailReferences:
<c6fubi$pob$1@bananasplit.info> <c6gqdr$q9q$1@puck.litech.org>Show Full Headers
Complete Article Headers
Message-ID: <c6gshh$kgi$1@bananasplit.info> Subject: Re: mail2news script Date: Sun, 25 Apr 2004 17:29:21 +0000 From: Habu <blackbird@invalid.com> References: <c6fubi$pob$1@bananasplit.info> <c6gqdr$q9q$1@puck.litech.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.20140818.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!nntp.giganews.com!news.glorb.com!news.bananasplit.info!not-for-mail Newsgroups: news.software.nntp Organization: Bananasplit Lines: 21 X-Complaints-To: abuse@bananasplit.info NNTP-Posting-Date: Sun, 25 Apr 2004 17:29:21 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux)