Strange default in mlist.bounce_matching_headers
Hi.
While fixing another issue in my installation I found this thing in the mailman/styles/base.py (I found in the production database but I then located the cause to base.py):
@public
class Moderation:
"""Settings for basic moderation."""
def apply(self, mailing_list):
# For cut-n-paste convenience.
mlist = mailing_list
mlist.max_num_recipients = 10
mlist.max_message_size = 40 # KB
mlist.require_explicit_destination = True
mlist.bounce_matching_headers = """
# Lines that *start* with a '#' are comments.
to: friend@public.com
message-id: relay.comanche.denmark.eu
from: list@listme.com
from: .*@uplinkpro.com
"""
mlist.header_matches = []
mlist.administrivia = True
To me this default seems a bit strange and very hard to find. I have not yet examined how it is used but given the config name it seems to have with bounce processing to do. So maybe an issue and maybe just a query...
I run the latest (as of last week or so) mailman core.