[Bug 239610] mail/sendmail: sendmail_enable="NO" only works in /etc/rc.conf

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Aug 3 09:33:11 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239610

            Bug ID: 239610
           Summary: mail/sendmail: sendmail_enable="NO" only works in
                    /etc/rc.conf
           Product: Base System
           Version: 12.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: conf
          Assignee: bugs at FreeBSD.org
          Reporter: freebsd-ports at charlieroot.de

Hi,

[helmut at BSDHelmut12 ~]$ sudo cat /etc/rc.conf.d/postfix
# Added by Puppet
postfix_enable="YES"
postfix_flags="-c /usr/local/etc/postfix"
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
[helmut at BSDHelmut12 ~]$

When booting sendmail is started anyway:

postfix: Postfix is running with backwards-compatible default settings
postfix: See http://www.postfix.org/COMPATIBILITY_README.html for details
postfix: To disable backwards compatibility use "postconf
compatibility_level=2" and "postfix reload"
postfix/postfix-script: starting the Postfix mail system
Starting sendmail_submit.
Starting sendmail_msp_queue.

If I put sendmail_enable="NO" in /etc/rc.conf or source /etc/rc.conf.d/postfix
in /etc.rc.conf then sendmail is not starting:

postfix: Postfix is running with backwards-compatible default settings
postfix: See http://www.postfix.org/COMPATIBILITY_README.html for details
postfix: To disable backwards compatibility use "postconf
compatibility_level=2" and "postfix reload"
postfix/postfix-script: starting the Postfix mail system

[helmut at BSDHelmut12 ~]$ uname -a
FreeBSD BSDHelmut12.charlieroot.de 12.0-RELEASE-p8 FreeBSD 12.0-RELEASE-p8
GENERIC  amd64
[helmut at BSDHelmut12 ~]$ ps auxww | grep [s]endmail
smmsp    877   0.0  0.7 16620  7020  -  Is   11:28   0:00.00 sendmail: Queue
runner at 00:30:00 for /var/spool/clientmqueue (sendmail)
[helmut at BSDHelmut12 ~]$

[helmut at BSDHelmut1164 ~]$ uname -a
FreeBSD BSDHelmut1164.charlieroot.de 11.2-RELEASE-p12 FreeBSD 11.2-RELEASE-p12
#0: Tue Jul 23 19:46:42 UTC 2019    
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
[helmut at BSDHelmut1164 ~]$ ps auxww | grep [s]endmail
root     764   0.0  0.7  10456   6684  -  Ss   11:29   0:00.01
/usr/sbin/sendmail -L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost
smmsp    767   0.0  0.6  10456   6580  -  Is   11:29   0:00.00 sendmail: Queue
runner at 00:30:00 for /var/spool/clientmqueue (sendmail)
[helmut at BSDHelmut1164 ~]$

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list