summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuan Van <langthang@gentoo.org>2004-08-27 06:02:45 +0000
committerTuan Van <langthang@gentoo.org>2004-08-27 06:02:45 +0000
commit5ac060de657351159a16c0be3d7a665dcd620ba4 (patch)
tree1427241a303149d20f32aefa567e723a60eaaa5d /net-mail
parentstable for x86 (Manifest recommit) (diff)
downloadgentoo-2-5ac060de657351159a16c0be3d7a665dcd620ba4.tar.gz
gentoo-2-5ac060de657351159a16c0be3d7a665dcd620ba4.tar.bz2
gentoo-2-5ac060de657351159a16c0be3d7a665dcd620ba4.zip
add options to use auxprop with sql.
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/cyrus-imapd/ChangeLog5
-rw-r--r--net-mail/cyrus-imapd/files/imapd.conf25
2 files changed, 28 insertions, 2 deletions
diff --git a/net-mail/cyrus-imapd/ChangeLog b/net-mail/cyrus-imapd/ChangeLog
index f837078210b1..d7a6065f65f3 100644
--- a/net-mail/cyrus-imapd/ChangeLog
+++ b/net-mail/cyrus-imapd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-mail/cyrus-imapd
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imapd/ChangeLog,v 1.46 2004/08/27 00:16:56 kugelfang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imapd/ChangeLog,v 1.47 2004/08/27 06:02:45 langthang Exp $
+
+ 26 Aug 2004; Tuan Van <langthang@gentoo.org> files/imapd.conf:
+ add options to use auxprop with sql.
*cyrus-imapd-2.2.8 (27 Aug 2004)
diff --git a/net-mail/cyrus-imapd/files/imapd.conf b/net-mail/cyrus-imapd/files/imapd.conf
index 5fc185370d79..f4db3a462e15 100644
--- a/net-mail/cyrus-imapd/files/imapd.conf
+++ b/net-mail/cyrus-imapd/files/imapd.conf
@@ -1,4 +1,4 @@
-# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imapd/files/imapd.conf,v 1.4 2004/07/18 04:02:23 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imapd/files/imapd.conf,v 1.5 2004/08/27 06:02:45 langthang Exp $
# Don't forget to use chattr +S (if you are using ext[23])
# when you change these directories (read the docs).
@@ -27,3 +27,26 @@ allowplaintext: no
# But be warned: login with DIGEST-MD5 or CRAM-MD5
# is not possible using pam.
#sasl_pwcheck_method: saslauthd
+
+####################################################
+## This is a recommended authentication method if you
+## emerge cyrus-sasl with 'postgres' or 'mysql'
+## To use with mysql database uncomment those lines below.
+
+#sasl_pwcheck_method: auxprop
+#sasl_auxprop_plugin: sql
+
+## possible values for sasl_auxprop_plugin 'mysql', 'pgsql', 'sqlite'.
+#sasl_sql_engine: mysql
+
+## all possible values.
+#sasl_mech_list: LOGIN PLAIN CRAM-MD5 DIGEST-MD5 NTLM
+## or limit to CRAM-MD5 only
+#sasl_mech_list: CRAM-MD5
+
+## change below to suit your setup.
+sasl_sql_user: mailsqluser
+sasl_sql_passwd: password
+sasl_sql_database: mailsqldb
+sasl_sql_hostnames: localhost
+sasl_sql_select: SELECT clear FROM users WHERE email = '%u@%r'