From bfa46b6d8fcedaedb7c879e62756efe1b18b7869 Mon Sep 17 00:00:00 2001 From: fukachan Date: Thu, 30 Dec 2004 04:23:34 +0000 Subject: rewrite_errors_to use $outgoing_mail_header_errors_to to rewrite Errors-To: header field ($maintainer by default). --- fml/lib/FML/Header.pm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'fml/lib') diff --git a/fml/lib/FML/Header.pm b/fml/lib/FML/Header.pm index 26a76f35..a8d527bd 100644 --- a/fml/lib/FML/Header.pm +++ b/fml/lib/FML/Header.pm @@ -4,7 +4,7 @@ # All rights reserved. This program is free software; you can # redistribute it and/or modify it under the same terms as Perl itself. # -# $FML: Header.pm,v 1.78 2004/07/23 15:59:00 fukachan Exp $ +# $FML: Header.pm,v 1.79 2004/10/28 03:34:47 fukachan Exp $ # package FML::Header; @@ -501,8 +501,9 @@ sub rewrite_reply_to sub rewrite_errors_to { my ($header, $config, $rw_args) = @_; - - $header->add('Errors-To', $config->{ maintainer }); + my $value = $config->{ outgoing_mail_header_errors_to }; + + $header->add('Errors-To', $value); } -- cgit v1.2.1