Thread View: news.software.readers
1 messages
1 total messages
Started by Ramon F Herrera
Wed, 21 Sep 1994 00:18
How can I post and simultaneously mail a message?
Author: Ramon F Herrera
Date: Wed, 21 Sep 1994 00:18
Date: Wed, 21 Sep 1994 00:18
40 lines
2074 bytes
2074 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads