From: mkanat%bugzilla.org <> Date: Sat, 12 Jul 2008 02:29:19 +0000 (+0000) Subject: Bug 444185: Make email_in.pl send errors with From as "mailfrom". X-Git-Tag: bugzilla-3.2rc1~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9910e953a1510e64bb4850fadeff8059f789c988;p=thirdparty%2Fbugzilla.git Bug 444185: Make email_in.pl send errors with From as "mailfrom". Patch By Vincent Castellano r=mkanat, a=mkanat --- diff --git a/email_in.pl b/email_in.pl index 12be24471d..4f21eeab16 100644 --- a/email_in.pl +++ b/email_in.pl @@ -311,7 +311,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";