diff options
author | drebs <drebs@leap.se> | 2013-02-09 22:27:22 -0200 |
---|---|---|
committer | drebs <drebs@leap.se> | 2013-02-09 22:27:22 -0200 |
commit | 46a3373295a683db9b66c233b07a7a948b8147bc (patch) | |
tree | 410a47871bfd8654ddabbb53f3c29a89c1550e71 /src/leap/email/smtp/README | |
parent | e726f3df7c7efbe4069846468ffdbed6829ccfc4 (diff) | |
parent | b376948ccd59aa02022123102eaae359a536e4e6 (diff) |
Merge branch 'develop' into feature/soledad-api
Diffstat (limited to 'src/leap/email/smtp/README')
-rw-r--r-- | src/leap/email/smtp/README | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/leap/email/smtp/README b/src/leap/email/smtp/README new file mode 100644 index 00000000..2b2a1180 --- /dev/null +++ b/src/leap/email/smtp/README @@ -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 |