| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Convert to click for CLI options | Barry Warsaw | 2017-07-22 | 1 | -1/+1 |
| | | |||||
| * | Added a rule to discard messages with no valid sender address. | Mark Sapiro | 2017-06-30 | 3 | -0/+99 |
| | | |||||
| * | Bump copyright years. | Barry Warsaw | 2017-01-04 | 21 | -21/+21 |
| | | |||||
| * | Make code style review pass. | Barry Warsaw | 2017-01-04 | 2 | -72/+87 |
| | | |||||
| * | Made some argument names more descriptive and consistent. | Mark Sapiro | 2017-01-02 | 1 | -35/+60 |
| | | | | | Improved the CNAME tests to provide testable results. | ||||
| * | Some configs moved to [dmarc] section. | Mark Sapiro | 2017-01-01 | 1 | -1/+1 |
| | | |||||
| * | Pragma no cover a line that coverage can't reach. | Barry Warsaw | 2017-01-02 | 1 | -1/+7 |
| | | |||||
| * | Merge branch 'mr215' into mr215-review | Barry Warsaw | 2017-01-01 | 2 | -16/+174 |
| |\ | |||||
| | * | Test coverage improvements. | Mark Sapiro | 2017-01-01 | 2 | -16/+177 |
| | | | | | | | | | Replaced unreachable statement with assertion. | ||||
| | * | Replaced urllib.request.urlopen() with mailman.utilities.protocols.get(). | Mark Sapiro | 2017-01-01 | 2 | -10/+10 |
| | | | |||||
| * | | Add some coverage. | Barry Warsaw | 2017-01-01 | 3 | -6/+19 |
| | | | | | | | | | | | | | * parse_suffix_list() can take an optional filename for testing purposes. * Fix a typo. * Add a test. | ||||
| * | | Implement caching suffix list with in-tree fallback. | Barry Warsaw | 2017-01-01 | 4 | -140/+12156 |
| |/ | | | | | | | | 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. | ||||
| * | Moved test data from rules/data to rules/tests/data. | Mark Sapiro | 2016-12-31 | 3 | -7/+3 |
| | | | | | Get path using pkg_resources.resource_filename. | ||||
| * | Merge branch 'mr215-review' of gitlab.com:warsaw/mailman into dmarc | Mark Sapiro | 2016-12-31 | 1 | -1/+1 |
| |\ | |||||
| | * | Fix some fallout from the previous commit. | Barry Warsaw | 2016-12-31 | 1 | -1/+1 |
| | | | |||||
| * | | Fixed location of 'with' in a test. | Mark Sapiro | 2016-12-31 | 2 | -15/+16 |
| | | | | | | | | | Removed unneeded 'as' clauses. | ||||
| * | | Simplified the org domain mock patch and tweaked a test. | Mark Sapiro | 2016-12-31 | 1 | -17/+11 |
| |/ | |||||
| * | Move the dmarc configuration options to their own section. | Barry Warsaw | 2016-12-31 | 1 | -23/+23 |
| | | |||||
| * | Small style fixes. | Barry Warsaw | 2016-12-31 | 2 | -82/+104 |
| | | | | | | | | * 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. | ||||
| * | Added test data for organizational domains and a mock to use it. | Mark Sapiro | 2016-12-30 | 5 | -19/+80 |
| | | | | | Made a few test coverage tweaks. | ||||
| * | Boost coverage. | Barry Warsaw | 2016-12-30 | 2 | -6/+18 |
| | | |||||
| * | Improve coverage for rules/dmarc.py. | Barry Warsaw | 2016-12-30 | 1 | -11/+20 |
| | | |||||
| * | Minor tweaks and coverage: | Barry Warsaw | 2016-12-30 | 2 | -1/+16 |
| | | | | | | | | * Format and wrap a comment. * Add a test for having two From: headers. * use <alpha@example.com> as standard Message-ID * Cover URLError case. | ||||
| * | Removed unreachable line from rules/dmarc.py. | Mark Sapiro | 2016-12-30 | 2 | -13/+39 |
| | | | | | Added tests to improve coverage. | ||||
| * | Simplified the various list settings and remamed several things. | Mark Sapiro | 2016-12-26 | 3 | -40/+27 |
| | | |||||
| * | Modifications based on feedback from Barry. | Mark Sapiro | 2016-12-16 | 1 | -3/+3 |
| | | | | | | | Also, the change to the value column of pendedkeyvalue from SAUnicode to SAUnicodeLarge is removed as it is a separate MR now. This will cause mysql CI to fail until that MR lands. | ||||
| * | Replaced mailman.public with public.public. | Mark Sapiro | 2016-12-09 | 2 | -2/+2 |
| | | | | | | Simplified Munge From replacement and added a test for rfc2047 encoded display name. | ||||
| * | Merged from master. | Mark Sapiro | 2016-12-09 | 16 | -16/+112 |
| |\ | |||||
| | * | Use `atpublic` for @public instead of internal copy. | Barry Warsaw | 2016-11-29 | 14 | -14/+14 |
| | | | |||||
| | * | Starting to clean up the branch. | Barry Warsaw | 2016-11-28 | 4 | -12/+8 |
| | | | |||||
| | * | Fix Flake8 errors | Aurélien Bompard | 2016-11-28 | 2 | -15/+2 |
| | | | |||||
| | * | Fix a crash with the suspicious rule and Header instances | Aurélien Bompard | 2016-11-28 | 2 | -1/+55 |
| | | | |||||
| | * | Fix a crash with the no_subject rule and Header instances | Aurélien Bompard | 2016-11-28 | 2 | -1/+60 |
| | | | |||||
| * | | Added mocking of DNS _dmarc lookups and modified test accordingly. | Mark Sapiro | 2016-11-11 | 2 | -22/+115 |
| | | | |||||
| * | | msgdata['moderation_reasons'] is a list. | Mark Sapiro | 2016-11-05 | 1 | -1/+1 |
| | | | |||||
| * | | Refactored the dmarc rule reject and discard actions. The prior code | Mark Sapiro | 2016-11-04 | 2 | -118/+28 |
| | | | | | | | | | did the reject and discard but didn't terminate the chain. | ||||
| * | | Fixed a minor issue in handlers/dmarc.py revealed in testing. | Mark Sapiro | 2016-11-03 | 1 | -5/+20 |
| | | | | | | | | | | | Added tests. Tweaked some docs. | ||||
| * | | Fixed replacement $listowner. -> ${listowner}. | Mark Sapiro | 2016-11-01 | 2 | -2/+3 |
| | | | |||||
| * | | DMARC mitigations, part 1a. | Mark Sapiro | 2016-10-31 | 3 | -0/+480 |
| |/ | |||||
| * | Prevent posting from banned addresses | Aurélien Bompard | 2016-10-27 | 3 | -0/+162 |
| | | | | | Fixes #283 | ||||
| * | Reorganize the documentation for better accesibility | Abhilash Raj | 2016-08-21 | 1 | -0/+5 |
| | | |||||
| * | Rebase mailman/mailman!180 and cleanup # noqa | Barry Warsaw | 2016-07-28 | 1 | -1/+1 |
| | | |||||
| * | Refactor and simplify. | Barry Warsaw | 2016-05-03 | 1 | -66/+53 |
| | | |||||
| * | Minor cleanups, rewording, style. | Barry Warsaw | 2016-05-03 | 2 | -49/+76 |
| | | |||||
| * | Change handling of rules for banned addresses. | Aditya | 2016-05-03 | 2 | -41/+54 |
| | | | | | | | | If any of the senders are banned, both the member moderation and nonmember moderation rules return False unconditionally. Add test for the above. | ||||
| * | Add tests | Aditya | 2016-05-03 | 1 | -1/+77 |
| | | |||||
| * | Ensure that postings from alternative emails aren't held | Aditya | 2016-05-03 | 1 | -6/+38 |
| | | | | | | Check if the posting address is linked to a user who is subscribed to the list. If yes, the post is not held for moderation. | ||||
| * | Use contextlib.suppress() where appropriate. | Barry Warsaw | 2016-04-30 | 1 | -3/+2 |
| | | |||||
| * | Don't use `flake8: noqa`. | Barry Warsaw | 2016-04-01 | 1 | -1/+1 |
| | | | | | | | | This suppresses all errors in the file. Use `noqa`, although pep8 doesn't honor this for all errors. There may be a plugin which helps. | ||||
| * | Allow fall backs for moderation actions. | Barry Warsaw | 2016-04-01 | 3 | -29/+48 |
| | | | | | | | | | | 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 | ||||
