🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #5379

Posting existing files

#5379
From: Martin Schulze
Date: Sat, 29 Jan 1994 15:14
82 lines
3611 bytes
}Path: finlandia!uniol!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!vixen.cso.uiuc.edu!ux1.cso.uiuc.edu!dwarnick
}From: dwarnick@ux1.cso.uiuc.edu (D B Warnick)
}Newsgroups: news.software.nn
}Subject: Posting existing files
}Date: 25 Jan 1994 09:48:11 GMT
}Organization: University of Illinois at Urbana
}Lines: 11
}Message-ID: <2i2psr$dj8@vixen.cso.uiuc.edu>
}NNTP-Posting-Host: ux1.cso.uiuc.edu
}Summary: Posting
}Keywords: Files

}  Is there a way to post files already in existance?  I'm sure there
}must be, but I cannot figure out what it is.  Advice?

What do you want?

Fetch the original article, change the Message-ID, to provide
recognizing as dupe and store it in the incoming dir.

That's the way i get my news at the moment, because I have to read a
lot before I can fetch them automatically.

Or Do you just want to post files? Then there are two ways I know. NN
creates the file ~/.nn/.param everytime you post anything and then
starts ~nn/aux. Look at my last .param-file. I think it's easy to read
and to manipulate so that you can send files:

FIRST_ACTION='edit'
RECORD=''
WORK='/tmp/nn.a20775'
ED_LINE=6
NOVICE=true
EMPTY_CHECK=true
APPEND_SIG=true
QUERY_SIG=false
EDITOR=''emacs''
SPELL_CHECKER=''
ALIAS_EXPANDER=''
PAGER='less'
MAILER='/usr/lib/sendmail -t'
MAILER_PIPE=true
WAIT_PERIOD=0
DFLT_ANSW='send'
POST='/usr/local/lib/news/inews -h'
POST_PIPE=true
MMDF_SEP=''
G='news.software.nn'
export G
A='/var/spool/news/news/software/nn/7'
export A
POSTER_ADR='rrdjro@minyos.xx.rmit.EDU.AU'

Another way is to generate a correct newsheader, put it in front of
the file (via cat) and pipe it into /bin/inews or ~news/inews. For
that, look how I generate posting until I get on the net:

File=[your file to post]
(echo "Path: finlandia!joey"
 echo "From: joey@Jaspis.Informatik.Uni-Oldenburg.DE (Martin Schulze)"
 echo "X-From: joey@finlandia.enterprise.north.de (Martin Schulze)"
 echo "Subject: `grep Subject: $1 |cut -c10-`"
 echo `date +"Date: %a, %d %b %Y %H:%M:%S GMT"`
 echo "Organization: Joey Consulting"
 echo "Newsgroups: `grep Newsgroups: $1 |cut -c13-`"
 echo "Message-ID: <`date +%H%M%S.%d%m%y`@finlandia.enterprise.north.de>"
 echo "References: `grep -i Message-ID: $1|cut -c13-`"
 echo
 cat $File) |/bin/inews

Fill in your data.

Tell me what you meant in your original posting.

Joey

            .     .      .   . . . ...     Martin Schulze
                               ____    :     Department of Computer Science
  __nn__ _______ ________ ____  :_:____U       University of Oldenburg
  :____:-:_____:-:______:-:___|-:_______)        Inhouse: Joey
__oo__oo_oo___oo_oo____oo_oo_oo_ooOOOOoo|\_________________________________
Martin.Schulze@Informatik.Uni-Oldenburg.DE    /   Martin.Schulze@UniOl.zer
Technical Details
Message-ID: <1994Jan29.222610.9578@arbi.Informatik.Uni-Oldenburg.DE>
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!newsserver.jvnc.net!howland.reston.ans.net!cs.utexas.edu!uunet!zib-berlin.de!uniol!Martin.Schulze
References: <2i2psr$dj8@vixen.cso.uiuc.edu>

Show Full Headers
Complete Article Headers
Message-ID: <1994Jan29.222610.9578@arbi.Informatik.Uni-Oldenburg.DE>
Subject: Posting existing files
Date: Sat, 29 Jan 1994 15:14:33 GMT
From: Martin.Schulze@arbi.informatik.uni-oldenburg.de (Martin Schulze)
References: <2i2psr$dj8@vixen.cso.uiuc.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!newsserver.jvnc.net!howland.reston.ans.net!cs.utexas.edu!uunet!zib-berlin.de!uniol!Martin.Schulze
Newsgroups: news.software.nn
Organization: Joey Consulting
X-From: joey@finlandia.enterprise.north.de (Martin Schulze)
Sender: news@arbi.Informatik.Uni-Oldenburg.DE
Lines: 82