🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Paul Gilmartin Tue, 08 Dec 1992 19:02
Reply with "Cc: " in tin
#2701
Author: Paul Gilmartin
Date: Tue, 08 Dec 1992 19:02
8 lines
1043 bytes
Is there any way in tin to reply privately to an article and send a
courtesy copy to a third party?  I tried adding a "Cc:" header with
vi, but it seems to be ignored when tin passes the envelope to sendmail.

I believe this is a candidate for the tin wishlist.

Thanks,
gil
Re: Reply with "Cc: " in tin
#2698
Author: Doug Sewell
Date: Tue, 08 Dec 1992 21:26
18 lines
1556 bytes
pg@sanitas.stortek.com (Paul Gilmartin) writes:
: Is there any way in tin to reply privately to an article and send a
: courtesy copy to a third party?  I tried adding a "Cc:" header with
: vi, but it seems to be ignored when tin passes the envelope to sendmail.

I put their names on the "mail to" line when I go to mail the article,
then update the headers inside the article.

However, on my system tin spits directly into raw sendmail, not mailx
or some other front-end.

Another possibility is to define the MAILER env-var to be a script, C
program, etc that does what you want.
--
Doug Sewell, Tech Support, Computer Center, Youngstown State University
doug@cc.ysu.edu	   doug@ysub.bitnet	<internet>!cc.ysu.edu!doug

cat core | uuencode bunny.dropping | mail jp@tygra.michigan.com
Re: Reply with "Cc: " in tin
#2700
Author: LaMont Jones
Date: Tue, 08 Dec 1992 21:53
42 lines
2089 bytes
Paul Gilmartin (pg@sanitas.stortek.com) wrote:
: Is there any way in tin to reply privately to an article and send a
: courtesy copy to a third party?  I tried adding a "Cc:" header with
: vi, but it seems to be ignored when tin passes the envelope to sendmail.

: I believe this is a candidate for the tin wishlist.

Actually, tin looks for both headers, and even worked through PL5.

In PL6, find_mail_header() in post.c was apparently optimized, with
the result that tin finds the first To: or Cc: line, and ignores the
rest.  The patch below corrects the problem.  (Yes, I think I mailed
this to Iain as well...)

lamont

The above is not a statment of the Hewlett-Packard company.


==============================================================
*** post.c	Tue Dec  8 13:47:29 1992
--- post.c.new	Tue Dec  8 13:47:30 1992
***************
*** 1150,1156
  				    strncmp (buf, "Cc: ", 4) == 0) {
  					my_strncpy (buf2, &buf[4], sizeof (buf2));
  					yank_to_addr (buf2, new_value);
! 					found = TRUE;
  				} 
  				break;
  

--- 1150,1157 -----
  				    strncmp (buf, "Cc: ", 4) == 0) {
  					my_strncpy (buf2, &buf[4], sizeof (buf2));
  					yank_to_addr (buf2, new_value);
! 					/* Won't find Cc: line if we do this */
! 					/* found = TRUE; */
  				} 
  				break;
  
==============================================================
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