login problem
Christian Beilstein
cbeilstein at gmx.ch
Wed Feb 11 16:54:03 EST 2004
> Hi,
>
> When try connect me from MUA in messages log through this error:
>
> Feb 11 17:11:40 mymachine imap(pam_unix)[3395]: could not identify user (from getpwnam(user.domain.cl))
>
> Exist any way that cyrus take users created in mysql and not mapped over linux users??
yes, there is a way (using pam): use the module pam_mysql (google knows where to find it ;-)
set in /etc/imapd.conf:
imapsasl_pwcheck_method: saslauthd
start:
saslauthd -a pam
and configure pam_mysql the way you want to use it, eg in /etc/pam.d/imap
#%PAM-1.0
auth sufficient pam_mysql.so user=username passwd=mysecret host=localhost db=mail table=accountuser usercolumn=username passwdcolumn=password crypt=1 logtable=log logmsgcolumn=msg
logusercolumn=user loghostcolumn=host
account required pam_mysql.so user=username passwd=mysecret host=localhost db=mail table=accountuser usercolumn=username passwdcolumn=password crypt=1 logtable=log logmsgcolumn=msg
logusercolumn=user loghostcolumn=host
I would recommend to read the Postfix-Cyrus-Web-cyradmin-Howto; i've taken my configuration from there (and im using SuSE8.2, so the paths are takem from there)
greez
Chris
>
> Thanks in advance.
>
> Arturo
>
> ---
> Home Page: http://asg.web.cmu.edu/cyrus
> Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list