Simple mail transport agent architecture

For more information about this document, see my notes on a new sSMTP.

Goals

The goal is to write a very simple mail transport agent. It would not accept incoming mail, but only deal with outgoing mail. It would deliver mail locally, support several profiles to make the life of laptop users with several ISPs easier, and support queuing.

Functions

One should be able to:

Gory details

Here is how I think that the program should work:

  1. Parse the command line.
  2. Parse the configuration file.
  3. Store the email being sent in the spool directory, along with a control file containing the following information:
  4. Attempt to deliver the email:
  5. Depending on what happens at that point:

I do not know yet if the program would/should honor .forwards.


Hugo Haas <hugo@larve.net>
$Id: design.html 1097 2001-02-17 17:17:34Z hugo $