home *** CD-ROM | disk | FTP | other *** search
- -:ts=8------------------------------------------------------------------------
- $Id: INSTALL,v 1.2 91/05/22 22:13:21 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:
- REAL_ZONE, REAL_REGION, REAL_NET, REAL_NODE, REAL_POINT
- Your _real_ FIDO address
- MY_ZONE, MY_REGION, MY_NET, MY_NODE, MY_POINT
- Your fakenet FIDO address, if any. This is used for point
- systems, e.g. 2:242/6.1's fakenet address is 2:6000/1.
- Same as REAL_* for FIDO nodes.
- MY_NAME
- FIDO system name. (max 19 chars)
- o Other systems:
- REM_ZONE, REM_REGION, REM_NET, REM_NODE, REM_POINT
- FIDO address of your uplink (node system) or boss node
- (point system).
- ECHOFEED_NET, ECHOFEED_NODE
- FIDO address of feed for EchoMail, e.g. uplink or boss node.
-
- UNIX addresses
- o Your system:
- MY_HOSTNAME
- Internet address, hostname part.
- MY_DOMAIN
- Internet address, domain part. Use ".uucp" if you don't have
- a domain address.
- o Other systems:
- UUCPFEED
- Hostname of system to send mail to.
- UUCPFEED_DOMAIN
- Domain Adress of UUCPFEED. (Both definitions are used by the
- rmail replacement)
- o FIDO domain:
- FIDODOMAIN
- Standard domain for FIDONET addresses. ".fidonet.org" is
- the standard, so better leave this alone.
-
- Configuration:
- LOCAL_REPLY_TO
- Uncomment this define if you want additional Reply-To headers
- in your messages. This enables direct reply to someone on
- FIDONET via your gateway. Sample header:
- Reply-To: martin_junius%f6.n242.z2@hippo.dfv.rwth-aachen.de
- The addressing via `%' makes it easy to route mail via UUCP
- realted programs.
- ERRORS_TO
- Uncomment this define if you want bounced mail send to
- root or postmaster or someone else.
-
- 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)
- All spool and lib directories must be located under the
- corresponding top-level directory (e.g. /u/spool/fidonet
- and /u/lib/fidonet).
-
- Mail/News programs:
- RFMAIL
- Full path name of FIDOGATE's rfmail program, normally
- "LIBDIR/rfmail".
- RNEWS
- Full path name of your news receiver, e.g. "/bin/rnews"
- RMAIL
- Full path name of your mail receiver, e.g. "/bin/rmail".
- This may be the installed replacement.
- RECVMAIL
- Real unix mail receiver, if you've installed the rmail
- replacement, e.g. "/bin/ormail". XENIX uses
- "/usr/lib/mail/execmail", this is also automatically
- recognized in rmail.c
- RETURN_FAILED_MAIL
- Define this 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, they aren't used
- at all, so leave them alone!
-
-
-
- 2. Edit `Makefile'
-
- Directories:
- NEWSBINDIR
- Directory of inews related programs (Cnews' anne.jones etc.).
- Used for installation of msgidseq.
- LIBDIR
- Lib directory for FIDOGATE software, same as define in
- config.h.
- SPOOLDIR
- Spool directory for FIDOGATE software, same as define in
- config.h.
- RMAILDIR
- Directory where rmail is located. (/bin or /usr/bin)
-
- Owner/Group:
- OWNER
- GROUP
- Owner and group name for user/group id of the installed
- FIDOGATE software. rfmail is installed setuid OWNER.
-
- Compiler:
- CC
- CFLAGS
- LDFLAGS
- LIBS
- As usual, your C compiler (e.g. cc or gcc), C compile
- options, link option and additional libraries (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\>`" -
-
-
-
- 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 via a MSDOS implementation
- of UUCP.
-
-
-
- $Date: 91/05/22 22:13:21 $, 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
-