Re: Warning: imap_open(): Couldn't open stream error
- From: "arkis" <cedric@xxxxxxxxxxxxxxxxx>
- Date: 20 Jan 2006 03:04:52 -0800
Thanks a lot, it worked but I still have a problem with imap_open()
Warning: imap_open(): Couldn't open stream
{localhost:143/novalidate-cert} in /var/www/html/webmail/index.php on
line 168
can't connect: Can not authenticate to IMAP server: Login failed.
My maillog :
Jan 20 11:55:04 server authdaemond: received auth request,
service=imap, authtype=cram-md5
Jan 20 11:55:04 server authdaemond: authmysql: trying this module
Jan 20 11:55:04 server authdaemond: cram: challenge=[blablabla..].==,
response=[blablabla...]
Jan 20 11:55:04 server authdaemond: cram: decoded challenge/response,
username '[username]'
Jan 20 11:55:04 server authdaemond: SQL query: SELECT id, crypt, "",
uid, gid, home, maildir, quota, name, "" FROM passwd WHERE id =
"[username]"
Jan 20 11:55:04 server authdaemond: authmysql: REJECT - try next module
Jan 20 11:55:04 server authdaemond: FAIL, all modules rejected
Jan 20 11:55:04 server imapd: LOGIN FAILED, method=CRAM-MD5,
ip=[::ffff:127.0.0.1]
When I connect with Squirrelmail (doesn't use imap_open), it works and
the maillog is :
Jan 20 12:00:39 server authdaemond: received auth request,
service=imap, authtype=login
Jan 20 12:00:39 server authdaemond: authmysql: trying this module
Jan 20 12:00:39 server authdaemond: SQL query: SELECT id, crypt, "",
uid, gid, home, maildir, quota, name, "" FROM passwd WHERE id =
"[username]"
Jan 20 12:00:39 server authdaemond: password matches successfully
The only difference seems to be authtype. Is there a problem with
cram-md5 ?
how should I change my setup to connect (change the authtype to login
?!?!) ?
Thanks,
Cedric.
.
- Follow-Ups:
- Re: Warning: imap_open(): Couldn't open stream error
- From: ZeldorBlat
- Re: Warning: imap_open(): Couldn't open stream error
- References:
- Warning: imap_open(): Couldn't open stream error
- From: cedric
- Re: Warning: imap_open(): Couldn't open stream error
- From: ZeldorBlat
- Warning: imap_open(): Couldn't open stream error
- Prev by Date: file errors
- Next by Date: Passing array of objects in SOAP
- Previous by thread: Re: Warning: imap_open(): Couldn't open stream error
- Next by thread: Re: Warning: imap_open(): Couldn't open stream error
- Index(es):
Relevant Pages
|