- 论坛徽章:
- 0
|
谁帮我看看我的postfx+sasl+pam_mysql为什么不能认证
我用的也是2.1.17,难道真的是这个有问题?
另外,courier-imap不是使用mysql的用户认证的,而是使用系统用户认证是怎么回事呢,我的编译参数:
./configure --without-ipv6 --enable-unicode --enable-workarounds-for-imap-client-bugs --with-mysql-libs=/usr/local/lib/mysql --with-mysql-includes=/usr/local/include/mysql
/usr/lib/courier-imap/etc/authmysqlrc设置如下:
MYSQL_SERVER 127.0.0.1
MYSQL_USERNAME mail
MYSQL_PASSWORD mail
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_PORT 3306
MYSQL_OPT 0
MYSQL_DATABASE mail
MYSQL_USER_TABLE virtual_users
MYSQL_CRYPT_PWFIELD password
MYSQL_UID_FIELD uid
MYSQL_GID_FIELD gid
MYSQL_LOGIN_FIELD id
MYSQL_HOME_FIELD home
MYSQL_NAME_FIELD name
MYSQL_MAILDIR_FIELD maildir
MYSQL_QUOTA_FIELD quota
MYSQL_WHERE_CLAUSE imapok=1
DEFAULT_DOMAIN yejr.net |
|