Article View: news.software.nntp
Article #2926How can I post and simultaneously mail a message?
From: Ramon F Herrera
Date: Wed, 21 Sep 1994 00:18
Date: Wed, 21 Sep 1994 00:18
40 lines
2173 bytes
2173 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 appears 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:
<35nu4i$npk@agate.berkeley.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mail.sendmail.mbox.zip!bga.com!news.sprintlink.net!howland.reston.ans.net!spool.mu.edu!agate!canaima.Berkeley.EDU!herreraShow Full Headers
Complete Article Headers
Message-ID: <35nu4i$npk@agate.berkeley.edu> Subject: How can I post and simultaneously mail a message? Date: Wed, 21 Sep 1994 00:18:26 +0000 From: herrera@BerkeleY.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.sendmail.mbox.zip!bga.com!news.sprintlink.net!howland.reston.ans.net!spool.mu.edu!agate!canaima.Berkeley.EDU!herrera Newsgroups: comp.mail.sendmail,news.software.nntp,news.software.readers Organization: University of California, Berkeley Lines: 39 Distribution: inet NNTP-Posting-Host: canaima.berkeley.edu Summary: making Cc: work automatic and properly X-Newsreader: TIN [version 1.2 PL2]