home *** CD-ROM | disk | FTP | other *** search
- -:ts=8------------------------------------------------------------------------
- $Id: INSTALL,v 1.1 91/01/26 15:36:52 mj Exp $
- ------------------------------------------------------------------------------
-
- F I D O G A T E
- ----
- Gateway Software UNIX <-> FIDO
-
-
- Installation Instructions
-
- ------------------------------------------------------------------------------
-
- 1. Edit `config.h'
-
- FIDONET addresses
- o Your system:
- Change the REAL_{ZONE,REGION,NET,NODE,POINT} defines to your
- real FIDONET address, e.g. 2:242/6.1.
- Chnage the MY_{ZONE,REGION,NET,NODE,POINT} defines to your
- fake address, if you're a point system, e.g. 2:6000/1. Must
- be the same as REAL_* for a FIDO node.
- Define MY_NAME as the name of your FIDO system (max. 19 chars).
- o Other systems:
- Change the REM_{ZONE,REGION,NET,NODE,POINT} defines to the
- FIDONET address, where mail packets are send to (Default for
- fpack). Put bossnode here for point systems.
- Define ECHOFEED_{NET,NODE} as the address of your FIDO
- EchoMail feed, i.e. bossnode for point systems.
-
- UNIX addresses
- o Your system:
- Define MY_HOSTNAME as the UNIX hostname of your system.
- (Same as UUCP hostname)
- Define MY_DOMAIN as the address domain of your system, e.g.
- ".uucp".
- o Other systems:
- Change UUCPFEED to the name of the UUCP system you want mail
- to be routed to. Change UUCPFEED_DOMAIN to the domain of this
- system. (Both definitions are used by the rmail replacement.)
- o FIDO domain:
- Change FIDODOMAIN to the domain you want to use for FIDO
- domain addresses. (".fidonet.org" is the standard)
-
- Directories:
- Edit the defines of spool and lib directories to meet your
- taste, e.g. replace "/u/spool/fidonet" with "/usr/spool/fido"
- or whatever you want. (SPOOL ... AREAS)
-
- Mail/News programs:
- Change RFMAIL to the full path of the FIDOGATE rfmail program,
- normally "LIBDIR/rfmail".
- Change RNEWS to the full path of the news receiver, normally
- "/usr/bin/rnews".
- Change RMAIL to the full path of the mail receiver, normally
- "/usr/bin/rmail" or "/bin/rmail". (This may be the installed
- replacement)
- If you want to install the rmail replacement, change RECVMAIL
- to the full path of the real mail receiver, normally
- "/usr/bin/ormail" (the renamed original rmail) or
- "/usr/lib/mail/execmail" for XENIX (done automatically in
- rmail.c).
- Define RETURN_FAILED_MAIL if you want rfmail to return
- undeliverable FIDO mail.
-
- System dependencies:
- Define USG if you're running a System V UNIX, or BSD if you're
- UNIX is more BSDish. (BSD not tested yet.)
- Define LOCK_LOCKF if file locking is done via the lockf() call,
- else locking() will be used.
-
- The following defines are parameters for fcall, leave them alone!
-
-
-
- 2. Edit `Makefile'
-
- Directories:
- Change NEWSBINDIR to the directory, where the inews related
- programs are found (CNews' anne.jones etc.). Used for the
- installation of msgidseq.
- Change LIBDIR to the directory, where you want to put the
- FIDOGATE executables.
- Change SPOOLDIR to the top level spool directory. (Must be
- the same as in config.h!)
- Change RMAILDIR to the directory, where rmail is to be found
- (normally "/usr/bin").
-
- Owner/Group:
- Change OWNER/GROUP to the user/group id for the FIDOGATE
- directories and files. (Normally `news')
-
- Compiler:
- Change CC to your C compiler (or comment it out).
- Change CFLAGS and LDFLAGS to the compilation/linking
- flags (e.g. `-g' for debug information).
- Change LIBS to the libraries to link with. (e.g. XENIX
- needs -lx)
-
-
-
- 3. Edit `frecv'
-
- Change the define of SPOOL and the address matching patterns to
- be sufficient for your system. SPOOL must be the same as in
- config.h and Makefile.
-
-
-
- 4. Here we go ...
-
- Main installation:
- Compile the beast by entering
- make
- If everything works, you can continue the installation. Log in
- as super user and enter
- make install.dirs
- This will create the necessary working directories for the
- FIDOGATE software. Now type
- make install
- to copy the programs to the appropiate directories.
-
- rmail installation:
- Type
- make install.rmail
- to install the replacement for rmail. This will move the
- original version of rmail to `ormail' and install the
- replacement as the systems rmail command.
-
- msgidseq installation:
- Type
- make install.msgidseq
- to install the message id number sequencer in the news
- inject directory. This program will enable the FIDOGATE
- software to use the RFC `Message-Id:' in FIDO `^AMSGID'
- kludges. You also must edit `anne.jones' (CNews) or
- similar to use msgidseq for id generation:
-
- *** /u/lib/newsbin/inject/anne.jones.ori Sat Aug 18 15:51:02 1990
- --- /u/lib/newsbin/inject/anne.jones Sat Aug 18 16:06:44 1990
- ***************
- *** 117,120 ****
- defpath="$badsites$USER" \
- deffrom="$FROM" deforg="$deforg" \
- defdate="` set $date; echo $1, $3 $2 \` echo $6 | sed 's/^..//' \` $4 $5`" \
- ! defmsgid="`set $date; echo \<$6$2$3.\` echo $4 | tr -d : \`.$$@$host\>`" -
- --- 117,124 ----
- defpath="$badsites$USER" \
- deffrom="$FROM" deforg="$deforg" \
- defdate="` set $date; echo $1, $3 $2 \` echo $6 | sed 's/^..//' \` $4 $5`" \
- ! defmsgid="`echo \<\`msgidseq\`@$host\>`" -
- ! #
- ! # defmsgid changed for FIDO gateway software
- ! # Original version:
- ! # defmsgid="`set $date; echo \<$6$2$3.\` echo $4 | tr -d : \`.$$@$host\>`" -
-
-
-
- 5. News forwarding
-
- Put something similar to
-
- # export to fidonet
- f1.n6000.z2.fidonet.org:all/fidonet::/u/lib/fidonet/rfmail -n
-
- in your news `sys' file (CNews) to forward locally created postings
- to the FIDONET receiver rfmail. The FIDONET address must be identical
- to the one generated by funpack in the `Path' header.
-
-
-
- 6. Areas/Alias
-
- Edit the file Areas for the newsgroup <-> EchoMail area conversion,
- change the entries for your favorite newsgroups/areas and distribution.
- Also edit the file Alias, which is used for conversion between
- UNIX user names and FIDO real names.
- If done, copy these files to the FIDOGATE lib directory (e.g.
- "/u/lib/fidonet".
-
-
-
- 7. Testing
-
- Copy a FIDO mail packet addressed to your system into the directory
- SPOOL/in, then execute LIBDIR/funpack as user news. You should get
- the unpacked messages in SPOOL/unpacked: M.* for mail and N.* for
- news. Execute LIBDIR/frecv to feed them to rmail or rnews.
-
- Post a message to a FIDO linked newsgroup. You should find the
- FIDO message in directory SPOOL as M.*. Execute fpack as user news
- to create a FIDO mail packet in SPOOL/out.
-
-
-
- 8. Connecting with FIDO
-
- At the current state, FIDOGATE isn't able to act as a mailer, so
- you have to transfer FIDO mail to and from the UNIX system by some
- other means.
-
- The solution I'm using is a seperate PC running DOS and BinkleyTerm
- as a mailer. Currently the PC is a real FIDO node, online 24 hours
- a day, but in former times I've used it in a dual point setup. FIDO
- mail packets for the UNIX system are packed at the PC and transferred
- via a direct serial line to and from the UNIX machine. This is done
- on a time schedule driven by BinkleyTerm.
-
-
-
- $Date: 91/01/26 15:36:52 $, Martin Junius
- --
- _____ _____
- | |___ | Martin Junius FIDO: 2:242/6.1 2:242/6.0
- | | | | | | Republikplatz 3 DOMAIN: mju@dfv.rwth-aachen.de
- |_|_|_|_____| D-5100 Aachen Tel. (Voice) 0241-86931
-