Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I think courier-imap is broken :/
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
violator
n00b
n00b


Joined: 28 Oct 2003
Posts: 25

PostPosted: Sat Feb 28, 2004 7:54 am    Post subject: I think courier-imap is broken :/ Reply with quote

Hi again,

I followed a Courier-IMAP+Postfix+MySQL guide, and used the SASL2 step from the gentoo vmail guide to integrate SASL support into it. I've had this running quote well on my machine until recently. When I login, courier-IMAP only looks for my maildir, then quits, then gives me

Code:

-ERR Login failed.

The maildir field is filled in and proper, the maildir exists, but courier-imap just stops there. IE:

(from mysqld.log)
Code:

                    175 Query       select description from domain where domain = 'aggression.us'
                    176 Connect     postfix@localhost on postfix
                    176 Query       select maildir from mailbox where username = 'dean@aggression.us'
040227 23:15:02     172 Quit       


My authmysqlrc looks like this (tab delimited, courier hates spaces)

Code:

MYSQL_SERVER    127.0.0.1
MYSQL_USERNAME  postfix
MYSQL_PASSWORD  *******
#MYSQL_SOCKET   /tmp/mysql.sock
MYSQL_OPT       0
MYSQL_DATABASE  postfix
MYSQL_USER_TABLE        mailbox
MYSQL_CRYPT_PWFIELD     password
MYSQL_UID_FIELD '1002'
MYSQL_GID_FIELD '1002'
MYSQL_LOGIN_FIELD       username
MYSQL_HOME_FIELD        '/home/vmail'
MYSQL_NAME_FIELD        name
MYSQL_MAILDIR_FIELD     maildir

Any ideas?

btw postfix works perfectly. This config has been backed up (along with databases) from before I wiped my box, and it worked perfectly then.
_________________
Peter: "Oh oh brian brian, I'm having a religious experience. I'm getting a message in my alphabet soup! It says 'oooooo.'"
Brian: "Those are Cheerios, Peter."
Back to top
View user's profile Send private message
violator
n00b
n00b


Joined: 28 Oct 2003
Posts: 25

PostPosted: Sat Feb 28, 2004 8:00 pm    Post subject: Reply with quote

..anyone? *bump*
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