🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #21598

Re: SMTP->NNTP? (MS Exchange 5.0 -> NS News 2.01)

#21598
From: raeburn
Date: Tue, 16 Sep 1997 00:00
43 lines
2473 bytes
Russell Whitaker <rwhitaker@alphablox.com> writes:

> open to using a 3rd host, if necessary, if direct communication between
> #1 and #2 can't be used to achieve the same effect, e.g. mail host
> delivers msg to a Solaris box (we have those, and I can borrow process
> cycles on them), whose sendmail pipes the msg through
> a process indicated in /etc/aliases (or procmail, for that matter),

If you're not afraid of sendmail.cf hacking, you could define a new
mailer "news" which runs some script to post the mail into one or more
newsgroups.  The advantage is that a single mail message sent to list1
and list2 could be cross-posted to local.list1 and local.list2 if your
posting script allows for it, you just have to tell sendmail that this
"mailer" (your posting script) can accept messages for multiple
"users" (newsgroups).  I've written such patches at least three times
(though only once for news, and the then-sysadmins never got around to
using them), but I don't have a copy handy.


Watch out for mail that does get sent to more than one list.  If it's
posted to two newsgroups independently, with the same message-id each
time, some may get rejected, with the effect that people following
some but not all of the lists in news may not see such messages at
all.  You could munge the message-id to include the group name or
something, though that makes "references"/"in-reply-to" chains harder
to follow.  (If a reply is made to a posted article, the referent id
will be wrong for people who got the original in email, and vice
versa.)

It's especially an issue if you don't do something to handle
cross-posting, but even with that, mail coming in from external sites,
or delivered multiple times for other reasons (majordomo processing?)
can still result in distinct copies of a single message for different
lists.


No clue on the NT side, though, sorry. :-)


Ken

Technical Details
Message-ID: <tx1afhd700c.fsf@raeburn.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.mbox.zip!not-for-mail
References: <341DAFF3.46DDCD7E@alphablox.com>

Show Full Headers
Complete Article Headers
Message-ID: <tx1afhd700c.fsf@raeburn.org>
Subject: Re: SMTP->NNTP? (MS Exchange 5.0 -> NS News 2.01)
Date: Tue, 16 Sep 1997 00:00:00 +0000
From: raeburn@cygnus.com
References: <341DAFF3.46DDCD7E@alphablox.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 273010535
Organization: Cygnus Support, Cambridge MA
Newsgroups: news.software.nntp