Article View: news.software.readers
Article #13896Re: Where do trn,Pnews,etc. get "From:" line info?
From: Chris Lewis
Date: Tue, 20 Dec 1994 18:14
Date: Tue, 20 Dec 1994 18:14
47 lines
2954 bytes
2954 bytes
In article <3d2ppj$2o5@akbar.1000klub.com>, Paul Chinn <loomer@svpal.org> wrote: >In article <3d0ft9$acu@sdp.kigam.re.kr>, >Sang-yong Suh <sysuh@kigam.re.kr> wrote: >>Trn uses Pnews. Pnews uses the environment variable RNMAILER or >>sendmail to get the From: header. If you don't have RNMAILER >>environmet varible set, Pnews uses standard sendmail which again >>may be your smail. >>A trick on setting "From:" header is declaring the RNMAILER variable >>as ~/bin/mysendmail, which contains following lines: >> #! /bin/sh >> /usr/lib/sendmail -f 'loomer@svpal.org' $* >> >>But be careful! Once you set the From: field like that, you'll >>expirience another problem. Trn will deny canceling of your own article. >>Trn does not know that the article is your own. >I tried your suggestion but it did not work. That's because it was wrong. Pnews doesn't use RNMAILER/sendmail to send *postings*. Rnmail uses sendmail to send *email*. >However in doing so I noticed >that Pnews was a shell script and not a binary so I was able to trace thru >it and find that the culprit is inews. The inews man page says I should >be able to use a -f option but it does not seem to work. Looks like I'll >have to modify Pnews or Pnews.header to add the From: field for me. This >causes inews to insert an Originally-From field with my bogus computer >info but I guess I can live with that. You may want to discuss this with the administrator of your news server. Generally speaking, you don't want the newsreader (or even necessarily inews) to generate From: lines. Earlier versions of trn did, but the author specifically took that out because, newsreaders are often wrong about what they generate. It's often best left to the server. In your particular case, since you don't have the same domain as your server, it would be best for inews to do it. Generally speaking, inews *does* have a way to set it, the person who built your inews binary would know. Perhaps it needs to be reconfigured. -- Chris Lewis: _Una confibula non sat est_ Phone: Canada 613 832-0541 Latest psroff: FTP://ftp.uunet.ca/distrib/chris_lewis/psroff3.0pl17/* Latest hp2pbm: FTP://ftp.uunet.ca/distrib/chris_lewis/hp2pbm/*
Technical Details
Message-ID:
<D14G04.865@ferret.ocunix.on.ca>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!hookup!nic.ott.hookup.net!ecicrl!clewisReferences:
<3d00vc$amq@akbar.1000klub.com> <3d0ft9$acu@sdp.kigam.re.kr> <3d2ppj$2o5@akbar.1000klub.com>Show Full Headers
Complete Article Headers
Message-ID: <D14G04.865@ferret.ocunix.on.ca> Subject: Re: Where do trn,Pnews,etc. get "From:" line info? Date: Tue, 20 Dec 1994 18:14:27 GMT From: clewis@ferret.ocunix.on.ca (Chris Lewis) References: <3d00vc$amq@akbar.1000klub.com> <3d0ft9$acu@sdp.kigam.re.kr> <3d2ppj$2o5@akbar.1000klub.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!hookup!nic.ott.hookup.net!ecicrl!clewis Newsgroups: news.software.readers Organization: eh? Keywords: trn, Pnews, sendmail, From Lines: 47