SMTA is a realy simple software:

smta 0.1

        smta [-d [-l <numer>] [-t <timer>] [-b]] | [[-e]|[-mta <mta>]] [-sock]

-d | --daemon       daemon function
-l | --listen       listen number [default: 2]
-t | --timer        timer [default: 0=disactivated]
-b | --background   background
-e | --exit         close a daemon
-s | --socket       unix socket [default /home/bakunin/.smta.sock]
-m | --mta          msmtp|ssmtp
-h | --help         this help

Andrea Marchesini - bakunin@autistici.org CopyRight (c) 2004 - GPL

---------- USAGE ---------
smta -d -> starts as daemon, asks the password, and accepts request to unix 
           socket.
smta -m <mta> -> connects to smta daemon, gets the password and runs the mta.


--------- EXAMPLE --------
set to .muttrc the lines:

set sendmail="/usr/bin/smta -m ssmtp -au bakunin"

---- ~/bin/posta ----
#!/bin/bash

# download new emails:
fetchmail -a

# Set the smtp password:
smta -d -b -t 3600

# Mutt :)
mutt

# Close the smta
smta -e 
---------------------

mutt runs smta, and smta runs ssmtp -au bakunin -ap password

---------------------

smta supports now only ssmtp and msmtp. msmtp support everything argoments for
version 1.2.4.

With msmtp, smta reads the correct file (~/.msmtprc or the -F option file), 
parses the file (and finds the correct account); writes a new file and runs
msmtp. When msmtp returns, smta writes random values on the file, and removes
it.

Bye
