On 10/20/2017 09:24 AM, Lindsay Haisley wrote: > It looks as if munging on a policy of "p=none" is a per-list or per-site > choice. I cut out code related to the mlist object from my application > so this remained as a default.
That's the issue. The stanza beginning at <http://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/Utils.py#L1352> requires three conditions to return True on p=none. They are all conditions on list settings: dmarc_none_moderation_action - True dmarc_quarantine_moderation_action - True dmarc_moderation_action - Munge From or Wrap Message. This is consistent with the web UI help text at <http://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/Gui/Privacy.py#L339> > I've set line 1359 to "return False", but > will give the issue some thought and possibly make it a configuration > option from a comment-annotated variable definitions near the start of > the code. I'm trying to keep this piece as simple as possible. For > anyone interested, I've posted the dmarc_shield.py publicly at > <http://linode.fmp.com/contrib/dmarc_shield.py>. I recommend just deleting the entire stanza at lines 1352-1360 which will fall through to the "return False" at line 1361. -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan _______________________________________________ Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9