home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
back2roots/padua
/
padua.7z
/
padua
/
uucp
/
KiwiElm.lha
/
README
Wrap
Text File
|
1993-07-26
|
7KB
|
182 lines
ELM for the Amiga
=================
This is a direct port of unix Elm, and is intended for use as a mailer
for InterNet connected BBS's. Although you can use this implementation
of Elm on a single user system, Amiga Elm may be a better option for that
situation.
Since there already exists a version of Elm for the Amiga, this port
shall be known as the 'Kiwi'[see note 1] port in order to prevent
confusion.
Or aims in doing this port were:
1. Ability to run Elm over a serial link.
2. Removal of security loopholes.
3. Generic BBS mailer functionality.
4. Compatibility with Unix Elm.
As a consequence of these aims some functions have been removed from Elm,
primarily those which allowed shell access etc. We have also compiled without
MIME support, since we didn't feel it would be useful on a BBS.
Since we run Elm on a DLG BBS, some of the scripts in this distributon
reflect that. There should be no problems setting up Elm on other BBS's
as Elm itself contains nothing which is BBS-specific.
Archive Contents
================
README This file.
c/foreach Used by mail_daemon and bouncemail
c/gawk Gnu Awk, used by bounce
c/move Move file, used by elm.batch and mail_daemon
c/exec Allows execution of resident program or batch from DLG
c/head Simple text-only head, used by bounce
c/linefix Format output of Dlgedit for elm, used by elm.edit
c/localset Same as Amigados SET, but can be run from DLG menuscript
docs/Alias.man Elm alias manunal
docs/Beginners.help Read this first for new users
docs/Form.man Elm form mode manual
docs/Ref.man Elm reference manual
docs/Users.man Elm users manual
elm/elm The Elm executable
elm/elm.batch Sets up the environment for Elm.
elm/elm.edit Script to run an editor from within Elm
elm/elm.sigset Convert DLG signature to unix style .sig
elm/elm.toggle Switch .mailer between DLG and ELM
s/bounce Bounce all mail in bounce:
s/bouncemail Bounce one mail
s/get_sender.awk Extract sender from mail, used by bounce
s/mail_daemon Sort out mail for DLG, Elm, and bouncing
uulib/elm/elm-help.0 Online help files
uulib/elm/elm-help.1
uulib/elm/elm-help.2
uulib/elm/elm-help.3
uulib/elm/elm.rc Default system configuration file
Installation
============
Assign elm: to your elm directory, and install the support files in the
appropriate directories. For security reasons the scripts reference
executables using explicit paths. You will have to change these if you
put the files somewhere else.
Edit elm:elm.batch and change NODENAME and DOMAIN to reflect your site.
Change ELM_TZ to suit your timezone [you must have a timezone!!].
Edit elm.edit to suit the editor you wish to use.
If you wish to use the bouncemail script you will have to write a script
similar to mail_daemon which moves mail to be bounced into bounce:
Elm expects your incoming mail to be put in uumail:
Care should be exercised when modifying the uulib:elm/elm.rc file. This is
used as a template for all user elmrc files, and some of the security
depends on settings in this file [e.g. it is possible by modifying this file
to allow users to select their own mail directories etc]. Since the Amiga
does not have the security features of unix, an incorrectly configured
elm.rc file could provide a big security loophole. Similarly you should
not allow users to edit their own elmrc files.
DLG Installation
================
How you call Elm will depend on your setup. I call elm.batch from an Arexx
script as I need to do some conditional stuff before running Elm. If
you want to run elm.batch directly from a DLG menu the easiest option would
be to set up as an executable which runs exec which runs elm.batch,
passing the appropriate parameters. For example:
c:exec elm:elm.batch %uname %alias %sclength %scwidth
Another option would be to use a menu script which calls a batch file for
everything between 'elm.sigset' and 'elm' and uses exec as above to run elm.
You would also need to use exec or a batch file to do the 'resident elm
remove' as you can't execute an internal command from a menu script.
For example:
EXE localset NODENAME foobar
EXE localset DOMAIN .blarg.wibble
EXE localset REALNAME "{real}"
EXE localset USERNAME {name}
EXE localset HOME user:{name}
EXE localset LINES {lines}
EXE localset COLUMNS {cols}
EXE localset EDITOR elm:elm.edit
EXE localset ELM_TZ NZST12
EXE elm:elm.sigset
BATCH elm:elm.setup
EXE exec -s 20000 elm:elm %uname %alias %sclength %scwidth
EXE exec resident elm remove >nil:
EXE exec echo "*E[0;0H*E[J" ; clear screen
Where elm:elm.setup contains the portion of elm.batch between 'elm.sigset'
and 'elm'.
If you're running a single line system you may want to remove the resident
stuff.
You will have to decide if you wish to run Elm exclusively, or if you will
let users use DLG for uucp mail as well. The scripts supplied are set up
a system using both mailers. If you use Elm exclusively things will be
simpler.
Using DLG and Elm mailers
=========================
In order to support both the DLG and Elm mailers, you will need to create
a .mailer file in each users home directory, which simply contains:
DLG
Provide a menu option which calls elm.toggle - the mail_daemon script
provided will handle mail appropriately depending on how the user has
their .mailer set. Mail addressed to users who do not have .mailer
files will be bounced, so you can use the existence of this file to
determine who can receive uucp mail. Remember to create this file
for new users!
Create two new assignments, bounce: and xxmail: - these should both be
in separate directories. Use a hex editor to patch dlg:uucp2dlg so that
each instance of uumail: is changed to xxmail:
Set up mail_daemon to be run periodically by cron.
Problems?
=========
If your screen display shows ridiculous numbers instead of a valid date,
make sure you are setting the ELM_TZ variable to something sensible.
e.g. NZST12
^^ Hours ahead of GMT
^^^^ Timezone [3 or 4 characters]
If all your posts are coming from <name>@foobar.blarg.wibble, change the
NODENAME and DOMAIN settings from the defaults.
If you don't have a domain address, get one!
We have been using Elm on our BBS for several weeks without problems,
nevertheless it is possible that you may find some bugs.
Please report all bugs and problems to:
Geoff McCaughan <geoff@equinox.gen.nz>
Mark Tomlinson <mark@garden.equinox.gen.nz>
Notes
=====
1. For the benefit of the terminally confused, we observe here that the
Kiwi is the national bird of New Zealand. Referring to a Kiwi as a fruit
while using this program will result in all your disks being erased.