| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
|
| |
Improved the CNAME tests to provide testable results.
|
| | |
|
| |\ |
|
| | |
| |
| |
| | |
Replaced unreachable statement with assertion.
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
* parse_suffix_list() can take an optional filename for testing purposes.
* Fix a typo.
* Add a test.
|
| |/
|
|
|
|
|
|
| |
Also:
* Change doctest cleanups to be an ExitStack.
* Added [dmarc]cache_lifetime setting.
* Cleanup pass through dmarc-mitigation.rst.
* Be sure the cached org domain file is cleaned up when the world is reset.
|
| |
|
|
| |
Get path using pkg_resources.resource_filename.
|
| |
|
|
| |
Removed unneeded 'as' clauses.
|
| | |
|
| |
|
|
|
|
|
| |
* Split the email using .rpartition().
* Use a sentinel singleton for a marker instead of a string.
* Move some code out of a try clause and eliminate an else clause for coverage.
* Boost coverage by mocking a DNSException.
|
| |
|
|
| |
Made a few test coverage tweaks.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
* Format and wrap a comment.
* Add a test for having two From: headers.
* use <alpha@example.com> as standard Message-ID
* Cover URLError case.
|
| |
|
|
| |
Added tests to improve coverage.
|
| |
|
|
|
| |
Simplified Munge From replacement and added a test for rfc2047 encoded
display name.
|
| |\ |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |/ |
|
| |
|
|
| |
Fixes #283
|
| | |
|
| |
|
|
|
|
|
| |
If any of the senders are banned, both the member moderation and
nonmember moderation rules return False unconditionally.
Add test for the above.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
The `moderation_action` for members and nonmember can now be ``None``
which signals falling back to the appropriate list default action,
e.g. `default_member_action` and `default_nonmember_action`. Given by
Aurélien Bompard.
Closes #189
|
| |
|
|
|
|
|
|
| |
Members and nonmember's moderation action should be None by default, and
in that case the moderation rule should fallback to the mailing list's
default action.
Fixes: #189
|
| |
|
|
|
|
|
|
| |
* Get rid of explicit __all__ settings and use the @public decorator.
* Get rid of ^L's
* Use expected_count argument for get_queue_messages()
* Various code modernizations.
* Other minor changes to make flake8 happy.
|
| |
|
|
| |
Fixes #203
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Given by Aurélien Bompard, tweaked by Barry Warsaw.
Remove the inaccurate confirmation url and admindb urls from the substitution
dictionaries for postauth.txt and posthold.txt, and the templates.
|
| | |
|
| | |
|
| |\ |
|
| | |\
| | |
| | |
| | | |
Given by Aurélien Bompard. (LP: #1158721)
|
| | |/
| |
| |
| | |
Fixes: bug #1158721
|
| |/
|
|
|
|
|
|
| |
search against. This may not be in the long-term best interest because it
ignores Content-Transfer-Encoding, however with decode=True it always returns
binary data. We may have to decode and then re.search() with a bytes pattern.
passlib always returns a unicode password in Python 3, so adjust for that.
|
| |
|
|
|
| |
and non-members are in the message's sender list. Given by Aurélien
Bompard. (LP: #1291452)
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-------------
* `[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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The default hash is `sha512_crypt`.
* Events renamed and moved:
* `mailman.chains.accept.AcceptNotification`
* `mailman.chains.base.ChainNotification`
* `mailman.chains.discard.DiscardNotification`
* `mailman.chains.hold.HoldNotification`
* `mailman.chains.owner.OwnerNotification`
* `mailman.chains.reject.RejectNotification`
changed to (respectively):
* `mailman.interfaces.chains.AcceptEvent`
* `mailman.interfaces.chains.ChainEvent`
* `mailman.interfaces.chains.DiscardEvent`
* `mailman.interfaces.chains.HoldEvent`
* `mailman.interfaces.chains.AcceptOwnerEvent`
* `mailman.interfaces.chains.RejectEvent`
* A `ConfigurationUpdatedEvent` is triggered when the system-wide global
configuration stack is pushed or popped.
* With the switch to `passlib`_, `[passwords]password_scheme` has been
removed. Instead use `[passwords]path` to specify where to find the
`passlib.cfg` file. See the comments in `schema.cfg` for details.
|
| | |
|