X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=files%2Fetc%2Fdefault%2Fsaslauthd.expect;h=dcbe615623240cc49c3ad9d9ebc85a475a63d422;hb=8526717cdf359a40eecfdfc9604ea717c14965bc;hp=f5759855fa4b5621776ce5ff9ca1c043fc2b0155;hpb=fb6f8342e35d6a5f0754c028c47c721c92fd28c9;p=carnet-upgrade.git diff --git a/files/etc/default/saslauthd.expect b/files/etc/default/saslauthd.expect index f575985..dcbe615 100644 --- a/files/etc/default/saslauthd.expect +++ b/files/etc/default/saslauthd.expect @@ -1,10 +1,19 @@ # # Settings for saslauthd daemon +# Please read /usr/share/doc/sasl2-bin/README.Debian for details. # # Should saslauthd run automatically on startup? (default: no) START=yes +# Description of this saslauthd instance. Recommended. +# (suggestion: SASL Authentication Daemon) +DESC="SASL Authentication Daemon" + +# Short name of this saslauthd instance. Strongly recommended. +# (suggestion: saslauthd) +NAME="saslauthd" + # Which authentication mechanisms should saslauthd use? (default: pam) # # Available options in this Debian package: @@ -30,13 +39,19 @@ MECH_OPTIONS="" # A value of 0 will fork a new process for each connection. THREADS=5 -# Other options (default: -c) -# See the saslauthd man page for information about these options. +# Other options (default: -c -m /var/run/saslauthd) +# Note: You MUST specify the -m option or saslauthd won't run! +# +# WARNING: DO NOT SPECIFY THE -d OPTION. +# The -d option will cause saslauthd to run in the foreground instead of as +# a daemon. This will PREVENT YOUR SYSTEM FROM BOOTING PROPERLY. If you wish +# to run saslauthd in debug mode, please run it by hand to be safe. +# +# See /usr/share/doc/sasl2-bin/README.Debian for Debian-specific information. +# See the saslauthd man page and the output of 'saslauthd -h' for general +# information about these options. # # Example for postfix users: "-c -m /var/spool/postfix/var/run/saslauthd" -# Note: See /usr/share/doc/sasl2-bin/README.Debian -OPTIONS="-c" -PARAMS="-m /var/spool/postfix/var/run/saslauthd" -PIDFILE="/var/spool/postfix/var/run/saslauthd/saslauthd.pid" -PWDIR="/var/spool/postfix/var/run/saslauthd" +OPTIONS="-c -m /var/run/saslauthd" +OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd" [ ! -L /var/run/saslauthd -a -d /var/spool/postfix/var/run/saslauthd -a ! -d /var/run/saslauthd ] && ln -s /var/spool/postfix/var/run/saslauthd /var/run/saslauthd || true