Handle saslauthd upgrade.
[carnet-upgrade.git] / files / etc / default / saslauthd.expect
diff --git a/files/etc/default/saslauthd.expect b/files/etc/default/saslauthd.expect
new file mode 100644 (file)
index 0000000..f575985
--- /dev/null
@@ -0,0 +1,42 @@
+#
+# Settings for saslauthd daemon
+#
+
+# Should saslauthd run automatically on startup? (default: no)
+START=yes
+
+# Which authentication mechanisms should saslauthd use? (default: pam)
+#
+# Available options in this Debian package:
+# getpwent  -- use the getpwent() library function
+# kerberos5 -- use Kerberos 5
+# pam       -- use PAM
+# rimap     -- use a remote IMAP server
+# shadow    -- use the local shadow password file
+# sasldb    -- use the local sasldb database file
+# ldap      -- use LDAP (configuration is in /etc/saslauthd.conf)
+#
+# Only one option may be used at a time. See the saslauthd man page
+# for more information.
+#
+# Example: MECHANISMS="pam"
+MECHANISMS="pam"
+
+# Additional options for this mechanism. (default: none)
+# See the saslauthd man page for information about mech-specific options.
+MECH_OPTIONS=""
+
+# How many saslauthd processes should we run? (default: 5)
+# 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.
+#
+# 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"
+[ ! -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