summaryrefslogtreecommitdiff
path: root/src/mailman/testing/mta.py
Commit message (Collapse)AuthorAgeFilesLines
* Port to aiosmtpd 1.0a5Barry Warsaw2017-04-061-14/+11
|
* Bump copyright years.Barry Warsaw2017-01-041-1/+1
|
* Use `atpublic` for @public instead of internal copy.Barry Warsaw2016-11-291-1/+1
|
* Use aiosmtpd 1.0a3 and add NEWS.Barry Warsaw2016-11-241-41/+9
|
* Remove some unused code.Barry Warsaw2016-11-241-12/+0
|
* Remove some unnecessary code and update a comment.Barry Warsaw2016-11-241-4/+0
|
* Fix the connection count tests.Barry Warsaw2016-11-241-8/+37
|
* Mostly converted to aiosmtpd.Barry Warsaw2016-11-241-127/+118
| | | | | Rewrite the smtpd based servers using aiosmtpd, although it still needs a bit of work. Requires aiosmtpd 1.0a3 which is not yet released.
* Start converting lazr.smtptestBarry Warsaw2016-11-241-0/+1
|
* Clean up the testing directory.Barry Warsaw2016-03-251-9/+2
|
* Several optimizations:Barry Warsaw2016-01-111-2/+1
| | | | | | | | | | | | * Use `yield from` wherever appropriate. * Use SA's .one_or_none() where appropriate. - Fix a bug in MailingList.pass_extensions. - Use ValueError in other places for consistency. - Remove unreached/nonsense code. - Simplify the SubscriptionService.find_member() and .find_members() implementations. - Boost coverage.
* Happy New Year.Barry Warsaw2016-01-021-1/+1
|
* Port to Python 3.5.Barry Warsaw2015-06-221-4/+37
|
* We don't need the 'six' package any more.Barry Warsaw2015-01-041-1/+1
|
* Bump copyright years.Barry Warsaw2015-01-041-1/+1
|
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-221-5/+1
|
* Fix mta and lmtp tests.Barry Warsaw2014-12-171-11/+11
|
* Checkpointing.Barry Warsaw2014-11-301-2/+1
| | | | | | | | | | By using `six` I think I have most of the imports squared away. There's probably still uses of `unicode` built-ins that need fixing. The idea is to first get the test suite running (which it doesn't yet), and then to fix tests. There's a bug in lazr.config which requires us to patch it for now.
* Tox-ify the test suite. Now you don't have to create a virtualenv separately.Barry Warsaw2014-11-071-0/+5
| | | | | | | | | | | To do this, we have to handle random test ordering, since tox explicitly sets PYTHONHASHSEED. That's a good thing for the future Python 3 port. Removed `mailman conf -t/--sort`; now the output is always sorted. RFC 2369 headers are now sorted before being added. etag repr dicts are sorted using pprint.pformat().
* Bump copyright years.Barry Warsaw2014-01-011-1/+1
|
* Bump copyright years.Barry Warsaw2013-01-011-1/+1
|
* General code cleanup.Barry Warsaw2012-04-251-4/+3
| | | | | | | | - Add explicit dependency on zope.event in setup.py. - Use Python 3 compatible syntax for specifying that a class implements an interface, i.e. the @implementer class decorator. - print_function futures. - Whitespace normalization.
* copybumpBarry Warsaw2012-01-011-1/+1
|
* Refactor MTA alias creation.Barry Warsaw2011-06-101-2/+2
| | | | | | | | | | | | | * Create an IMailTransportAgentAliases utility that contains all the logic for generating all the aliases for a mailing list, both the fully-qualified ones and the local-part ones. * Add -f and -s options to `bin/mailman aliases` to facilitate outputing the aliases in other formats than the configured one, and for printing out a simple list of the aliases. * IMailTransportAgentAliases -> IMailTransportAgentLifecycle; also add a new definition for IMailTransportAgentAliases
* LP: #490044 - Support SMTP AUTH.Barry Warsaw2011-01-021-0/+33
| | | | | Added smtp_user and smtp_pass options to the [mta] section to support logging into the SMTP server. All the underlying support is in Python's smtplib.
* Happy New Year.Barry Warsaw2011-01-011-1/+1
|
* Happy New Year.Barry Warsaw2010-01-011-1/+1
|
* Convert bin/genaliases to bin/mailman aliasesBarry Warsaw2009-11-281-1/+1
|
* Handle SMTPResponseExceptions like smtp_direct.py, but without the distinctionBarry Warsaw2009-10-311-13/+39
| | | | between temporary and permanent failures. That will happen at a higher level.
* IMailTransportAgentDelivery.deliver() returns a dictionary just likeBarry Warsaw2009-10-311-6/+38
| | | | | | | | | SMTP.sendmail(). Handle SMTPRecipientsRefused just like smtp_direct.py. Hack the test mail server to be able to generate failures. SMTP responses must be bytes (don't forget we're using unicode literals).
* IMailTransportAgent -> IMailTransportAgentAliasesBarry Warsaw2009-10-181-2/+2
| | | | Add IMailTransportAgentDelivery and begin to flesh out the doctest.
* Show that a max_sessions_per_connection == 0 means there's an unlimited numberBarry Warsaw2009-10-181-17/+17
| | | | of sessions per connection (or at least 10 <wink>).
* Show that the session count is zero at first.Barry Warsaw2009-10-181-27/+18
|
* Infrastructure for testing the Connection class, and for counting the numberBarry Warsaw2009-10-181-0/+103
| | | | of session start and end events in the server.
* Push the source directory into a 'src' subdirectory so that zc.buildout worksBarry Warsaw2009-01-251-0/+46
correctly regardless of how it's used.