aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordmose%mozilla.org <>2000-04-12 07:25:37 +0000
committerdmose%mozilla.org <>2000-04-12 07:25:37 +0000
commit6dff94ab87e983958e91b9eef4cee7a9deb0d84c (patch)
treee6875367151fdffdeab687070ee6e7e8fc81ac9c /processmail
parentadd link to unconfirmed (diff)
downloadbugzilla-6dff94ab87e983958e91b9eef4cee7a9deb0d84c.tar.gz
bugzilla-6dff94ab87e983958e91b9eef4cee7a9deb0d84c.tar.bz2
bugzilla-6dff94ab87e983958e91b9eef4cee7a9deb0d84c.zip
use sendmail deferred delivery to avoid long hangs at bug submission time
Diffstat (limited to 'processmail')
-rwxr-xr-xprocessmail7
1 files changed, 4 insertions, 3 deletions
diff --git a/processmail b/processmail
index 8c8ad8719..b81398680 100755
--- a/processmail
+++ b/processmail
@@ -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;