Browse Source

Flags and startup for smtpd/smtpfwdd - not enabled by default.

OPENBSD_2_3
beck 27 years ago
parent
commit
89821a6907
3 changed files with 13 additions and 3 deletions
  1. +3
    -1
      src/etc/inetd.conf
  2. +8
    -1
      src/etc/rc
  3. +2
    -1
      src/etc/rc.conf

+ 3
- 1
src/etc/inetd.conf View File

@ -1,9 +1,11 @@
# $OpenBSD: inetd.conf,v 1.18 1997/12/24 20:45:23 deraadt Exp $
# $OpenBSD: inetd.conf,v 1.19 1998/02/07 21:17:37 beck Exp $
# #
# Internet server configuration database # Internet server configuration database
# #
ftp stream tcp nowait root /usr/libexec/ftpd ftpd -US ftp stream tcp nowait root /usr/libexec/ftpd ftpd -US
telnet stream tcp nowait root /usr/libexec/telnetd telnetd -k telnet stream tcp nowait root /usr/libexec/telnetd telnetd -k
#smtpd - store/forward smtp daemon - see /usr/share/smtpd before enabling
#smtp stream tcp nowait root /usr/libexec/smtpd smtpd
shell stream tcp nowait root /usr/libexec/rshd rshd -L shell stream tcp nowait root /usr/libexec/rshd rshd -L
login stream tcp nowait root /usr/libexec/rlogind rlogind login stream tcp nowait root /usr/libexec/rlogind rlogind
#exec stream tcp nowait root /usr/libexec/rexecd rexecd #exec stream tcp nowait root /usr/libexec/rexecd rexecd


+ 8
- 1
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.62 1998/02/06 00:06:00 deraadt Exp $
# $OpenBSD: rc,v 1.63 1998/02/07 21:17:37 beck Exp $
# System startup script run by init on autoboot # System startup script run by init on autoboot
# or after single-user. # or after single-user.
@ -334,6 +334,13 @@ if [ "X${sendmail_flags}" != X"NO" -a -r /etc/sendmail.cf ]; then
echo -n ' sendmail'; /usr/sbin/sendmail ${sendmail_flags} echo -n ' sendmail'; /usr/sbin/sendmail ${sendmail_flags}
fi fi
# $smtpfwdd_flags is imported from /etc/rc.conf;
# If $smtpfwdd_flags == NO, smtpfwdd isn't run.
if [ "X${smtpfwdd_flags}" != X"NO" ]; then
echo -n ' smtpfwdd'; /usr/libexec/smtpfwdd ${smtpfwdd_flags}
fi
if [ X${inetd} = X"YES" ]; then if [ X${inetd} = X"YES" ]; then
echo -n ' inetd'; inetd echo -n ' inetd'; inetd
fi fi


+ 2
- 1
src/etc/rc.conf View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: rc.conf,v 1.11 1998/02/07 20:51:50 deraadt Exp $
# $OpenBSD: rc.conf,v 1.12 1998/02/07 21:17:37 beck Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags # set these to "NO" to turn them off. otherwise, they're used as flags
routed_flags=NO # for 'normal' use: routed_flags="-q" routed_flags=NO # for 'normal' use: routed_flags="-q"
@ -9,6 +9,7 @@ rarpd_flags=NO # for 'normal' use: rarpd_flags="-a"
bootparamd_flags=NO # for 'normal' use: bootparamd_flags="" bootparamd_flags=NO # for 'normal' use: bootparamd_flags=""
rbootd_flags=NO # for 'normal' use: rbootd_flags="" rbootd_flags=NO # for 'normal' use: rbootd_flags=""
sendmail_flags=NO # for 'normal' use: sendmail_flags="-bd -q30m" sendmail_flags=NO # for 'normal' use: sendmail_flags="-bd -q30m"
smtpfwdd_flags=NO # for 'normal' use: smtpfwdd_flags="", no -bd above.
named_flags=NO # for 'normal' use: named_flags="" named_flags=NO # for 'normal' use: named_flags=""
timed_flags=NO # for 'normal' use: timed_flags="" timed_flags=NO # for 'normal' use: timed_flags=""
photurisd_flags="" # for 'normal' use: photurisd_flags="" photurisd_flags="" # for 'normal' use: photurisd_flags=""


Loading…
Cancel
Save