summaryrefslogtreecommitdiffstats
path: root/whine.pl
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-03-16 01:44:06 +0100
committertravis%sedsystems.ca <>2005-03-16 01:44:06 +0100
commit5d6b815d1ce8eece29e22e09781f890375f3c403 (patch)
treebaa11798e9e3fd48fc37db3f8b99ffa0e56cd997 /whine.pl
parenta54f3f23447038f15de353b3a8642701325b00ec (diff)
downloadbugzilla-5d6b815d1ce8eece29e22e09781f890375f3c403.tar.gz
bugzilla-5d6b815d1ce8eece29e22e09781f890375f3c403.tar.xz
Bug 135812 : Add a 'mailfrom' parameter to unify bugmail originating address
Patch by Cedric Caron <cedric.caron@urbanet.ch> r=wurblzap a=justdave
Diffstat (limited to 'whine.pl')
-rwxr-xr-xwhine.pl9
1 files changed, 4 insertions, 5 deletions
diff --git a/whine.pl b/whine.pl
index a13a129b4..0642ec5ab 100755
--- a/whine.pl
+++ b/whine.pl
@@ -99,14 +99,13 @@ if (Param('shutdownhtml')) {
}
-# Send whines from the maintainer address. It's not a good idea to use
-# the whine creator address because the admin can make more use of bounces and
-# other replies.
-my $fromaddress = Param('maintainer');
+# Send whines from the address in the 'mailfrom' Parameter so that all
+# Bugzilla-originated mail appears to come from a single address.
+my $fromaddress = Param('mailfrom');
if ($fromaddress !~ Param('emailregexp')) {
die "Cannot run. " .
- "The maintainer email address has not been properly set!\n";
+ "The Bugzilla email address has not been properly set!\n";
}
# Check the nomail file for users who should not receive mail