[imp] Can't authenticate against my IMAP Server
Liam Hoekenga
liamr at umich.edu
Tue Mar 4 17:57:00 UTC 2008
Neither Roundecube nor Squirrelmail use the PHP IMAP extension. They use
IMAP stacks written completely in PHP.
Liam
On Tue, 4 Mar 2008, Philip MacIver wrote:
> Not true. I used squirrelmail to connect to the server and that worked
> fine. Even roundcube worked. And they are both PHP.
>
>
>
> On Tue, 04 Mar 2008 18:50:44 +0100
> Jan Schneider <jan at horde.org> wrote:
>
>> Zitat von Philip MacIver <philip at ivercore.com>:
>>
>>> Oh well, I guess I'll just have to try to find another webmail
>>> client then.
>>
>> That doesn't help if that client uses PHP's imap extension too.
>>
>>> Thanks for the help anyway.
>>>
>>> Just as a last resort this is what the log from my claws-mail says
>>>
>>> --8<--
>>> [18:06:10] IMAP4< * OK [CAPABILITY IMAP4REV1 LITERAL+ SASL-IR
>>> LOGIN-REFERRALS AUTH=PLAIN AUTH=LOGIN] slashmail.org IMAP4rev1
>>> 2006j.389 at Tue, 4 Mar 2008 11:06:10 -0600 (CST)
>>> [18:06:19] IMAP4> 1 CAPABILITY
>>> [18:06:19] IMAP4< * CAPABILITY IMAP4REV1 LITERAL+ IDLE UIDPLUS
>>> NAMESPACE CHILDREN MAILBOX-REFERRALS BINARY UNSELECT ESEARCH SCAN
>>> SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND SASL-IR
>>> LOGIN-REFERRALS AUTH=PLAIN AUTH=LOGIN [18:06:19] IMAP4< 1 OK
>>> CAPABILITY completed [18:06:19] IMAP4> Logging xxxxxxxx to
>>> slashmail.org using LOGIN [18:06:19] IMAP4< User xxxxxxxx
>>> authenticated [18:06:19] IMAP4< Login to slashmail.org successful
>>> --8<--
>>>
>>> This any help?
>>
>> PLAIN authentication is working fine with PHP. But since you said
>> you have access to the server, didn't you check the imap server logs?
>>
>>> On Tue, 04 Mar 2008 18:07:55 +0100
>>> Jan Schneider <jan at horde.org> wrote:
>>>
>>>> Zitat von Philip MacIver <philip at ivercore.com>:
>>>>
>>>>> Thanks for the quick reply. But the details that I enter into the
>>>>> test are the same details I enter into claws-mail client, and
>>>>> that works fine.
>>>>>
>>>>> Is there anything that could be the cause?
>>>>
>>>> Your imap server could use an authentication method that php, or
>>>> rather c-client, doesn't support.
>>>>
>>>>> On Tue, 04 Mar 2008 17:43:09 +0100
>>>>> Jan Schneider <jan at horde.org> wrote:
>>>>>
>>>>>> Zitat von Philip MacIver <philip at ivercore.com>:
>>>>>>
>>>>>>> I do have access to the whole system, as I am running tests
>>>>>>> on a local machine before I deploy it on the actual server. I
>>>>>>> just don't know where horde/imp logs its messages to.
>>>>>>>
>>>>>>> But I went ahead a ran the tests as you suggested and this was
>>>>>>> what I got.
>>>>>>>
>>>>>>> Now am trying to connect to my IMAP server using imap/ssl,
>>>>>>> but as you see below it gives me a certificate failure, which
>>>>>>> I don't actually know what it means.
>>>>>>
>>>>>> It doesn't matter, because you can't authenticate with the
>>>>>> credentials you entered. imap/ssl/novalidate-cert is the
>>>>>> protocol of your choice, but not with the wrong username and
>>>>>> password. ;-)
>>>>>>
>>>>>>> Can you shed any light on that error message?
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> --8<--
>>>>>>> PHP Mail Server Support Test
>>>>>>> Attempting to automatically determine the correct connection
>>>>>>> parameters for your server:
>>>>>>>
>>>>>>> * Trying protocol imap/notls, Port 993:
>>>>>>>
>>>>>>> ERROR - The server returned the following error
>>>>>>> message:
>>>>>>>
>>>>>>> Connection failed to slashmail.org,993: Connection
>>>>>>> timed out
>>>>>>>
>>>>>>> * Trying protocol imap/ssl, Port 993:
>>>>>>>
>>>>>>> ERROR - The server returned the following error
>>>>>>> message:
>>>>>>>
>>>>>>> Certificate failure for slashmail.org: unable to get
>>>>>>> local issuer
>>>>>>> certificate:
>>>>>>>
>>>>>>>
>>>>>>
>>>> /C=US/O=slashmail.org/OU=businessprofile.geotrust.com/get.jsp?GT42398189/OU=See
>>>>>>> www.rapidssl.com/cps (c)05/OU=Domain Control
>>>>>>> Validated
>>>>>>> - RapidSSL(R)/CN=slashmail.org
>>>>>>>
>>>>>>> * Trying protocol imap/ssl/novalidate-cert, Port 993:
>>>>>>>
>>>>>>> ERROR - The server returned the following error
>>>>>>> message:
>>>>>>>
>>>>>>> Retrying PLAIN authentication after Invalid
>>>>>>> authentication credentialsRetrying PLAIN authentication after
>>>>>>> Invalid authentication credentialsCan not authenticate to IMAP
>>>>>>> server: Invalid authentication credentials
>>>>>>>
>>>>>>> * Trying protocol imap/tls/novalidate-cert, Port 993:
>>>>>>>
>>>>>>> ERROR - The server returned the following error
>>>>>>> message:
>>>>>>>
>>>>>>> Connection failed to slashmail.org,993: Connection
>>>>>>> timed out --8<--
>>>>>>>
>>>>>>>
>>>>>>> On Tue, 04 Mar 2008 17:22:44 +0100
>>>>>>> Jan Schneider <jan at horde.org> wrote:
>>>>>>>
>>>>> --
>>>>> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
>>>>> Frequently Asked Questions: http://horde.org/faq/
>>>>> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>>>>>
>>>>
>>>>
>>>>
>>>> Jan.
>>>>
>>> --
>>> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
>>> Frequently Asked Questions: http://horde.org/faq/
>>> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>>>
>>
>>
>>
>> Jan.
>>
> --
> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>
> !DSPAM:47cd8c7c155771348188260!
>
>
>
>
More information about the imp
mailing list