Hi,

>I'm trying to create a courier-imap/MySQL/Php webmail and I have some 
>problems to do so.

maybe you should first try to connect to your courier installation with a 
"normal" IMAP Client (like Mozilla Thunderbird).
If this works, it is a problem with your php - if not, it might be a problem 
with your installation/configuration of courier.

Bye,
Thomas.

>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Ex Nihilo
>Sent: Wednesday, January 25, 2006 5:54 PM
>To: courier-users@lists.sourceforge.net
>Subject: [courier-users] Courier-IMAP problem
>
>
>Hi,
>
>I'm trying to create a courier-imap/MySQL/Php webmail and I have some 
>problems to do so.
>
>
>When trying to connect to my INBOX through this function :
>
>
>$imaphost = "{".$servername.":143/}INBOX";
>$imapmsgbox = imap_open ($imaphost, $userlogin, $userpassword) or
>die("can't connect: " . imap_last_error());
>
>
>I get the following error message (after 1 minute ... it seems it's
>trying to connect):
>
>
>Warning: imap_open(): Couldn't open stream {localhost:143}INBOX in
>/var/www/html/includes/imap.inc.php on line 7
>can't connect: [CLOSED] IMAP connection broken (server response)
>
>
>The strange thing is in my maillog ...
>Jan 25 15:56:12 server imapd: Connection, ip=[::ffff:127.0.0.1]
>Jan 25 15:56:12 server authdaemond: received auth request,
>service=imap, authtype=cram-md5
>Jan 25 15:56:12 server authdaemond: authmysql: trying this module
>Jan 25 15:56:12 server authdaemond: cram:
>challenge=[blalbalblalba]response=[blablabla]
>Jan 25 15:56:12 server authdaemond: cram: decoded challenge/response,
>username '[EMAIL PROTECTED]'
>Jan 25 15:56:12 server authdaemond: SQL query: SELECT id, crypt, clear,
>uid, gid, home, maildir, quota, name, "" FROM passwd WHERE id =
>"[EMAIL PROTECTED]"
>Jan 25 15:56:12 server authdaemond: cram validation succeeded
>Jan 25 15:56:12 server authdaemond: Authenticated: sysusername=<null>,
>sysuserid=65534, sysgroupid=65534, homedir=/opt/users/c/e/cedric,
>[EMAIL PROTECTED], fullname=Cedric,
>maildir=/opt/users/c/e/cedric/Maildir, quota=100000, options=<null>
>Jan 25 15:56:12 server imapd: LOGIN, [EMAIL PROTECTED],
>ip=[::ffff:127.0.0.1], protocol=IMAP
>
>
>It seems i'm correctly logged in but have no response from the server.
>
>I can send mails to [EMAIL PROTECTED], they are delivered correctly in my 
>Maildir/new folder.
>
>
>Is there a problem with my Maildir folder, my courier/imap config ?
>
>
>I'm not a sysadmin (who's on vacation ...) and I have to fix this and make 
>the webmail works for friday, so I'd appreciate some help :)
>
>
>Many thanks,
>
>
>Cedric.
>
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>for problems?  Stop!  Download the new AJAX search engine that makes
>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
>_______________________________________________
>courier-users mailing list
>courier-users@lists.sourceforge.net
>Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to