diff options
author | 1998-02-07 21:17:37 +0000 | |
---|---|---|
committer | 1998-02-07 21:17:37 +0000 | |
commit | f9eade57731be660807c0a50316401ec68bc5afc (patch) | |
tree | b42b4951105fab5a4edee5dde54c770e151b04fd | |
parent | add smtpd directory. (diff) | |
download | wireguard-openbsd-f9eade57731be660807c0a50316401ec68bc5afc.tar.xz wireguard-openbsd-f9eade57731be660807c0a50316401ec68bc5afc.zip |
Flags and startup for smtpd/smtpfwdd - not enabled by default.
-rw-r--r-- | etc/inetd.conf | 4 | ||||
-rw-r--r-- | etc/rc | 9 | ||||
-rw-r--r-- | etc/rc.conf | 3 |
3 files changed, 13 insertions, 3 deletions
diff --git a/etc/inetd.conf b/etc/inetd.conf index cd47f51f45b..b7664dd3fe5 100644 --- a/etc/inetd.conf +++ b/etc/inetd.conf @@ -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 # ftp stream tcp nowait root /usr/libexec/ftpd ftpd -US 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 login stream tcp nowait root /usr/libexec/rlogind rlogind #exec stream tcp nowait root /usr/libexec/rexecd rexecd @@ -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 # 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} 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 echo -n ' inetd'; inetd fi diff --git a/etc/rc.conf b/etc/rc.conf index b0ffec36177..2becc64afca 100644 --- a/etc/rc.conf +++ b/etc/rc.conf @@ -1,6 +1,6 @@ #!/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 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="" rbootd_flags=NO # for 'normal' use: rbootd_flags="" 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="" timed_flags=NO # for 'normal' use: timed_flags="" photurisd_flags="" # for 'normal' use: photurisd_flags="" |