From b57e3653492407451b7db6e8dd725f9291a80d80 Mon Sep 17 00:00:00 2001 From: Stuart Gathman Date: Sun, 21 May 2006 03:39:59 +0000 Subject: [PATCH] Default templates need headers also. --- Milter/dsn.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Milter/dsn.py b/Milter/dsn.py index efe128a..87140f7 100644 --- a/Milter/dsn.py +++ b/Milter/dsn.py @@ -12,6 +12,9 @@ from email.Message import Message import Milter 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. @@ -80,6 +83,9 @@ postmaster@%(receiver)s """ 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.