Skip to content
Snippets Groups Projects
Commit b57e3653 authored by Stuart Gathman's avatar Stuart Gathman
Browse files

Default templates need headers also.

parent 99396a1e
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,9 @@ from email.Message import Message ...@@ -12,6 +12,9 @@ from email.Message import Message
import Milter import Milter
nospf_msg = """Subject: Critical mail server configuration error nospf_msg = """Subject: Critical mail server configuration error
To: %(sender)s
From: postmaster@%(receiver)s
Auto-Submitted: auto-generated (configuration error)
This is an automatically generated Delivery Status Notification. This is an automatically generated Delivery Status Notification.
...@@ -80,6 +83,9 @@ postmaster@%(receiver)s ...@@ -80,6 +83,9 @@ postmaster@%(receiver)s
""" """
softfail_msg = """Subject: SPF softfail (POSSIBLE FORGERY) softfail_msg = """Subject: SPF softfail (POSSIBLE FORGERY)
To: %(sender)s
From: postmaster@%(receiver)s
Auto-Submitted: auto-generated (configuration error)
This is an automatically generated Delivery Status Notification. This is an automatically generated Delivery Status Notification.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment