]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 561362: Remove the 'sendmailnow' parameter
authorFrédéric Buclin <LpSolit@gmail.com>
Fri, 23 Apr 2010 16:01:40 +0000 (18:01 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Fri, 23 Apr 2010 16:01:40 +0000 (18:01 +0200)
r=justdave a=LpSolit

Bugzilla/Config/MTA.pm
Bugzilla/Mailer.pm
docs/en/xml/administration.xml
docs/en/xml/glossary.xml
docs/en/xml/installation.xml
template/en/default/admin/params/mta.html.tmpl

index b1e3ab1a48af978bace580a457aa35d60547dc70..c90e5dc763724e3f19f3c5c4b7ce6787cf3555a0 100644 (file)
@@ -64,12 +64,6 @@ sub get_param_list {
    checker => \&check_theschwartz_available,
   },
 
-  {
-   name => 'sendmailnow',
-   type => 'b',
-   default => 1
-  },
-
   {
    name => 'smtpserver',
    type => 't',
index fb9c5a7cac30c8e486f5b8346702010f38b2857d..596e8ab6532bd60df60cd3f21c1f91ca716741e1 100644 (file)
@@ -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
index 0c9a60ce20ad3bb63ff59b4d094110b61cb0846c..2a05404f18bde27b7d96ecb6f0886ac09c65c10c 100644 (file)
             </listitem>
           </varlistentry>
 
-          <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
index 127b94038c151a448c8f11c87c1439d5768a2010..48730b248e6fa53b23a69bc6a1063165f4af693b 100644 (file)
         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>
index c35f27f4e05dd7374af73cad479824f0f1ec4c70..bffcb9b4f7ea7c5b7bbe3eccf1d79f72e3cdb7ff 100644 (file)
@@ -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>
 
index 8533257f409b0710b799d0f8fd92092744902a36..872db801a624c361c9bc7ae6ff72f23050af5b61 100644 (file)
     _ " 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. " _