home *** CD-ROM | disk | FTP | other *** search
- This is a merger of Ian's standalone talker and MIT's talker.
- Peter Honeyman hacked on it to make it work correctly on the Arpanet.
-
- Adapted by Johan Vromans <jv@mh.nl>, May 1988
-
- - simplified code
-
- - adapted to System V (Most notably: HP-UX)
-
- - added better host/domain name handling & setup
-
- - added time-routine (from smail)
-
- - added "config.h" for local settings, and moved common includes and
- portability code to "smtp.h"
-
- - produces a "smtpd" to be used under inetd, "sa-smtpd" (standalone) and
- "smtp" interface program.
-
- Disclaimers: it works for me. I didn't test "sa-smtpd", nor tried it under
- Berkeley Unix. However, the code originated from BSD, and I tried to keep
- system dependent things intact.
- I did not look at the "mx" program which is also included.
-
- How I use it
- ------------
- I use a mail system based on smail 2.5.
-
- My user agents can be Elm, mail or mailx, and pass the message to smail for
- aliasing and routing. Smail hands the message to either a localmail program
- (for local delivery: user mailboxes, programs or files) or a remotemail
- program (for remote delivery: uucp or smtp).
-
- In the routing database, all hosts I can connect to are considered
- "UUCP"-hosts, and delivery is passed to a shell script. In this script,
- hosts are looked-up in the file /etc/hosts.smtp (with the names of TCP/IP
- hosts which speak smtp) and - if found - delivery is passed to the smtp
- program.
-
- Otherwise delivery is passed to uux as usual.
-
- On the input side, smtp mail is caught by the smtpd program, and passed to
- smail for further processing.
-
- Why I don't use sendmail
- ------------------------
- Using sendmail has a few drawbacks:
-
- - it is hard to configure and difficult to maintain
-
- - lots of the functionality of sendmail is also in smail. Who is aliasing,
- who is routing, who is bouncing?
-
- - I cannot prevent sendmail from rewriting message headers
-
- - when something goes wrong, sendmail will try to do sensible things
- which bypass the rest of the mail system
-
- Smail does everything I want, except for the SMTP delivery. Well - the
- programs included do just that.
-
- And last but not least: it is more easy to maintain a few small, well
- documented and easy to understand programs than one big hard to understand/
- configure/maintain program.
-
- May 1988, Johan Vromans, Multihouse Research
-