Article View: news.software.readers
Article #11404sending e-mail from newsreader?? (2nd. try - pls. help)
From: Ramon F Herrera
Date: Fri, 23 Sep 1994 03:05
Date: Fri, 23 Sep 1994 03:05
39 lines
2154 bytes
2154 bytes
I am working on enabling the following capability when posting articles, from different newsreaders and newsposters, to the Usenet What I need is to be able to have a line like this: Cc: which will cause the article to be mailed to the address typed on that line, in addition to being posted. The problems I am confronting are these: (1) If I use 'tin', I have to add the "Cc:" header by hand. This header appears in the resulting posting, but unfortunately it is not honored; that is, there is no call to 'sendmail'. Is there any way to have 'tin' mail the posting? (2) When I use 'trn' or 'Pnews' I do get a Cc: header automatically, and the call to 'sendmail' is executed, but the problem is that in the received message, the headers appear like this: Apparently-To: whatever@inst.com (I would like the header to be "To: <address>") My guess is that either I need some kind of permission (like suid) before 'sendmail' is called, or it could be that I need to modify the 'Pnews' script (which BTW, is exec'd somehow by 'trn') in order to have the appropriate option (-t perhaps?) passed to 'sendmail'. I am not too familiar with 'sh' scripts, and therefore and can't see clearly what 'Pnews' is doing. Thanks for any insight you can provide in these matters. -Ramon Herrera
Technical Details
Message-ID:
<35tgmm$q3@lastactionhero.rs.itd.umich.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mail.headers.mbox.zip!bga.com!news.sprintlink.net!howland.reston.ans.net!gatech!newsxfer.itd.umich.edu!news.itd.umich.edu!ramonShow Full Headers
Complete Article Headers
Message-ID: <35tgmm$q3@lastactionhero.rs.itd.umich.edu> Subject: sending e-mail from newsreader?? (2nd. try - pls. help) Date: Fri, 23 Sep 1994 03:05:58 +0000 From: ramon@gucho.physics.lsa.umich.edu (Ramon F Herrera) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mail.headers.mbox.zip!bga.com!news.sprintlink.net!howland.reston.ans.net!gatech!newsxfer.itd.umich.edu!news.itd.umich.edu!ramon Newsgroups: news.software.nntp,news.software.readers,news.software.b,comp.mail.sendmail,comp.mail.headers,comp.mail.misc Organization: University of Michigan Lines: 38 Distribution: inet NNTP-Posting-Host: gucho.physics.lsa.umich.edu Summary: Anybody familiar with 'Pnews' internals? X-Newsreader: TIN [version 1.2 PL2]