From: Peter Palfrader Date: Sun, 15 Dec 2013 13:47:34 +0000 (+0100) Subject: Add two headers X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=8a361957e11da4672836f8e5e1da647dc06269d8;p=mirror%2Fdsa-puppet.git Add two headers --- diff --git a/modules/porterbox/files/mail-big-homedirs b/modules/porterbox/files/mail-big-homedirs index 42b2f2973..41f6a25b3 100755 --- a/modules/porterbox/files/mail-big-homedirs +++ b/modules/porterbox/files/mail-big-homedirs @@ -155,6 +155,8 @@ class HomedirReminder(object): msg['To'] = MAIL_TO.format(**kwargs) msg['Cc'] = MAIL_CC.format(**kwargs) msg['Subject'] = MAIL_SUBJECT.format(**kwargs) + msg['Precedence'] = "bulk" + msg['Auto-Submitted'] = "auto-generated by mail-big-homedirs" p = subprocess.Popen(SENDMAIL, stdin=subprocess.PIPE) p.communicate(msg.as_string()) logging.debug(msg.as_string())