🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #24379

Re: Problem cancelling with trn 3.5

#24379
From: Kim DeVaughn
Date: Tue, 23 Jul 1996 00:00
60 lines
3475 bytes
In article <DutBEB.CIF@presby.edu>, Jon Bell <jtbell@presby.edu> wrote:
|
|  Tracy J. Di Marco White <tracy@cnde.iastate.edu> wrote:
| >
| >(NOTE: trn does NOT create "From" lines when posting news or sending mail
| >as this is the job of your news/mail software, not trn.)
| >
| >Your options:
| >
| >   1.  Choose a static hostname, such as your domain (which will match
| >       your sub-domain machines as well) and enter it here.
| >   2.  Specify just the domain portion (by starting the name with a '.')
| >      and your machine name will be computed at runtime and this domain
| >       appended to the end.
| >   3.  Enter just a '.' to have the machine AND domain computed at runtime.
| >   4.  Specify a filename (by starting the name with '/' or '~') and the
| >      name will be read from the file and processed using the above rules.
| >       If the file read fails, the machine and domain will be computed at
| >       runtime.
| 
| Thanks for jogging my memory for me!  I remember now that I used option 
| 4, specified a filename like /usr/local/lib/trn/servername, then created 
| that file and put the correct hostname in it.  That way I didn't have to 
| experiment with the other options.  If the original questioner can talk 
| his system administrator into recompiling trn, this is the solution that 
| I recommend.

All of the above is correct, and getting the original poster's sysadmin to
correct the problem *is* the preferred solution.  However ...

In case that cannot be accomplished, there is a workaround that I've had to
use, which will get the job done.

That is to manually add a correctly formed "From: " line to the postings.
Correctly formatted, it will override the addition of a "From: " line that
inews/inn would normally add.

To automate this, one may want to make a personal copy of both "Pnews" and
"Pnews.header", and modify "Pnews.header" to add in the desired "From: "
line; "Pnews" would need to be modified to point to the new "Pnews.header".
These are both shell scripts, so there's no problem with compilation, etc.

I know that one shouldn't *have* to do this, but there are situations where
it may be the only solution.  As I said, I've had to do this since at this
site, inews/inn plucks my name out of /etc/passwd, and does not recognize
the NAME env var (and /etc/passwd doesn't have my name in it the way that I
want, however it does have it the way the billing dept. wants it ...).


BTW ... if the original poster's SA is willing to recompile/reinstall, I
would recommend that they get a copy of trn v3.6 ... the most recently
released version.  Of course v4.x is coming out ... RSN ... :-) ...

/kim

=============================
"Let there be light."  --Bomb

Technical Details
Message-ID: <4t2fog$957@jobe.shell.portal.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.mbox.zip!not-for-mail
References: <DurEHu.69@zadall.com> <DusrC9.KGn@zadall.com> <4sopkd$8c0@news.iastate.edu> <DutBEB.CIF@presby.edu>

Show Full Headers
Complete Article Headers
Message-ID: <4t2fog$957@jobe.shell.portal.com>
Subject: Re: Problem cancelling with trn 3.5
Date: Tue, 23 Jul 1996 00:00:00 +0000
From: kim@shell.portal.com (Kim DeVaughn)
References: <DurEHu.69@zadall.com> <DusrC9.KGn@zadall.com> <4sopkd$8c0@news.iastate.edu> <DutBEB.CIF@presby.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 169648280
Organization: Kim's Home for Wayward Cocktail Waitresses
Newsgroups: news.software.readers
Summary: And there *is* a workaround ...