Re: Warning: imap_open(): Couldn't open stream error



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.

.



Relevant Pages

  • gdm hangs
    ... gdm will hang 9 of 10 times when logging out. ... with or without the client having been connected to the Server. ... # Timed login, useful for kiosks. ... Must output the chosen host on stdout, ...
    (Debian-User)
  • RE: OWA 2003 with ISA 2004
    ... OWA externally. ... i can login by any user. ... 825763 How to configure Internet access in Windows Small Business Server ... g. Reproduce this issue and send the logs to me. ...
    (microsoft.public.windows.server.sbs)
  • Re: Compromised Server? Anyone recognize the suspect Services?
    ... there are a bunch of logins for Website Accounts created by the ... The login accounts are for web sites that are on the ... Server management is ... right under Network Connections there were 3 ...
    (microsoft.public.windows.server.networking)
  • Re: IIS 6.0 FTP
    ... Server port: 21. ... I doubt IIS FTP has such feature. ... next, general 530 error indicating login failed, that could due to ... clients are using an order entry program created in Microsoft access. ...
    (microsoft.public.inetserver.iis.ftp)
  • Re: Terminal Services Setup/Flaw
    ... This still allows everyone to hit the TS Server but denies the login to ... Terminal Server with this user and then .rdp into another server on the ... I found the Remote ...
    (microsoft.public.windows.terminal_services)