From 5d6b815d1ce8eece29e22e09781f890375f3c403 Mon Sep 17 00:00:00 2001 From: "travis%sedsystems.ca" <> Date: Wed, 16 Mar 2005 00:44:06 +0000 Subject: Bug 135812 : Add a 'mailfrom' parameter to unify bugmail originating address Patch by Cedric Caron r=wurblzap a=justdave --- defparams.pl | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'defparams.pl') diff --git a/defparams.pl b/defparams.pl index 5e2110d61..30e7ed72a 100644 --- a/defparams.pl +++ b/defparams.pl @@ -307,6 +307,14 @@ sub find_languages { default => 'THE MAINTAINER HAS NOT YET BEEN SET' }, + { + name => 'mailfrom', + desc => 'The email address of the Bugzilla mail daemon. Some email systems ' . + 'require this to be a valid email address.', + type => 't', + default => 'bugzilla-daemon' + }, + { name => 'urlbase', desc => 'The URL that is the common initial leading part of all Bugzilla ' . @@ -718,9 +726,10 @@ sub find_languages { 'password. %anythingelse% gets replaced by the ' . 'definition of that parameter (as defined on this page).', type => 'l', - default => 'From: bugzilla-daemon + default => 'From: %mailfrom% To: %mailaddress% Subject: Your Bugzilla password. +X-Bugzilla-Type: admin To use the wonders of Bugzilla, you can use the following: @@ -753,11 +762,12 @@ To use the wonders of Bugzilla, you can use the following: 'replaced by the definition of that parameter (as defined on ' . 'this page).', type => 'l', - default => 'From: bugzilla-daemon + default => 'From: %mailfrom% To: %to% Subject: [Bug %bugid%] %neworchanged%%summary% %threadingmarker% X-Bugzilla-Reason: %reasonsheader% +X-Bugzilla-Type: newchanged %urlbase%show_bug.cgi?id=%bugid% @@ -789,9 +799,10 @@ Configure bugmail: %urlbase%userprefs.cgi?tab=email 'address, so that if the mail bounces, a real person can know '. 'that there are bugs assigned to an invalid address.', type => 'l', - default => 'From: %maintainer% + default => 'From: %mailfrom% To: %email% Subject: Your Bugzilla buglist needs attention. +X-Bugzilla-Type: whine [This e-mail has been automatically generated.] @@ -1032,9 +1043,10 @@ You will get this message once a day until you\'ve dealt with these bugs! 'compatibility. %anythingelse% gets replaced by the ' . 'definition of that parameter (as defined on this page).', type => 'l', - default => 'From: bugzilla-daemon + default => 'From: %mailfrom% To: %to% Subject: [Bug %bugid%] Some or all of your votes have been removed. +X-Bugzilla-Type: voteremoved Some or all of your votes have been removed from bug %bugid%. -- cgit v1.2.3-24-g4f1b