home *** CD-ROM | disk | FTP | other *** search
- X.README
-
- This file describes how to use the enclosed smail 2.5 patches for SCO Xenix
- System V. (They may work with non-SCO Xenix.)
-
- To use these patches, you need either (1) Larry Wall's "patch" program, or
- (2) lots of patience while you apply these changes by hand.
-
-
- For users of my earlier smail patches:
-
- I posted some early smail patches in comp.unix.xenix and
- alt.sources in December '87. If you are using those patches, you
- should get rid of them and USE THESE PATCHES INSTEAD.
-
- Why?
-
- 1. Cleaner mods (only important things have been changed).
- 2. Better comments.
- 3. Explicit support for Micnet/Xenix-Net.
- 4. Support for /etc/systemid file (no need to relink your
- kernel to change your machine name).
-
-
- Installation:
-
- 1. Find your original, untouched smail 2.5 sources. Copy these
- to a new directory. (We'll call it "/usr/src/xsmail".)
- If you don't have your original sources, some (or many!)
- patches may fail, possibly introducing problems.
-
- 2. Unpack this sharchive and move the files in this sharchive into
- /usr/src/xsmail. This will overwrite the distributed Makefile,
- so you may want to rename the original Makefile first.
-
- 3. Change to /usr/src/xsmail and run "patch <X.patches". This
- does the hard work of changing source files.
-
- This step will leave ".orig" files lying around. You may
- remove these at any time, but I'd leave them until installation
- is complete just to be on the safe side. If any patches fail
- -- which should only occur if you're starting with modfied
- sources -- the failed patches will be written to ".rej" files.
-
- 4. Examine defs.h and modify it as necessary for your machine(s).
- Specifically, if you're running Micnet or Xenix-Net, you'll
- probably want to uncomment "#define MICNET". (Or you can
- include "-DMICNET" in the CFLAGS in the Makefile.)
-
- 5. Run "make" to make smail and execm, or if you prefer, run
- "make all".
-
- 6. >As root<, run "./install_smail".
-
-
- The above steps should result in:
-
- /usr/bin/rmail moved to /usr/bin/rmail.x and never used again.
-
- Smail installed as /usr/bin/smail with a link to /usr/bin/rmail.
-
- /usr/lib/mail/execmail moved to /usr/lib/mail/execmail.x. Smail
- then uses execmail.x for delivering local mail. (If you compile
- smail with MICNET defined, then execmail.x is used for delivering
- _all_ mail, not just local mail.)
-
- The program execm.c installed as /usr/lib/mail/execmail. This
- "fake" execmail just parses its arguments and overlays itself with
- smail, which does all the work. (The /bin/mail program uses
- execmail, so we can't ignore it. I would have just linked
- /usr/bin/smail to /usr/lib/mail/execmail, but their arguments are
- different.)
-
-
- Notes on aliasing:
-
- The normal Xenix aliasing mechanism is still intact. (You know,
- /usr/lib/aliases, maliases, and faliases.) In addition, smail
- aliases using the file /usr/lib/mail/saliases. This file has a
- format which is almost, but not quite, entirely unlike the Xenix
- aliases file. See the smail "aliases.c" for some hints. The main
- difference is that you can include a name in parentheses after the
- alias:
-
- postmaster: chip (mail administrator)
- rick: rick@uunet.uu.net (Rick Adams)
-
- The nice thing about having two alias files is that smail's aliases
- can be internet-style addresses ("user@domain"), and execmail's
- aliases can be pipes ("|/usr/lib/news/uurec"). If you use Micnet,
- the network utilities will stomp on the Xenix aliases file but
- leave the saliases file untouched.
-
-
- Notes on the use of /bin/mail:
-
- If you want to use Internet-style addresses with /bin/mail, you
- have to add the line "set execmail" to /usr/lib/mail/mailrc.
- Otherwise, /bin/mail assumes that addresses without bangs must be
- valid local users. Of course, you can use the bang notation with
- domains and /bin/mail will always be happy.
-
- If you do any significant amount of mail work, forget /bin/mail and
- use Elm. It's the best thing since System V. :-)
-
-
- One final comment:
-
- I'd like to have some idea of how widely used these patches are.
- So when you get it working -- or if you can't! -- drop me a line
- and tell me about it. (My address is ateng!chip. If you can't find
- a valid path, try going through codas or uunet.)
-
-
- Obligatory quote:
-
- "INVESTIGATE your point of view, don't just dogmatize it!
- Reflect on it and re-evaluate it. You may want to change
- your mind someday."
- -- Tim Reingold, from alt.flame
-
- Signature:
-
- Chip Salzenberg <chip@ateng.UUCP>
- A T Engineering, Tampa, FL
- 06 January 1988
-