diff options
author | Kali Kaneko <kali@leap.se> | 2013-04-09 23:08:33 +0900 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2013-04-09 23:09:06 +0900 |
commit | 8fb5895c46282aa913d2cf3c31f3c526174b3f3b (patch) | |
tree | 6417a78c8f74aeea1785c997c5c9d0586300b94a /src/leap/mail/smtp/README.rst |
Initial import
Diffstat (limited to 'src/leap/mail/smtp/README.rst')
-rw-r--r-- | src/leap/mail/smtp/README.rst | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/leap/mail/smtp/README.rst b/src/leap/mail/smtp/README.rst new file mode 100644 index 0000000..2b2a118 --- /dev/null +++ b/src/leap/mail/smtp/README.rst @@ -0,0 +1,43 @@ +Leap SMTP Relay +=============== + +Outgoing mail workflow: + + * LEAP client runs a thin SMTP proxy on the user's device, bound to + localhost. + * User's MUA is configured outgoing SMTP to localhost + * When SMTP proxy receives an email from MUA + * SMTP proxy queries Key Manager for the user's private key and public + keys of all recipients + * Message is signed by sender and encrypted to recipients. + * If recipient's key is missing, email goes out in cleartext (unless + user has configured option to send only encrypted email) + * Finally, message is relayed to provider's SMTP relay + + +Dependencies +------------ + +Leap SMTP Relay depends on the following python libraries: + + * Twisted 12.3.0 [1] + * zope.interface 4.0.3 [2] + +[1] http://pypi.python.org/pypi/Twisted/12.3.0 +[2] http://pypi.python.org/pypi/zope.interface/4.0.3 + + +How to run +---------- + +To launch the SMTP relay, run the following command: + + twistd -y smtprelay.tac + + +Running tests +------------- + +Tests are run using Twisted's Trial API, like this: + + trial leap.email.smtp.tests |