aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-03-16 00:44:06 +0000
committertravis%sedsystems.ca <>2005-03-16 00:44:06 +0000
commit5d6b815d1ce8eece29e22e09781f890375f3c403 (patch)
treebaa11798e9e3fd48fc37db3f8b99ffa0e56cd997 /whine.pl
parentBug 280517 : Let me know who is watching my account (diff)
downloadbugzilla-5d6b815d1ce8eece29e22e09781f890375f3c403.tar.gz
bugzilla-5d6b815d1ce8eece29e22e09781f890375f3c403.tar.bz2
bugzilla-5d6b815d1ce8eece29e22e09781f890375f3c403.zip
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