summaryrefslogtreecommitdiff
path: root/src/mailman/mta/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add support for regex based postfix transport maps and relay_domains.Abhilash Raj2017-05-231-45/+123
|
* Bump copyright years.Barry Warsaw2017-01-043-3/+3
|
* Fix the connection count tests.Barry Warsaw2016-11-241-1/+46
|
* New template system. Closes #249Barry Warsaw2016-07-161-7/+8
| | | | | The new template system is introduced for API 3.1. See ``src/mailman/rest/docs/templates.rst`` for details.
* Clean up the mta directory.Barry Warsaw2016-03-253-28/+6
|
* Happy New Year.Barry Warsaw2016-01-023-3/+3
|
* Port to Python 3.5.Barry Warsaw2015-06-221-0/+14
|
* Replace add_member() with subscribe() helper.Barry Warsaw2015-03-261-8/+2
|
* * Refactor add_member() so that it uses a RequestRecord namedtuple.Barry Warsaw2015-03-211-3/+5
| | | | | | * RequestRecord contains no password key so these are not part of the held requests database any more. * Pending record contains `email` now instead of `address`.
* Bump copyright years.Barry Warsaw2015-01-043-3/+3
|
* Remove huge amounts of now unnecessary file boilerplate.Barry Warsaw2014-12-223-11/+1
|
* Fix mta and lmtp tests.Barry Warsaw2014-12-171-0/+54
|
* Use print functions consistently through, and update all __future__ imports toBarry Warsaw2014-04-281-1/+1
| | | | | | | | reflect this. Also, mock out sys.stderr on some tests so that their nose2 output is quieter. A few other minor coding style consistencies.
* Bump copyright years.Barry Warsaw2014-01-012-2/+2
|
* Bump copyright years.Barry Warsaw2013-01-012-2/+2
|
* ConfigurationBarry Warsaw2012-11-042-15/+9
| | | | | | | | | | | | | | | ------------- * `[passlib]path` configuration variable renamed to `[passlib]configuration`. * Postfix-specific configurations in the `[mta]` section are moved to a separate file, named by the `[mta]configuration` variable. * In the new `postfix.cfg` file, `postfix_map_cmd` is renamed to `postmap_command`. Also: * More Python 2.7-isms, use assertMultiLineEqual() directly. * Added external_configuration() and load_external() to mailman.config.config * ConfigLayer does a blanket set of [postfix]postmap_command so subtests generally won't have to.
* * Added support for Postfix `relay_domains` setting for better virtual domainBarry Warsaw2012-10-121-13/+96
| | | | | | | | support. Contributed by Jimmy Bergman. * `bin/mailman aliases` loses the `--output`, `--format`, and `--simple` arguments, and adds a `--directory` argument. This is necessary to support the Postfix `relay_domains` support.
* Consistent use of assertMultiLineEqual().Barry Warsaw2012-03-062-15/+8
|
* Fix header/footer interpolations when personalizing messages.Barry Warsaw2012-03-051-0/+144
| | | | | | | | | | | | | | | | | | - When doing individual deliveries, insert a 'member' key into the copy of the metadata dictionary for this recipient's delivery. This will contain the IMember of the recipient, if the recipient is a member of the mailing list. There will still be a 'recipient' key which will contain just the email address to deliver the message to. - Remove $user_password from header/footer placeholders. - Remove the 'personalize' key from the metadata dictionary and change decorate.process() to search only for the 'member' key. No need for both of them and the 'member' key contains more information. Plus, it allows us to do a more efficient member query in the delivery module some time in the future. - Move some of the LMTP log messages from mailman.runner to mailman.smtp.
* * `IMailTransportAgentAliases` now explicitly accepts duck-typed arguments.Barry Warsaw2012-01-271-0/+40
| | | | - Also, rewrite the Postfix alias generator to use the faster, duck-typed API.
* copybumpBarry Warsaw2012-01-011-1/+1
|
* Remove extraneous `test_suite()` functions. zope.testrunner willBarry Warsaw2011-10-301-10/+0
| | | | | | | | | automatically do the right thing in most cases. Keep test_suite() in test_documentation.py since these dynamically set up docs tests properly. Refactor test_passwords.py so that base class tests aren't bogusly run. Also, remove test_membership.py which was essentially disabled because it was testing the MM2 membership API.
* * Fixed Postfix alias file generation when more than one mailing listBarry Warsaw2011-10-161-1/+36
| | | | exists. (LP: #874929). Given by Vincent Fretin.
* Refactor MTA alias creation.Barry Warsaw2011-06-102-0/+128
* 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