[news.software.b] yet again somebody is duplicating everything

chip@vector.Dallas.TX.US (Chip Rosenthal) (05/20/89)

This time, it's unix.sri.com which is bouncing all sorts of messages back
with munged message ID's.  Gawd, I hate when this happens.  A while ago
I hacked "expire" to look at "Sender" as well as "From" when you use the
"-f" option.  So, I just did a:

	expire -f root@unix.SRI.COM

to blow all the garbage away.  Here is the hack:


Index: expire.c
*** expire.c.old	Fri Mar 24 00:17:07 1989
--- expire.c	Fri Apr 21 12:02:04 1989
***************
*** 696,700
  		    (ignorexp == 1 && newtime < exptime))
  			exptime = newtime;
! 		if (frflag ? strcmp(baduser,h.from)==0 : today >= exptime) {
  nailit:
  #ifdef DEBUG

--- 726,732 -----
  		    (ignorexp == 1 && newtime < exptime))
  			exptime = newtime;
! 		if ( frflag ?
! 		  ( strcmp(baduser,h.from)==0 || strcmp(baduser,h.sender)==0 ) :
! 		  today >= exptime ) {
  nailit:
  #ifdef DEBUG

-- 
Chip Rosenthal / chip@vector.Dallas.TX.US / Dallas Semiconductor / 214-450-5337