From 3d96b37a3fe7be31a11c6313746f41341ee365c8 Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Sun, 17 Feb 2002 16:22:29 +0000 Subject: Fix for bug 125516: the recent fix for emails truncating when a period occurred on a line by itself broke Exim because it needs the -t and -i as separate parameters instead of stacked (the original patch had -ti) Patch by Tobias Burnus r= justdave, gerv --- Token.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Token.pm') diff --git a/Token.pm b/Token.pm index 1cff2fac2..4f7f61882 100644 --- a/Token.pm +++ b/Token.pm @@ -101,7 +101,7 @@ sub MailPasswordToken { my $emailsuffix = &::Param('emailsuffix'); $token = &::url_quote($token); - open SENDMAIL, "|/usr/lib/sendmail -ti"; + open SENDMAIL, "|/usr/lib/sendmail -t -i"; print SENDMAIL qq|From: bugzilla-daemon To: $emailaddress$emailsuffix @@ -144,7 +144,7 @@ sub Cancel { my $username = $realname ? $realname . " <" . $loginname . ">" : $loginname; # Notify the user via email about the cancellation. - open SENDMAIL, "|/usr/lib/sendmail -ti"; + open SENDMAIL, "|/usr/lib/sendmail -t -i"; print SENDMAIL qq|From: bugzilla-daemon To: $username Subject: "$tokentype" token cancelled -- cgit v1.2.3-24-g4f1b