qmtpssh
=======

qmtpssh consists of the following programs:

  - stdinxout: connect the standard input and output of two programs together.
  - qmtppush: deliver the contents of a local maildir on the remote machine
  - qmtppull: deliver the contents of a remote maildir locally

qmtppush and qmtppull connections are cryptographically protected by
SSH. They are both simple shell scripts that use stdinxout,
qmail-qmtpd and serialmail for actually transferring mail. You need to
have qmail installed on the receiving end, and serialmail installed on
the sending end. I suggest you use an RSA key with an empty password 
and limited allowed commands for batch mail sending.

Here's some crude ASCII art of what stdinxout does:


        prog1	stdin <---------------- stdout prog2
		stdout ---------------> stdin
                stderr			stderr
                      \                /
                       ----------------
                              |
                              v
                      stdinxout's stderr



Feedback is welcome!

Tommi Virtanen <tv@havoc.fi>
