diff options
author | justdave%syndicomm.com <> | 2002-02-06 11:46:58 +0100 |
---|---|---|
committer | justdave%syndicomm.com <> | 2002-02-06 11:46:58 +0100 |
commit | 2ddb47368170e74243086863fedc925300b45dd8 (patch) | |
tree | dfee4102def1287001f0d1d4ebcc3a030622425f /importxml.pl | |
parent | 9612f5b87b1503cdfc56c8170bead7cd47de783e (diff) | |
download | bugzilla-2ddb47368170e74243086863fedc925300b45dd8.tar.gz bugzilla-2ddb47368170e74243086863fedc925300b45dd8.tar.xz |
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 'importxml.pl')
-rwxr-xr-x | importxml.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/importxml.pl b/importxml.pl index e3532c53a..584855e29 100755 --- a/importxml.pl +++ b/importxml.pl @@ -114,7 +114,7 @@ sub MailMessage { $header.= "Subject: $subject\n\n"; open(SENDMAIL, - "|/usr/lib/sendmail -ODeliveryMode=background -t") || + "|/usr/lib/sendmail -ODeliveryMode=background -ti") || die "Can't open sendmail"; print SENDMAIL $header . $message . "\n"; close SENDMAIL; |