X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/d8b2db0f1004d3496e6e64aafef506eb4f7e373a..a3371c28898e7979ff298f2ea929bba0440d016f:/roles/email/templates/mm_cfg.py diff --git a/roles/email/templates/mm_cfg.py b/roles/email/templates/mm_cfg.py index a3b02f9..2b9c451 100644 --- a/roles/email/templates/mm_cfg.py +++ b/roles/email/templates/mm_cfg.py @@ -1,4 +1,5 @@ # -*- python -*- +# -*- coding: utf-8 -*- # Copyright (C) 1998,1999,2000 by the Free Software Foundation, Inc. # @@ -120,6 +121,7 @@ DEB_LISTMASTER = '{{postfix.postmaster}}' DEFAULT_ARCHIVE = Off DEFAULT_MAX_MESSAGE_SIZE = 1024 # KB DEFAULT_ADMIN_MEMBER_CHUNKSIZE = 100 +DEFAULT_BOUNCE_UNRECOGNIZED_GOES_TO_LIST_OWNER = No # footer DEFAULT_MSG_FOOTER = """{{postfix.mailman.default_footer}}""" @@ -128,3 +130,15 @@ DEFAULT_DIGEST_FOOTER = DEFAULT_MSG_FOOTER # DMARC, DKIM-compatibility REMOVE_DKIM_HEADERS = 1 # remove DKIM headers for lists where From: is changed DEFAULT_DMARC_MODERATION_ACTION = 1 # Munge From + +# Spammer protection +SUBSCRIBE_FORM_SECRET = "{{postfix.mailman.form_secret}}" +CAPTCHAS = [ +{% for item in postfix.mailman.captcha %} + ('{{item.question}}', [ + {% for answer in item.answers %} + '{{answer}}', + {% endfor %} + ]), +{% endfor %} +]