🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #137216

Re: [trn] Select My Postings

#137216
From: Lars J. Aas
Date: Mon, 10 Nov 2003 16:41
23 lines
2337 bytes
In article <bokt8f$1vtk$1@shell.inch.com>,  <usenet@blst.org> wrote:
> When posting, often I use a "From:" different from the default
> username@hostname of the server I'm logged into.

You can put entries like the one below in your global kill-file 
(that would usually be ~/News/KILL) for all addresses you post from:

/username@domain/f:T.

The username@domain string is a regular expression, so you should
quote your domain-dots (e.g. larsa@sim\.no) to be correct, although
no backslashing will work too (but "." matches _any_ character).

> I'm no C coder, but I did have a look through the code and believe
> it's dependent on LOGNAME and the hostname trn gets from the server.
> I tried resetting those 2 environment variables, but no luck.

Both $USER and $LOGNAME seems to be in use - don't know which has
priority if both exists - probably $USER.  Anyways, there are a lot of
ways to configure how trn picks up the domain-part to use in postings
so it's probably easiest to go for the kill-file approach.

  Lars J
Technical Details
Message-ID: <boof3e$ntn$1@news.tdcnorge.no>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!news.tdcnorge.no!not-for-mail
References: <bokt8f$1vtk$1@shell.inch.com>

Show Full Headers
Complete Article Headers
Message-ID: <boof3e$ntn$1@news.tdcnorge.no>
Subject: Re: [trn] Select My Postings
Date: Mon, 10 Nov 2003 16:41:18 +0000
From: larsa@trh.sim.no (Lars J. Aas)
References: <bokt8f$1vtk$1@shell.inch.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!news.tdcnorge.no!not-for-mail
Newsgroups: news.software.readers
Organization: Systems in Motion
Lines: 23
NNTP-Posting-Host: 213.236.166.75
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.tdcnorge.no 1068482478 24503 213.236.166.75 (10 Nov 2003
X-Complaints-To: abuse@tdcnorge.no
NNTP-Posting-Date: 10 Nov 2003 16:41:18 GMT
X-Face: an@ubNKwA0m/|9z:?y&b<"6hy2t7oaN24dlf['6%IAi:`6TDJS'Qj<|Yb_)sg6m8B077O1h~$]m:diS75x_d{jV2"xO#-dkv*KO>1Ea2C+6~g}GOstE@1WlLNfkP-O}hv->*Lb&C0Wi_u**O`~N_-J&H'VOdu9bSbF2xOL!$JMj>0yfp2pP3w6MTEH[GnbAJ.}U0&M|?*\@P2j%g&G:d,
 M+F<&s
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)