Include DKIM/SPF instructions on commit/review forms
authorAndreas Scherbaum <[email protected]>
Fri, 16 Nov 2018 13:16:12 +0000 (14:16 +0100)
committerMagnus Hagander <[email protected]>
Fri, 16 Nov 2018 13:16:12 +0000 (14:16 +0100)
pgcommitfest/commitfest/views.py

index 8ead84db5574693de5070afa472026a6dcb4581e..54d4180be21e1ecf307be78ea69cadb4278616fa 100644 (file)
@@ -460,7 +460,7 @@ def comment(request, cfid, patchid, what):
                'breadcrumbs': [{'title': cf.title, 'href': '/%s/' % cf.pk},
                                                {'title': 'View patch', 'href': '/%s/%s/' % (cf.pk, patch.pk)}],
                'title': "Add %s" % what,
-               'note': '<b>Note!</b> This form will generate an email to the public mailinglist <i>%s</i>, with sender set to <i>%s</i>!' % (settings.HACKERS_EMAIL, UserWrapper(request.user).email),
+               'note': '<b>Note!</b> This form will generate an email to the public mailinglist <i>%s</i>, with sender set to <i>%s</i>!<br/>Please ensure that the email settings for your domain (<a href="https://en.wikipedia.org/wiki/DomainKeys_Identified_Mail" target="_blank">DKIM</a>, <a href="https://en.wikipedia.org/wiki/SPF" target="_blank">SPF</a>) allow emails from external sources.' % (settings.HACKERS_EMAIL, UserWrapper(request.user).email),
                'savebutton': 'Send %s' % what,
        })