aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2002-02-06 10:46:58 +0000
committerjustdave%syndicomm.com <>2002-02-06 10:46:58 +0000
commit2ddb47368170e74243086863fedc925300b45dd8 (patch)
treedfee4102def1287001f0d1d4ebcc3a030622425f /globals.pl
parentBug 119715 - strictvaluechecks should always be enabled (diff)
downloadbugzilla-2ddb47368170e74243086863fedc925300b45dd8.tar.gz
bugzilla-2ddb47368170e74243086863fedc925300b45dd8.tar.bz2
bugzilla-2ddb47368170e74243086863fedc925300b45dd8.zip
Fix for bug 117055: Emails were being truncated if they contained a line with nothing but a period on them. We now pass -i to
sendmail and its clones to tell it to ignore periods (since we close the pipe when we're done, rather than signalling it with a period). Has been tested with sendmail and postfix. Patch by Dave Miller <justdave@syndicomm.com> r= afranke, bugzilla@bkor.dhs.org, jake
Diffstat (limited to 'globals.pl')
-rw-r--r--globals.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/globals.pl b/globals.pl
index 845e6ed9a..f88347f13 100644
--- a/globals.pl
+++ b/globals.pl
@@ -1433,7 +1433,7 @@ sub RemoveVotes {
if (Param('sendmailnow')) {
$sendmailparm = '';
}
- if (open(SENDMAIL, "|/usr/lib/sendmail $sendmailparm -t")) {
+ if (open(SENDMAIL, "|/usr/lib/sendmail $sendmailparm -ti")) {
my %substs;
$substs{"to"} = $name;