btw I owe an explanation:
credits go to Michael Muenz to point out that in
/etc/init.d/saslauthd should be
MECH=pam
and in
/etc/sysconfig/saslauthd should be
#MECH=shadow
SASL_AUTHMECH=pam
thank you who helped!
On 2/17/06, Cheeto <[EMAIL PROTECTED]
> wrote:
Hi,
Please make sure your saslauthd is set to use the correct mechanism, check the saslauthd startup script and be sure it starts up saslauthd with the '-a pam' argument and NOT '-a shadow' or '-a sasldb'.
I think you should also try debugging at the mysql level. Enable query logging and makes sure:
1) PAM is connecting to mysql and is able to log in as user mail with the password supplied in your /etc/pam.d files (try using the mail login using `mysql -u mail -p` as well from localhost)
2) The query it is performing on the database is correct and returns only one result. Check the query that gets dumped into the logs and run it by hand to see what it returns.
On Fri, 2006-02-17 at 16:26 +0200, Networks & Systems Admin wrote:
I have already sent out my pam files to see a few times...
here we go again
/etc/pam.d/imap pop sieve and smtp all use the same
auth sufficient pam_mysql.so user=mail passwd=xxx host=localhost db=mail table=accountuser usercolumn=username passwdcolumn=password crypt=0 logtable=log logmsgcolumn=msg logusercolumn=user loghostcolumn=host logpidcolumn=pid logtimecolumn=time
account required pam_mysql.so user=mail passwd=xxx host=localhost db=mail table=accountuser usercolumn=username passwdcolumn=password crypt=0 logtable=log logmsgcolumn=msg logusercolumn=user loghostcolumn=host logpidcolumn=pid logtimecolumn=time
On 2/17/06, Darrell Berry < [EMAIL PROTECTED]> wrote:
You shouldn't need that - check your PAM settings to see how you are authenticating, maybe?
-----Original Message-----
>From: "Networks & Systems Admin"<[EMAIL PROTECTED]>
>Sent: 17/02/06 12:58:20
>To: "[email protected]"< [email protected]>
>Subject: Re: [Web-cyradm] trouble with Postfix + MySQL +CyrusIMAPd+Web-Cyradmintegration - on CentOS 4.2 - RHEL 4 "clone"
>
>i think now I know where was I going wrong...
>I missed the fact the there has to be a system user (/etc/passwd/) with the
>same password as the user created with web-cyradm...
>I just reset system jdoe user's system password (passwd joe - shadow) to the
>same pwd as the web-cyradm user jdoe's password
>and now I can send and receive emails from my laptop from my email client
>I must say I don't like this - I wanted virtual users! not system users and
>I want encrypted passwords in mail database not cleartext ones...
>Any ideeas?
>
>On 2/17/06, Muenz, Michael <[EMAIL PROTECTED]> wrote:
>>
>> > I can't configure my email client to connect to the imap server
>> > I see the client coming trough to the mailsrv1 on the local
>> > interface but in the client all I get is
>> > Could not connect to mai server 192.168.100.1 the Connection
>> > was refused
>>
>> Try to connect to IMAP Port with a telnetsession from remote,
>> not local (like imtest). Search in /var/spool/imap/xxx if the
>> user "jdoe" exists, and>
[Message truncated. Tap Edit->Mark for Download to get remaining portion.]
_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch
_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm
_______________________________________________ This mailing list is hosted and supported by bit-heads GmbH | http://www.bit-heads.ch_______________________________________________ Web-cyradm mailing list [email protected] http://www.web-cyradm.org/mailman/listinfo/web-cyradm
_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch
_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm
_______________________________________________ This mailing list is hosted and supported by bit-heads GmbH | http://www.bit-heads.ch _______________________________________________ Web-cyradm mailing list [email protected] http://www.web-cyradm.org/mailman/listinfo/web-cyradm
