Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Courier-imap, Mysql, and virtual users
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Beavis
n00b
n00b


Joined: 22 May 2002
Posts: 24
Location: Dirty Jersey

PostPosted: Fri Jul 05, 2002 2:11 pm    Post subject: Courier-imap, Mysql, and virtual users Reply with quote

Has anybody tried to use the mysql authentication for courier-imap? I have postfix working beautifully... but courier does not seem to even recognize mysql. I have the authdaemond.mysql compiled and the authmysqlrc seems to be configured right... Anyone tried this combo or ran into any similar probs?

Thanks,

Beavis
Back to top
View user's profile Send private message
cbrese
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jul 2002
Posts: 126
Location: San Diego, CA

PostPosted: Tue Aug 06, 2002 10:53 pm    Post subject: Reply with quote

Did you ever get this to work? I'm having the same problem.
Back to top
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Thu Aug 08, 2002 12:58 am    Post subject: Reply with quote

I have this setup on one of my server and it works great with postfix and courier-imap doing lookups to the same db.

One problem I ran into was authdaemond.mysql never actually trying to connect to mysql. That has been fixed in recent versions. Did you double check that mysql is logging, and tail -f the query log? That will tell you if it is logging in, and if so what it is checking for.
_________________
- Kyle Manna

Please, please SEARCH before posting.

There are three kinds of people in the world: those who can count, and those who can't.
Back to top
View user's profile Send private message
cbrese
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jul 2002
Posts: 126
Location: San Diego, CA

PostPosted: Thu Aug 08, 2002 5:47 am    Post subject: Reply with quote

I got it working, I had a couple of problems. The mysql.sock was wrong and I used PASSWORD() instead on ENCRYPT() to store the encrypted password.
Back to top
View user's profile Send private message
Beavis
n00b
n00b


Joined: 22 May 2002
Posts: 24
Location: Dirty Jersey

PostPosted: Thu Aug 08, 2002 12:59 pm    Post subject: Reply with quote

I actually got this to work a while ago... everything was ok xcept one setting in courier... one of those "YOU MUST COMMENT THIS LINE FOR XXX TO START" settings...

felt like a doof, but at least it works now :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum