🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #11686

Re: Automatic mailing with tin

#11686
From: Bruce Momjian
Date: Mon, 03 Oct 1994 14:06
44 lines
2146 bytes
Sandeep Mirchandani (deep@elaine14.Stanford.EDU) wrote:
: I am using 

: 	tin -M userid -f small.newsrc -c -q -n -v

: to monitor some groups.  Every time this program runs, it mails me a report
: of number of articles mailed.

: Q: How do I disable this NEWS LOG posting?  (Small alterations to save.c ?)

Here is my patch to save.c to disable the NEWS LOG message.  It disable
it only for mailing news, not saving it.


*** save.c.orig	Fri Sep 16 01:22:41 1994
--- save.c	Fri Sep 16 01:22:45 1994
***************
*** 266,274 ****
  					(check_start_save == MAIL_ANY_NEWS ? mail_news_user : userid),
  					logfile);
  #endif	/* M_AMIGA */
! 				if (! invoke_cmd (buf)) {
! 					error_message (txt_command_failed_s, buf);
! 				}
  			}
  			break;
  	}
--- 266,275 ----
  					(check_start_save == MAIL_ANY_NEWS ? mail_news_user : userid),
  					logfile);
  #endif	/* M_AMIGA */
! 				if (check_start_save != MAIL_ANY_NEWS)
! 					if (! invoke_cmd (buf)) {
! 						error_message (txt_command_failed_s, buf);
! 					}
  			}
  			break;
  	}

--
Bruce Momjian                          |  830 Blythe Avenue
root@candle.pha.pa.us                  |  Drexel Hill, Pennsylvania 19026 
  +  If your life is a hard drive,     |  (610) 353-9879(w) 
  +  Christ can be your backup.        |  (610) 853-3000(h)
Technical Details
Message-ID: <36p34a$a1k@nova.voicenet.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!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!news.duke.edu!godot.cc.duq.edu!newsfeed.pitt.edu!dsinc!netnews.upenn.edu!nova.voicenet.com!root
References: <36ai6e$eua@nntp.Stanford.EDU>

Show Full Headers
Complete Article Headers
Message-ID: <36p34a$a1k@nova.voicenet.com>
Subject: Re: Automatic mailing with tin
Date: Mon, 03 Oct 1994 14:06:02 +0000
From: root@candle.pha.pa.us (Bruce Momjian)
References: <36ai6e$eua@nntp.Stanford.EDU>
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!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!news.duke.edu!godot.cc.duq.edu!newsfeed.pitt.edu!dsinc!netnews.upenn.edu!nova.voicenet.com!root
Newsgroups: news.software.readers
Organization: a consultant's basement
Lines: 44
NNTP-Posting-Host: candle-slip.voicenet.com
X-Newsreader: TIN [version 1.2 PL2]