View previous topic :: View next topic |
Author |
Message |
banderos n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 16 Oct 2004 Posts: 73 Location: Australia
|
Posted: Sat Nov 06, 2004 3:40 am Post subject: Mysql problems? with Virtual Hosting Guide with Postfix |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
langthang Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 27 Nov 2003 Posts: 620
|
Posted: Sat Nov 06, 2004 4:15 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
banderos n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 16 Oct 2004 Posts: 73 Location: Australia
|
Posted: Sat Nov 06, 2004 4:22 am Post subject: |
|
|
Solved the problem...
I didn't comment out a couple of lines in /etc/pamd/imap |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|