From 2ddb47368170e74243086863fedc925300b45dd8 Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Wed, 6 Feb 2002 10:46:58 +0000 Subject: 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 r= afranke, bugzilla@bkor.dhs.org, jake --- processmail | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'processmail') diff --git a/processmail b/processmail index 844942728..4fcc424d2 100755 --- a/processmail +++ b/processmail @@ -771,7 +771,7 @@ sub NewProcessOnePerson ($$$$$$$$$$$$) { } if ($enableSendMail == 1) { - open(SENDMAIL, "|/usr/lib/sendmail $sendmailparam -t") || + open(SENDMAIL, "|/usr/lib/sendmail $sendmailparam -ti") || die "Can't open sendmail"; print SENDMAIL trim($msg) . "\n"; -- cgit v1.2.3-24-g4f1b