summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-12-06 01:12:45 +0100
committerlpsolit%gmail.com <>2005-12-06 01:12:45 +0100
commit73997d5064384dd64c82a714947644f4ffcc4366 (patch)
tree3881aa494e24e31b9267b915829c332b30222346
parentad0688fb49f0761b9b90495d9b9babf0767bfab5 (diff)
downloadbugzilla-73997d5064384dd64c82a714947644f4ffcc4366.tar.gz
bugzilla-73997d5064384dd64c82a714947644f4ffcc4366.tar.xz
Bug 319055: Mail::Mailer truncates messages at a line with a period when using sendmail - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
-rw-r--r--Bugzilla/BugMail.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm
index a8e9c1e48..47db3c2bf 100644
--- a/Bugzilla/BugMail.pm
+++ b/Bugzilla/BugMail.pm
@@ -650,6 +650,9 @@ sub MessageToMTA {
}
my @args;
+ if (Param("mail_delivery_method") eq "sendmail") {
+ push @args, "-i";
+ }
if (Param("mail_delivery_method") eq "sendmail" && !Param("sendmailnow")) {
push @args, "-ODeliveryMode=deferred";
}