summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Process
diff options
context:
space:
mode:
authorfukachan <fukachan>2005-01-01 08:36:29 +0000
committerfukachan <fukachan>2005-01-01 08:36:29 +0000
commitea9aa6aece75ac31a1efd16e0bdd8248557429df (patch)
treea1d0bd393027ae9667082825455ba6b2ae3a3677 /fml/lib/FML/Process
parent0e446dac14f5980de550c1fc04ef6b102e623b20 (diff)
downloadfml8-ea9aa6aece75ac31a1efd16e0bdd8248557429df.tar.gz
fml8-ea9aa6aece75ac31a1efd16e0bdd8248557429df.tar.bz2
fml8-ea9aa6aece75ac31a1efd16e0bdd8248557429df.zip
override Reply-To: and Errors-To: header fields to rewrite the address
the error message sent to in forwarding.
Diffstat (limited to 'fml/lib/FML/Process')
-rw-r--r--fml/lib/FML/Process/Error.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/fml/lib/FML/Process/Error.pm b/fml/lib/FML/Process/Error.pm
index cedf962e..40743b3b 100644
--- a/fml/lib/FML/Process/Error.pm
+++ b/fml/lib/FML/Process/Error.pm
@@ -3,7 +3,7 @@
# Copyright (C) 2002,2003,2004 Ken'ichi Fukamachi
# All rights reserved.
#
-# $FML: Error.pm,v 1.46 2004/07/23 13:00:57 fukachan Exp $
+# $FML: Error.pm,v 1.47 2004/12/05 16:19:10 fukachan Exp $
#
package FML::Process::Error;
@@ -315,6 +315,10 @@ sub _forward_error_message
my $msg = $curproc->incoming_message();
if ($maps) {
+ # override Reply-To: and Errors-To: header fields.
+ $config->{ outgoing_mail_header_errors_to } = $fml_owner;
+ $config->{ outgoing_mail_header_reply_to } = $fml_owner;
+
my $maps = $config->get_as_array_ref('maintainer_recipient_maps');
my $msg_args = {
smtp_sender => $fml_owner,