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 /whineatnews.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 'whineatnews.pl')
-rwxr-xr-xwhineatnews.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/whineatnews.pl b/whineatnews.pl
index ba258ddca..0b5d78eba 100755
--- a/whineatnews.pl
+++ b/whineatnews.pl
@@ -64,7 +64,7 @@ foreach my $email (sort (keys %bugs)) {
}
my $sendmailparam = Param('sendmailnow') ? '' : "-ODeliveryMode=deferred";
- open SENDMAIL, "|/usr/lib/sendmail $sendmailparam -t"
+ open SENDMAIL, "|/usr/lib/sendmail $sendmailparam -ti"
or die "Can't open sendmail";
print SENDMAIL $msg;
close SENDMAIL;