🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #5629

Re: follow/post fail.... but it went thru

#5629
From: Casper Maarbjerg
Date: Sun, 27 Mar 1994 18:56
135 lines
3908 bytes
In <Mar.16.16.04.12.1994.15450@er2.rutgers.edu>,
    luchihli@er2.rutgers.edu (Chili) writes:

>Hi.  can anyone tell me why the nn is sending me mail regarding my posts
>are not made when after I check back in the news... my posts are there.

I had a problem like this, that originated from the $lib/aux file:
(I hope, I'm not too much out of line here, I don't get here often,
but didn't see any other answers, - and I did check the FAQ)

Part of the problem is caused by missing quotes when echo'ing
multiple words, and I made a change to the date also - or Elm wouldn't
read the record's. But the solution is actually to strip empty lines
from the redirected stderr output, (last sed command) - because a
nonzero size is taken as an indication of error.
(ignore lines starting with +  -- they're added by make)


*** aux.sh	Mon Oct  7 14:34:47 1991
--- /usr/local/lib/nn/aux	Wed Jan 12 01:12:57 1994
***************
*** 1,6 ****
  
! # PREFIX is inserted above this line during Make
  
  trap : 2 3
  
  PATH=/bin:$PATH
--- 1,25 ----
+ #!/bin/sh
  
! # Generated by nn release 6.4.18
  
+ Version="6.4.18"
+ INEWS="/usr/lib/news/inews"
+ INEWS_DIR="/usr/lib/news"
+ AWK="awk"
+ NNTP=false
+ ACTIVE=/usr/lib/news/active
+ LOG=/usr/local/lib/nn/Log
+ TMP=${TMPDIR-/usr/tmp}
+ DB=/usr/spool/news/.nn
+ BIN=/usr/local/bin
+ LIB=/usr/local/lib/nn
+ AUTH=false
+ 
+ # ---- end of prefix
+ 
+ 
+ # PREFIX is inserted above this line during Make
+ 
  trap : 2 3
  
  PATH=/bin:$PATH
***************
*** 277,283 ****
      fi
      case $x in
        0) echo Done ;;
!       *) echo $MAILER failed ;;
      esac
      CC=""
    fi
--- 296,302 ----
      fi
      case $x in
        0) echo Done ;;
!       *) echo "$MAILER failed" ;;
      esac
      CC=""
    fi
***************
*** 328,336 ****
        echo "$MMDF_SEP"
      fi
      if [ $3 -gt 9 ] ; then
!       echo From ${LOGNAME} $1 $2 $3 $4 $6 $7
      else
!       echo From ${LOGNAME} $1 $2 " $3" $4 $6 $7
      fi
      echo "From: ${LOGNAME}"
      cat $FINAL
--- 347,355 ----
        echo "$MMDF_SEP"
      fi
      if [ $3 -gt 9 ] ; then
!       echo "From ${LOGNAME} $1 $2 $3 $4 $5 $6"
      else
!       echo "From ${LOGNAME} $1 $2 $3 $4 $5 $6"
      fi
      echo "From: ${LOGNAME}"
      cat $FINAL
***************
*** 353,359 ****
        fi
        case $x in
  	0) ;;
! 	*) echo $MAILER failed ;;
        esac
        ;;
  
--- 372,378 ----
        fi
        case $x in
  	0) ;;
! 	*) echo "$MAILER failed" ;;
        esac
        ;;
  
***************
*** 368,376 ****
  	fi
  	case $x in
  	  0) sleep 60 ;;
! 	  *) echo $INEWS failed ;;
  	esac
!       } | sed \
  		-e "/spooled for later processing/d" \
  		-e "/problem has been taken care of/d" \
  		-e "/mailing your article to/d" \
--- 387,395 ----
  	fi
  	case $x in
  	  0) sleep 60 ;;
! 	  *) echo "$INEWS failed" ;;
  	esac
!       } | sed  -e "/^$/d" \
  		-e "/spooled for later processing/d" \
  		-e "/problem has been taken care of/d" \
  		-e "/mailing your article to/d" \


--
Casper Maarbjerg / Danmarks Radio TV / casper@dr.dk  Voice: +45 35 20 27 79
 
Technical Details
Message-ID: <94032723468@dkate.dr.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!xlink.net!sol.ctr.columbia.edu!howland.reston.ans.net!EU.net!dkuug!dkuug!dkate.dr.dk!casper
References: <Mar.16.16.04.12.1994.15450@er2.rutgers.edu>

Show Full Headers
Complete Article Headers
Message-ID: <94032723468@dkate.dr.dk>
Subject: Re: follow/post fail.... but it went thru
Date: Sun, 27 Mar 1994 18:56:02 +0000
From: casper@dkate.dr.dk (Casper Maarbjerg)
References: <Mar.16.16.04.12.1994.15450@er2.rutgers.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.nn.mbox.zip!gmd.de!xlink.net!sol.ctr.columbia.edu!howland.reston.ans.net!EU.net!dkuug!dkuug!dkate.dr.dk!casper
Reply-To: casper@dr.dk
Newsgroups: news.software.nn
Distribution: world
Organization: Danmarks Radio (TV)
Lines: 132