From c44aecc4d38732a8e18bf090a60b1d0b3ed99a3f Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Sat, 12 Jul 2008 02:31:05 +0000 Subject: [PATCH] Bug 444185: Make email_in.pl send errors with From as "mailfrom". Patch By Vincent Castellano r=mkanat, a=mkanat --- email_in.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/email_in.pl b/email_in.pl index 29725af63d..826b311726 100644 --- a/email_in.pl +++ b/email_in.pl @@ -354,7 +354,9 @@ sub die_handler { $msg =~ s/at .+ line.*$//ms; $msg =~ s/^Compilation failed in require.+$//ms; $msg = html_strip($msg); - my $reply = reply(to => $input_email, top_post => 1, body => "$msg\n"); + my $from = Bugzilla->params->{'mailfrom'}; + my $reply = reply(to => $input_email, from => $from, top_post => 1, + body => "$msg\n"); MessageToMTA($reply->as_string); } print STDERR "$msg\n"; -- 2.47.2