🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81608

Re: mailpost generates "sender" header - why?

#81608
From: D. Stussy
Date: Fri, 17 Jul 2009 19:54
50 lines
3177 bytes
"Michael Vogel" <ike@spamfence.net> wrote in message
news:4a605ca5$0$31327$9b4e6d93@newsspool4.arcor-online.net...
> D. Stussy <spam@bde-arc.ampr.org> wrote:
> > "Michael Vogel" <ike@spamfence.net> wrote in message
> > news:4a5fb8d2$0$30229$9b4e6d93@newsspool1.arcor-online.net...
> >> I want to synchronize several mailing lists with a newsserver. It
works
> >> - but I have the problem that every post in the newsgroup has got the
> >> "sender:" header containing the username and hostname where mail2post
> >> was started.
> >
> > Why do you THINK it's a problem?
>
> I want to seperate the postings that were done via mailing list and
> directly. Since this (private) newsserver will be synced with a forum I
> want to use the "Sender" header to get the approved user (you can only
> use the newsgroup with an account)
>
> Additionally it could confuse several users why there was always my name
> in the header ;-)

That's why one sets up a separate userID to run the script (or any
non-root-privileged operations not attributable to another user).  Don't
use your own ID.  All of my mailing list to newsgroup mappings occur in
virtusertable.  Here's what gets set:

From:  (set to original author)
Sender: mailserv@snarked.org  (this is the mail server's userid)
X-Complaints-To: newsmaster@snarked.org

I keep my mailing list subscriptions in NON-DISTRIBUTED groups.  There are
additional issues that arise when the groups are gated by more than one
server.

If your users don't know what the headers mean, perhaps they should be
educated....

> > Since a mail-to-news-gated list may be gated at more than one point to
the
> > same newsgroup, the "Sender:" header identifies which gateway was
> > responsible for gating a particular message.  (The "Path:" header may
also
> > include this, but by identifying the gateway's path entry.)
>
> Since it's a private newsserver with no peering there will be no
> problems like these.

OK.

Technical Details
Message-ID: <h3qkt8$n5v$1@snarked.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!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!news.mb-net.net!open-news-network.org!news.snarked.org!not-for-mail
References: <4a5fb8d2$0$30229$9b4e6d93@newsspool1.arcor-online.net> <h3ooef$ce7$1@snarked.org> <4a605ca5$0$31327$9b4e6d93@newsspool4.arcor-online.net>

Show Full Headers
Complete Article Headers
Message-ID: <h3qkt8$n5v$1@snarked.org>
Subject: Re: mailpost generates "sender" header - why?
Date: Fri, 17 Jul 2009 12:54:10 -0700
From: "D. Stussy" <spam@bde-arc.ampr.org>
References: <4a5fb8d2$0$30229$9b4e6d93@newsspool1.arcor-online.net> <h3ooef$ce7$1@snarked.org> <4a605ca5$0$31327$9b4e6d93@newsspool4.arcor-online.net>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!news.mb-net.net!open-news-network.org!news.snarked.org!not-for-mail
Newsgroups: news.software.nntp
Lines: 50
Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org>
NNTP-Posting-Host: pool-71-106-209-107.lsanca.dsl-w.verizon.net
X-Trace: snarked.org 1247860456 23743 71.106.209.107 (17 Jul 2009 19:54:16 GMT)
X-Complaints-To: newsmaster@snarked.org
NNTP-Posting-Date: Fri, 17 Jul 2009 19:54:16 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478