1 message in net.sourceforge.lists.courier-users[courier-users] MYSQL_MAILDIR_FIELD m...
FromSent OnAttachments
Stephen CorcoranApr 27, 2005 3:03 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] MYSQL_MAILDIR_FIELD missing in select statementActions...
From:Stephen Corcoran (step@gmail.com)
Date:Apr 27, 2005 3:03:31 am
List:net.sourceforge.lists.courier-users

Hi Guys,

I am configuring imap to authenticate against mysql.

Instead of using a new database I am using my own . I have set up the authmysqlrc file as follows

MYSQL_SERVER <IP address> MYSQL_USERNAME <db username> MYSQL_PASSWORD <db password> MYSQL_SOCKET /tmp/mysql.sock MYSQL_DATABASE subscriber MYSQL_USER_TABLE subscriber MYSQL_CLEAR_PWFIELD mailboxPassword MYSQL_UID_FIELD 700 MYSQL_GID_FIELD 700 MYSQL_LOGIN_FIELD mailboxUsername MYSQL_HOME_FIELD home MYSQL_MAILDIR_FIELD maildir

When I send a mail to a particular account it gets authenticated successfully, however the select statement does not pick up the value in the database for MYSQL_MAILDIR_FIELD

SQL query: SELECT mailboxUsername, "", mailboxPassword, 700, 700, home, "", "", "", "" FROM subscriber WHERE mailboxUsername = "353866090981"

There is no reference to maildir in the select statement so no value gets extracted

I have actually seen it in the debug - in the select statement below maildir is used

SQL query: SELECT mailboxUsername, "", mailboxPassword, 700, 700, home, maildir, "", "", "" FROM subscriber WHERE mailboxUsername = "353866090981"

Can you tell me what I need to do to make sure that maildir gets successfully included in the select statement ?

Thanks

Much appreciated

Steve