Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
6dff94ab
Commit
6dff94ab
authored
Apr 12, 2000
by
dmose%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use sendmail deferred delivery to avoid long hangs at bug submission time
parent
27a112e5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
checksetup.pl
checksetup.pl
+4
-0
processmail
processmail
+4
-3
No files found.
checksetup.pl
View file @
6dff94ab
...
...
@@ -1639,6 +1639,8 @@ if ( CountIndexes('cc') != 3 ) {
DropIndexes
(
'cc'
);
$dbh
->
do
(
"ALTER TABLE cc ADD UNIQUE (bug_id,who)"
);
$dbh
->
do
(
"ALTER TABLE cc ADD INDEX (who)"
);
$regenerateshadow
=
1
;
# cc fields no longer have spaces in them
}
if
(
CountIndexes
(
'keywords'
)
!=
3
)
{
...
...
@@ -1649,6 +1651,7 @@ if ( CountIndexes('keywords') != 3 ) {
DropIndexes
(
'keywords'
);
$dbh
->
do
(
"ALTER TABLE keywords ADD INDEX (keywordid)"
);
$dbh
->
do
(
"ALTER TABLE keywords ADD UNIQUE (bug_id,keywordid)"
);
}
#
...
...
@@ -1670,3 +1673,4 @@ if ($regenerateshadow) {
unlink
"data/versioncache"
;
print
"Reminder: Bugzilla now requires version 3.22.5 or later of MySQL.\n"
;
print
"Reminder: Bugzilla now requires version 8.7 or later of sendmail.\n"
;
processmail
View file @
6dff94ab
...
...
@@ -582,7 +582,7 @@ sub NewProcessOnePerson ($$\@\%\%\%$$$$) {
my
$template
=
Param
(
"newchangedmail"
);
my
$msg
=
PerformSubsts
(
$template
,
\%
substs
);
open
(
SENDMAIL
,
"|/usr/lib/sendmail -t"
)
||
open
(
SENDMAIL
,
"|/usr/lib/sendmail -
ODeliveryMode=deferred -
t"
)
||
die
"Can't open sendmail"
;
print
SENDMAIL
trim
(
$msg
)
.
"\n"
;
...
...
@@ -645,8 +645,9 @@ sub ProcessOneBug {
if
(
!
$regenerate
)
{
# Note: fixaddresses may result in a Cc: only. This seems
# harmless.
open
(
SENDMAIL
,
"|/usr/lib/sendmail -t"
)
||
die
"Can't open sendmail"
;
open
(
SENDMAIL
,
"|/usr/lib/sendmail -ODeliveryMode=deferred -t"
)
||
die
"Can't open sendmail"
;
print
SENDMAIL
$msg
;
close
SENDMAIL
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment