----- Forwarded message from Frank Sikora <[email protected]> -----
   Date: Mon, 18 Feb 2013 17:55:09 +0100
   From: Frank Sikora <[email protected]>
Subject: Re: [imp] [HORDE 5.0.4][IMP 6.0.4] - config error: Invalid method call "listMailboxes"
     To: Michael M Slusarz <[email protected]>

Quoting Michael M Slusarz <[email protected]>:

Quoting Frank Sikora <[email protected]>:

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 [[email protected]]

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]

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 [[email protected]]
--- Begin Message ---
Quoting Michael M Slusarz <[email protected]>:

Quoting Frank Sikora <[email protected]>:

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 [[email protected]]

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]

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 Message ---
-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]

Reply via email to