From 185e7476942f7f594100e9b60e47456fba7692cf Mon Sep 17 00:00:00 2001
From: Sarah Sharp <sarah.a.sharp@intel.com>
Date: Wed, 14 May 2008 13:05:05 -0700
Subject: [PATCH] Use sendmail arguments with comments plugin

Signed-off-by: Sarah Sharp <sarah.a.sharp@intel.com>
---
 plugins/comments.py |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/plugins/comments.py b/plugins/comments.py
index 737f69e..c7f9dbe 100644
--- a/plugins/comments.py
+++ b/plugins/comments.py
@@ -540,10 +540,7 @@ def send_email(config, entry, comment, comment_dir, comment_filename):
 
             body = '\n'.join(message).encode('utf-8')
 
-            argv = [config['comment_mta_cmd'],
-                    '-s',
-                    '"comment on %s"' % curl,
-                    config['comment_smtp_to']]
+            argv = [config['comment_mta_cmd'], '-ti']
             # TODO: switch to subprocess when we can require python 2.4
             process = popen2.Popen3(argv, capturestderr=True)
             process.tochild.write(body)
-- 
1.5.3.4


