home *** CD-ROM | disk | FTP | other *** search
-
-
- newsgate(1) Amiga News & Mail mailgate(1)
-
-
- 0 Preface
-
- newsgate and mailgate are two programms designed for use with `Amiga
- UUCP Plus 1.02' or it's successors (`wCNews'; both are abbreviated
- herein as `AUUCP'). It should work with the CNews-Port done by Frank J.
- Edwards (aka `CNews', on which `Amiga UUCP Plus 1.02' and `wCNews' are
- based) and maybe even with Amiga UUCP (by Matthew Dillon, hence the
- abbreviation `DUUCP').
-
-
- 1 Software Requirements
-
- You'll need a programm called `relaynews' that takes an article on
- stdin, which injects the article into the news system. Refer to
- `relaynews.man' for further information - `relaynews' is the workhorse
- in CNews/AUUCP, for DUUCP you may want to write a frontend to `postnews'
- with this name ... Since Version 1.111 you may specify a different
- program, compare `Usage'.
-
- Furthermore, you'll need `sendmail'. As far as I can tell, the
- plain `sendmail' from DUUCP should do (I'm using a different one
- myself).
-
-
- 1.1 Configuration
-
- Due to my rfctime()-function, you should set up two environment vars:
- ENV:TZNAME and ENV:TZOFFS. Sometimes in future, this job will be handled
- by `timed' (not written yet, hopefully before next switch to DST), but
- for now, please add something like this to your `s:Startup-Sequence':
-
- setenv TZNAME MET
- setenv TZOFFS +0100
-
- TZNAME is the name of your timezone, "MET" for Germany (or
- "MES"/"MET DST", if daylight savings time is in effect), TZOFFS is the
- offset in ▒HHMM from GMT to local time. TZOFFS *HAS* to be exactly 5
- chars long! If none of these environment variables have been set,
- rfctime() reverts to the timezone you specified in uulib:Config.
-
- Technical information
-
- The TIMEZONE stuff is handled by _tzset() of SAS-C. At least here,
- the trouble starts for poeple who prefer Aztec (like me) when
- trying to compile ... If GetEnv("TZOFFS") and GetEnv("TZNAME")
- (GetEnv() is my 2.0.version of getenv() - it gives you the value
- from the local or global environment) fail, I take tzname[0]
- (computed by _tzset()), in the hope it's correct ... _TZ is set
- to the value gotten from FindConfig("TIMEZONE").
-
-
- Since `newsgate' parses and rewrites the `Date:' header in order to
-
-
- Release 06 Nov 1992 Last Change: 4 Dec 1992 3:28 Page 1
-
-
- newsgate(1) Amiga News & Mail mailgate(1)
-
-
- make it RFC 1036 conformant (several news systems are somewhat
- nitpicking on timezones), it is of importance that you set the TZ*
- environment variables correctly. Otherwise you will get wrong GMT
- offsets in `Date:' ...
-
-
- There are some new keywords you may add to your uucp configuration
- file:
-
- NewsgatePath No
- DomainPath yes
-
- o `NewsgatePath' controls wheter the `Path:' header should be `Path:
- news' (`no') or `Path: bang!path!the!mail!came' (`yes'). This can be
- overridden by a commandline switch.
-
- o `DomainPath' specifies wheter or not newsname() returns
- (concatenated) NodeName and DomainName or only the value of NodeName.
- newsname() is used by newsgate to build the path: sprintf(path,
- "Path: %s!%s", newsname(), remainder);
-
-
- 2 Usage
-
-
- Pipe incoming mail into `newsgate', e. g. via aliases:
-
- uulib:Aliases
- ---------------------------------------8<---------------------------------------
- news.test: "|newsgate news.test -path -relayflags -r"
- --------------------------------------->8---------------------------------------
-
- Every mail sent to the alias `news.group' at your node will be posted in
- the newsgroup `news.test' ...
-
- Usage: newsgate <data [news.group|-pure] [▒path] [▒pbhack] [-replace]
- [-distribution dist] [-approved address] [-relayflags
- flags] [-newspath path] [-relayprg prg]
-
- o `-pure' feeds the article into `relaynews' without any modification
- (except `news.groups', with will replace (in conjunction with
- `-replace')/be appended to the article's `Newsgroups:' header). Note
- that this implies ALL needed headers are already present.
-
- o `▒path'áoverrides the `NewsgatePath' entry in the uucp config file.
-
- o `▒pbhack' controls whether a `X-Mail-ID:' header gets transformed
- into `Message-ID:'; defaults to `off' (== `-pbhack'). This is for a
- special mailing list I gate here at hactar, I assume it's not needed
- anywhere else in the known universe =:->
-
- o `-newspath pbinfo!amiga' sets the `Path:' to `pbinfo!amiga'. This
-
-
- Page 2 Last Change: 4 Dec 1992 3:28 Release 06 Nov 1992
-
-
- newsgate(1) Amiga News & Mail mailgate(1)
-
-
- overrides everything, regardless of your setting of `▒path' or
- `-pure' - the `Path:' header will *always* have the value you
- specified after `-newspath'.
-
- o `-distribution x' and `-approved x' add or replace (if already
- present in the mail) the respective header.
-
- o `-relayflags flags' replaces the default of "-r -s" with `flags'.
- Note that you - as always - have to quote the flags argument if it
- contains white space.
-
- o `-relayprg prg' replaces the default of "relaynews" with `prg'. Note
- that `prg' is expected to accept the article on its stdin.
-
- o `-no-x-to' suppresses the creation of `X-To:', `X-Cc:' and `X-Bcc:'
- headers.
-
-
- Run `mailgate' for every article posted to a news group, for example via
- CNews' sys-file:
-
- uulib:news/sys
- --------------------------------------->8---------------------------------------
- # Other gated things ...
- #
- amiga-lisp/contessa:amiga.lisp/all,!amiga,!local::run mailgate <%s -t "amigalisp@Pa.dec.com" -f news
- amiga-slip/ccs.carleton.ca:amiga.slip/all,!amiga,!local::run mailgate <%s -t "amiga-slip@ccs.carleton.ca" -f news
- amiga-dice/castrov.cuc.ab.ca:amiga.c.dice/all,!amiga,!local::run mailgate <%s -t "dice@castrov.cuc.ab.ca" -f news
- amiga-linux/joker.cs.hut.fi:amiga.linux/all,!amiga,!local::run mailgate <%s -t "linux-activists0ksula.hut.fi" -f news -h "X-Mn-Key: 680X0"
- test-mlist/castrov.cuc.ab.ca:test.mlist/all,!amiga,!local::run mailgate <%s -t "test.mlist@castrov.cuc.ab.ca" -f news
- hactar-in/fub:hactar.in/all,!local::run mailgate <%s -t "in@fub.uucp" -f news
- ---------------------------------------8<---------------------------------------
-
- Usage: mailgate <article -t receipient [-f from] [-XMailID] [-h "header:
- value"]
-
- o `-t receipient' specifies the receipient to received the article.
- YOU MAY ONLY USE ENVELOPE-STYLE ADDRESSES HERE (i. e.
- `wusel@hactar.hanse.de', NOT `wusel@hactar.hanse.de (Kai 'wusel'
- Siering)')!
-
- o `-f from' specifies the account to be put in the From_ line. Default
- is `news'. USE LOCAL ADDRESSES ONLY (i. e. NO `news@uunet' or
- something like that)!
-
- o `-XMailID' enables the PB-hack, duplicating the `Message-Id:' in
- `X-Mail-ID:'.
-
- o `-h "Comment: none =:->"' would add a header line `Comment: none
- =:->' to the mailheader. I need this for the linux-activists mailing
- list, channel `680X0': `-h "X-Mn-Key: 680X0"'. Don't know if anybody
- else would need this =:->
-
-
- Release 06 Nov 1992 Last Change: 4 Dec 1992 3:28 Page 3
-
-
- newsgate(1) Amiga News & Mail mailgate(1)
-
-
-
-
- 3 Problems/Bugreports/Suggestions
-
- In case of problems or if you find a bug, feel free to write to
- <bugs@hactar.hanse.de>. Same address applies for suggestions for future
- (final?) releases =:->
-
- Have fun!
-
- Snail:
- -------------------------
- Kai 'wusel' Siering
- Heidlohstrasze 3a
- D-2000 Hamburg 61
- West Germany
- -------------------------
- Phone: +49 40 550 35 49
- (Carrier (V.32bis/V.42bis/HST) from 22:00-12:00 MET)
- (Don't worry if you get "NO CARRIER" - maybe
- the system went down for a trip to India =:->)
- -------------------------
- EMail: Kai 'wusel' Siering <wusel@hactar.hanse.de>
- -------------------------
- Anything related to this version of newsgate
- should be send to <bugs@hactar.hanse.de>.
-
- (c) 1991-92 by Kai 'wusel' Siering
- all rights reserved but no liability assumed ...
-
-
- 5 DISCLAIMER
-
- #include <stddisclaimer.h>
-
- USE IT AT YOUR OWN RISK -
- and backup your disks! =:->
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 4 Last Change: 4 Dec 1992 3:28 Release 06 Nov 1992
-
-
- newsgate(1) Amiga News & Mail mailgate(1)
-
-
- Table of Contents
-
-
- 0 Preface .................................................... 1
-
- 1 Software Requirements ....................................... 1
-
- 1.1 Configuration ......................................... 1
-
- 2 Usage ...................................................... 2
-
- 3 Problems/Bugreports/Suggestions ............................ 4
-
- 5 DISCLAIMER ................................................. 4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Release 06 Nov 1992 Last Change: 4 Dec 1992 3:28 Page 5
-