LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-07-2005, 01:37 AM   #1
alvinlch
LQ Newbie
 
Registered: Nov 2005
Posts: 1

Rep: Reputation: 0
MySQL Authentication with Dovecot and Horde/IMP


hi,

I am using Horde 3.0.5 / IMP -h3-4.0.4 to host a webmail server with MySQL Authentication. As MySQL is a container which hosts all the data, so I would like the IMAP server, Dovecot to use MySQL to run through the authentication so that no more authentication is needed.

and I found that in the dovecot.conf, I can configure the authenticate method by MySQL, which is like this:

auth userdb = mysql /etc/dovecot/dovecot-mysql.conf
auth passdb = mysql /etc/dovecot/dovecot-mysql.conf

though the file of dovecot-mysql. However, I don't know how to set the last two command:

password_query = SELECT password FROM users WHERE userid = '%u'
user_query = SELECT home, uid, gid FROM users WHERE userid = '%u'

Can I use the attributes in Horde SQL config to modify to

password_query = SELECT user_pass FROM horde_users WHERE user_uid = '%u'

How about the user database? how to do this ? I am exhausted of setting about this, please give me a hand!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IMP+Horde on PHP 4.3.7 Ryand833 Linux - Software 0 07-04-2004 12:58 PM
imp+horde linuxtesting2 Linux - General 0 06-27-2004 06:51 PM
horde/imp configuring koningshoed Linux - Software 1 02-17-2004 04:36 AM
Horde and IMP works 50% leeman_s Linux - General 1 11-17-2003 10:19 PM
Horde/IMP george3k Programming 0 09-14-2001 09:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration