diff options
-rw-r--r-- | etc/rc | 9 | ||||
-rw-r--r-- | etc/rc.conf | 3 |
2 files changed, 10 insertions, 2 deletions
@@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.234 2004/02/25 08:42:38 jmc Exp $ +# $OpenBSD: rc,v 1.235 2004/02/26 07:33:08 beck Exp $ # System startup script run by init on autoboot # or after single-user. @@ -498,8 +498,15 @@ if [ "X${sendmail_flags}" != X"NO" -a -s /etc/mailer.conf ]; then fi if [ "X${spamd_flags}" != X"NO" ]; then + if [ "X${spamd_grey}" != X"NO" ]; then + spamd_flags="${spamd_flags} -g" + fi echo -n ' spamd'; /usr/libexec/spamd ${spamd_flags} /usr/libexec/spamd-setup + if [ "X${spamd_grey}" != X"NO" ]; then + echo -n ' spamlogd' + /usr/libexec/spamlogd + fi fi if [ "X${httpd_flags}" != X"NO" ]; then diff --git a/etc/rc.conf b/etc/rc.conf index f87d854f5c3..8a406d9cb27 100644 --- a/etc/rc.conf +++ b/etc/rc.conf @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: rc.conf,v 1.93 2004/02/11 23:17:33 beck Exp $ +# $OpenBSD: rc.conf,v 1.94 2004/02/26 07:33:08 beck Exp $ # set these to "NO" to turn them off. otherwise, they're used as flags routed_flags=NO # for normal use: "-q" @@ -34,6 +34,7 @@ httpd_flags=NO # for normal use: "" (or "-DSSL" after reading ssl(8)) # For normal use: "-L sm-mta -bd -q30m", and note there is a cron job sendmail_flags="-L sm-mta -C/etc/mail/localhost.cf -bd -q30m" spamd_flags=NO # for normal use: "" and see spamd-setup(8) +spamd_grey=NO # use spamd greylisting if YES # Set to NO if ftpd is running out of inetd ftpd_flags=NO # for non-inetd use: "-D" |