Commit b7fbcf61 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 561362: Remove the 'sendmailnow' parameter

r=justdave a=LpSolit
parent 5bb84b3c
......@@ -65,12 +65,6 @@ sub get_param_list {
},
{
name => 'sendmailnow',
type => 'b',
default => 1
},
{
name => 'smtpserver',
type => 't',
default => 'localhost'
......
......@@ -145,8 +145,6 @@ sub MessageToMTA {
push(@args, "-f$from_email") if $from_email;
}
}
push(@args, "-ODeliveryMode=deferred")
if !Bugzilla->params->{"sendmailnow"};
}
else {
# Sendmail will automatically append our hostname to the From
......
......@@ -766,22 +766,6 @@
<varlistentry>
<term>
sendmailnow
</term>
<listitem>
<para>
When Bugzilla is using Sendmail older than 8.12, turning this option
off will improve performance by not waiting for Sendmail to actually
send mail. If Sendmail 8.12 or later is being used, there is
nothing to gain by turning this off. If another MTA is being used,
such as Postfix, then this option *must* be turned on (even if you
are using the fake sendmail executable that Postfix provides).
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
whinedays
</term>
<listitem>
......
......@@ -271,8 +271,6 @@
Perl module, which Bugzilla uses to send email, can be configured to
use many different underlying implementations for actually sending the
mail using the <option>mail_delivery_method</option> parameter.
Implementations other than <literal>sendmail</literal> require that the
<option>sendmailnow</option> param be set to <literal>on</literal>.
</para>
</glossdef>
</glossentry>
......
......@@ -1786,13 +1786,8 @@ C:\perl&gt; <command>ppm install &lt;module name&gt;</command>
<ulink url="http://www.postfix.org/">Postfix</ulink>
is used as the built-in email server. Postfix provides an executable
that mimics sendmail enough to fool Bugzilla, as long as Bugzilla can
find it.</para>
<para>As of version 2.20, Bugzilla will be able to find the fake
sendmail executable without any assistance. However, you will have
to turn on the sendmailnow parameter before you do anything that would
result in email being sent. For more information, see the description
of the sendmailnow parameter in <xref linkend="parameters"/>.</para>
find it. Bugzilla is able to find the fake sendmail executable without
any assistance.</para>
</section>
......
......@@ -55,14 +55,6 @@
_ " won't get sent). This affects all mail sent by $terms.Bugzilla,"
_ " not just $terms.bug updates.",
sendmailnow => "Sites using anything older than version 8.12 of 'sendmail' " _
"can achieve a significant performance increase in the " _
"UI -- at the cost of delaying the sending of mail -- by " _
"disabling this parameter. Sites using 'sendmail' 8.12 or " _
"higher should leave this on, as they will see no benefit from " _
"turning it off. Sites using an MTA other than 'sendmail' " _
"<b>must</b> leave it on, or no $terms.bug mail will be sent.",
smtpserver => "The SMTP server address (if using SMTP for mail delivery).",
smtp_username => "The username to pass to the SMTP server for SMTP authentication. " _
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment