Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mysql problems? with Virtual Hosting Guide with Postfix
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
banderos
n00b
n00b


Joined: 16 Oct 2004
Posts: 73
Location: Australia

PostPosted: Sat Nov 06, 2004 3:40 am    Post subject: Mysql problems? with Virtual Hosting Guide with Postfix Reply with quote

I am up to Step 10 of the guide <a href="http://www.gentoo.org/doc/en/virt-mail-howto.xml#doc_chap10">here</a>.
Everything was working perfectly but since enabling the auth via mysql my IMAP has broken. Mutt on the mail server still works (send and receive). But my imap client on another pc can't login. Here are some logs I am seeing:

Nov 6 14:32:49 [imapd-ssl] LOGIN FAILED, ip=[10.1.1.10]
- Last output repeated 3 times -
Nov 6 14:33:33 [authdaemond.mysql] pam_mysql: select returned more than one result

I have checked the mailsql database and there are no duplicate entries. I have even removed all the virtual hosting stuff so the account I am trying to use is actually a local one.

Any ideas?
Back to top
View user's profile Send private message
langthang
Retired Dev
Retired Dev


Joined: 27 Nov 2003
Posts: 620

PostPosted: Sat Nov 06, 2004 4:15 am    Post subject: Reply with quote

assumed you are using cyrus-sasl-2.1.19, check /etc/conf.d/saslauthd for:
Code:
SASLAUTHD_OPTS="${SASLAUTH_MECH} -a pam -r"

then restart saslauthd:
Code:
# /etc/init.d/saslauthd restart
Back to top
View user's profile Send private message
banderos
n00b
n00b


Joined: 16 Oct 2004
Posts: 73
Location: Australia

PostPosted: Sat Nov 06, 2004 4:22 am    Post subject: Reply with quote

Solved the problem...

I didn't comment out a couple of lines in /etc/pamd/imap
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