Browse Source

introduce spamlogd_flags to make it easier to e. g. bind spamlogd

to an interface; no change in default config
from Toni Mueller <support@oeko.net>, ja ja ja ja bob
OPENBSD_3_7
henning 19 years ago
parent
commit
9adb28cbb2
2 changed files with 4 additions and 3 deletions
  1. +2
    -2
      src/etc/rc
  2. +2
    -1
      src/etc/rc.conf

+ 2
- 2
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.258 2004/10/22 00:59:09 itojun Exp $
# $OpenBSD: rc,v 1.259 2004/11/03 18:04:46 henning Exp $
# System startup script run by init on autoboot
# or after single-user.
@ -572,7 +572,7 @@ if [ "X${spamd_flags}" != X"NO" ]; then
/usr/libexec/spamd-setup
if [ "X${spamd_grey}" != X"NO" ]; then
echo -n ' spamlogd'
/usr/libexec/spamlogd
/usr/libexec/spamlogd ${spamlogd_flags}
fi
fi


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

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: rc.conf,v 1.103 2004/09/18 20:28:17 jmc Exp $
# $OpenBSD: rc.conf,v 1.104 2004/11/03 18:04:47 henning Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags
routed_flags=NO # for normal use: "-q"
@ -37,6 +37,7 @@ httpd_flags=NO # for normal use: "" (or "-DSSL" after reading ssl(8))
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
spamlogd_flags="" # use eg. "-i interface" and see spamlogd(8)
# Set to NO if ftpd is running out of inetd
ftpd_flags=NO # for non-inetd use: "-D"


Loading…
Cancel
Save