diff options
author | travis%sedsystems.ca <> | 2005-03-16 00:44:06 +0000 |
---|---|---|
committer | travis%sedsystems.ca <> | 2005-03-16 00:44:06 +0000 |
commit | 5d6b815d1ce8eece29e22e09781f890375f3c403 (patch) | |
tree | baa11798e9e3fd48fc37db3f8b99ffa0e56cd997 /whine.pl | |
parent | Bug 280517 : Let me know who is watching my account (diff) | |
download | bugzilla-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-x | whine.pl | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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 |