[imp] Fwd: [HORDE 5.0.4][IMP 6.0.4] - config error: Invalid method call "listMailboxes"

Michael M Slusarz slusarz at horde.org
Tue Feb 19 01:15:14 UTC 2013


----- Forwarded message from Frank Sikora <frank.sikora at capfields.com> -----
    Date: Mon, 18 Feb 2013 17:55:09 +0100
    From: Frank Sikora <frank.sikora at capfields.com>
Subject: Re: [imp] [HORDE 5.0.4][IMP 6.0.4] - config error: Invalid  
method call "listMailboxes"
      To: Michael M Slusarz <slusarz at horde.org>

Quoting Michael M Slusarz <slusarz at horde.org>:

> Quoting Frank Sikora <frank.sikora at capfields.com>:
>
>> IMP_Imap: Invalid method call "listMailboxes".
>
> You can try this patch:
>
> commit c5fafd7c9c01b0919686f97717fbcdb36d9bc794
> Author: Michael M Slusarz <slusarz at horde.org>
> Date:   Sat Feb 16 23:25:29 2013 -0700
>
>    Revert "Fix detecting logic error from authentication error"
>
>    This reverts commit 7714cce7b7887d8c2bd2e229c1357850f54dbbe8.
>
>    Revert this in IMP 6.0 only.
>
> imp/lib/Imap.php |   11 +++++++----
> 1 files changed, 7 insertions(+), 4 deletions(-)
>
> http://git.horde.org/horde-git/-/commit/c5fafd7c9c01b0919686f97717fbcdb36d9bc794
>
> It's still going to prevent you from logging into IMP (your
> authentication is not correct), but at least it won't give you an error
> screen.
>
> michael
>
> ___________________________________
> Michael Slusarz [slusarz at horde.org]
>
> -- 
> imp mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org

Thanks for the patch. Indeed, no fatal error anymore.

Then I added a hooks.php to manage a preauthenticate() method for imp  
because I connect to Horde via customSQL, but need then to connect to  
IMAP server with email address + IMAP pwd that is not provided with  
initial login.
Now, when I connect, I have the following error:
2013-02-18T17:37:41+01:00 ERR: HORDE [imp] The method  
"contacts/sources" is not defined in the Horde Registry. [pid 23135 on  
line 1030 of "/homez.nnn/mmmmmm/www/pear/PEAR/Horde/Registry.php"]

(my IMAP backend:
$servers['imap'] = array(
     // ENABLED by default
     'disabled' => false,
     'name' => 'IMAP mydomain.com',
     'hostspec' => 'imap.1and1.fr',
     'hordeauth' => false,
     'protocol' => 'imap',
     'port' => 143,
     // Plaintext logins are disabled by default on IMAP servers (see RFC 3501
     // [6.2.3]), so TLS is the only guaranteed authentication available by
     // default.
     'secure' => 'none',
     'maildomain' => 'mydomain.com',
     'smtp' => array(
     //    'auth' => true,
     //    'localhost' => 'localhost',
         'host' => 'auth.smtp.1and1.fr',
     //    'password' => null,
         'port' => 25,
     //    'username' => null
     ),
     'cache' => false,
);

what can be the cause of such issue?
I'm a bit disappointed with all these pbs. I was wondering everything  
would go fine for this first basic introduction with Horde5 but it's  
not (my current intranet is running with H3 and I don't remember so  
many issues when I setup the env for the first time...)

Thanks for you help again.
Frank



CapFields (Luxembourg) s.a
30, rue de l'Industrie
L-8069 Strassen (Grand Duché du Luxembourg)
Web:  <http://www.capfields.com/> www.capfields.com
T: +352 26 39 66 10
F: +352 26 39 66 66

This message and any attachments (the "message") is intended solely  
for the addressees and is confidential.
If you receive this message in error, please delete it and immediately  
notify the sender. Any use not in accord with its purpose, any  
dissemination or disclosure, either whole or partial, is prohibited  
except formal approval.
The internet can not guarantee the integrity of this message.
CapFields (and its subsidiaries) shall (will) not therefore be liable  
for the message if modified.

----- End forwarded message -----


___________________________________
Michael Slusarz [slusarz at horde.org]
-------------- next part --------------
An embedded message was scrubbed...
From: Frank Sikora <frank.sikora at capfields.com>
Subject: Re: [imp] [HORDE 5.0.4][IMP 6.0.4] - config error: Invalid method	call "listMailboxes"
Date: Mon, 18 Feb 2013 17:55:09 +0100
Size: 6872
URL: <http://lists.horde.org/archives/imp/attachments/20130218/5f295854/attachment.mht>


More information about the imp mailing list