Change handling of rules for banned addresses.
commit9c6ab1fdfe20dd852157120c939ceec52398834c
authorAditya <adityadivekar03@gmail.com>
Fri, 22 Apr 2016 12:47:43 +0000 (22 18:17 +0530)
committerBarry Warsaw <barry@python.org>
Tue, 3 May 2016 19:49:43 +0000 (3 15:49 -0400)
treea1c29c4e7e03744f2e8860aed2489291708d85f7
parentf0e2b8b42c47c1447d5677e1e77f38b0d409c652
Change handling of rules for banned addresses.

If any of the senders are banned, both the member moderation and
nonmember moderation rules return False unconditionally.

Add test for the above.
src/mailman/rules/moderation.py
src/mailman/rules/tests/test_moderation.py