From a7584ae58e7d08498199d8a556c928f7b8d6b20e Mon Sep 17 00:00:00 2001 From: drebs Date: Mon, 6 May 2013 19:31:56 -0300 Subject: Adapt smtp-relay to use leap.common.keymanager * Add docstrings to smtp-relay classes. * Setup test suite. * Add setuptools-trial as dependency for tests. * Move smtp-relay tests to default test directory. * Add tests for smtp-relay. * Send of unencrypted mail depending on 'encrypted_only' param. * Malformed email address. * Add a helper function for smtp-relay. * Assert params for initializing SMTPFactory. * Use mail.util.parseaddr to parse email address. * Use email.message.Message to represent an email message in smtp-relay. * Make requirements effective and fix leap.common version in setup.py. * Add/remove dependencies in setup.py. * Fix Soledad instantiation in tests. * Fix sender address in smtp-relay. * Fix some comments regarding twisted's SSL and SMTP. * Remove authentication from smtp-relay when sending. This closes #2446. --- src/leap/mail/tests/smtp/mail.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/leap/mail/tests/smtp/mail.txt (limited to 'src/leap/mail/tests/smtp/mail.txt') diff --git a/src/leap/mail/tests/smtp/mail.txt b/src/leap/mail/tests/smtp/mail.txt new file mode 100644 index 0000000..9542047 --- /dev/null +++ b/src/leap/mail/tests/smtp/mail.txt @@ -0,0 +1,10 @@ +HELO drebs@riseup.net +MAIL FROM: drebs@riseup.net +RCPT TO: drebs@riseup.net +RCPT TO: drebs@leap.se +DATA +Subject: leap test + +Hello world! +. +QUIT -- cgit v1.2.3