Fail template, move most header fields into template.

This commit is contained in:
Stuart Gathman
2006-05-21 03:30:06 +00:00
parent 528810c31a
commit 99396a1eee
8 changed files with 38 additions and 17 deletions
-3
View File
@@ -166,9 +166,6 @@ def create_msg(q,rcptlist,origmsg=None,template=None):
msg = Message()
msg.add_header('To',sender)
msg.add_header('From','postmaster@%s'%receiver)
msg.add_header('Auto-Submitted','auto-generated (configuration error)')
msg.add_header('X-Mailer','PyMilter-'+Milter.__version__)
msg.set_type('text/plain')