Expand the sendmail settings section (from two to five) and elaborate

(in brief) on what it's all about.
This commit is contained in:
atatat 2003-03-24 15:20:36 +00:00
parent 9dc7b7c964
commit d47616429d
1 changed files with 22 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: rc.conf,v 1.46 2003/03/19 08:54:01 wiz Exp $
# $NetBSD: rc.conf,v 1.47 2003/03/24 15:20:36 atatat Exp $
#
# /etc/defaults/rc.conf --
# default configuration of /etc/rc.conf
@ -163,11 +163,31 @@ cron=YES
named=NO named_flags="" # see below for named_chrootdir
timed=NO timed_flags=""
ntpd=NO ntpd_flags="" # see below for ntpd_chrootdir
sendmail=NO sendmail_flags="-bd -q30m"
postfix=NO
lpd=NO lpd_flags="-s" # -s "secure" unix domain only
sshd=NO sshd_flags=""
# sendmail can now be run either as a suid root binary or as a sgid
# smmsp binary. In the former case, you must not have the file
# /etc/mail/submit.cf, otherwise sendmail will behave as if it was
# sgid. This can result in mail not being delivered.
#
# For those people who wish only to send mail (locally or remotely),
# but not receive mail (via the network) in the sgid case, you must
# also run the sendmail daemon with one of the following two options:
#
# -ODaemonPortOptions=Family=inet,Addr=127.0.0.1,Name=MTA
# -ODaemonPortOptions=Family=inet6,Addr=::1,Name=MTA6
#
# The smmsp process is a sendmail helper that periodically flushes the
# "client" queue in the sgid case. if you are using sendmail as a
# suid root program, then smmsp is not needed.
#
sendmail=NO sendmail_flags="-Lsm-mta -bd -q30m"
sendmail_suidroot=NO
smmsp=NO smmsp_flags="-Lsm-msp-queue -Ac -q30m"
# To run the named(8) DNS server as an unprivileged user under a
# chroot(2) cage, uncomment the following after migrating the contents
# of /etc/namedb to /var/chroot/named/etc/namedb