Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Feb 2010 19:00:20 GMT
From:      Garrett Cooper <gcooper@FreeBSD.org>
To:        freebsd-rc@FreeBSD.org
Subject:   Re: conf/143851: [patch] Some rc.d scripts confuse NO with NONE
Message-ID:  <201002131900.o1DJ0Khw080613@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/143851; it has been noted by GNATS.

From: Garrett Cooper <gcooper@FreeBSD.org>
To: bug-followup@FreeBSD.org, mah@jump-ing.de
Cc:  
Subject: Re: conf/143851: [patch] Some rc.d scripts confuse NO with NONE
Date: Sat, 13 Feb 2010 10:55:53 -0800

     As noted by brucec, the rc.sendmail(8) manpage already mentions NO
 vs NONE's use:
 
      sendmail_enable
              (str) If set to ``YES'', run the sendmail(8) daemon at system
              boot time.  If set to ``NO'', do not run a sendmail(8) daemon to
              listen for incoming network mail.  This does not preclude a
              sendmail(8) daemon listening on the SMTP port of the loopback
              interface.  The ``NONE'' option is deprecated and should not be
              used.  It will be removed in a future release.
 
 # ...
 
            # MTA
            if (${sendmail_enable} == NONE)
                    # Do nothing
            else if (${sendmail_enable} == YES)
                    start sendmail with ${sendmail_flags}
            else if (${sendmail_submit_enable} == YES)
                    start sendmail with ${sendmail_submit_flags}
            else if (${sendmail_outbound_enable} == YES)
                    start sendmail with ${sendmail_outbound_flags}
            endif
 
            # MSP Queue Runner
            if (${sendmail_enable} != NONE &&
                [ -r /etc/mail/submit.cf] &&
                ${sendmail_msp_queue_enable} == YES)
                    start sendmail with ${sendmail_msp_queue_flags}
            endif
 
     So the option can be removed eventually, but not today...
 Thanks,
 -Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002131900.o1DJ0Khw080613>