Support » Plugin: Postie » Exchange IMap Kerberos error:

  • Resolved emile.swain


    Exchange is notoriously bad at IMAP. however i found one post that didn’t require recompiling php without Kerberos.

    Connecting with {myipaddress:143/service=imap/tls/novalidate-cert}
    Returned this error.

    PHP Notice: Unknown: Kerberos error: No credentials cache found (try
    running kinit) for ldnwpexch11.emea.akqa.local (errflg=1) in Unknown on
    line 0

    Which meant either creating tempory Kerberos keys or recompiling php.

    This however solved the problem just nicely
    In postieIMAP.php edit the imap_open command to include the following.

    $this->_connection = imap_open($this->_server_string, $login, $password, NULL, 1, array("DISABLE_AUTHENTICATOR" => "GSSAPI"));

    Hope this helps other using exchange.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Wayne Allen


    Thanks, I’ve added this to 1.5.13.

    $this->_connection = imap_open($this->_server_string, $login, $password, NULL, 1, array(“DISABLE_AUTHENTICATOR” => “GSSAPI”));

    This code breaks a hosted gmail domain via POP3-SSL or IMAP-SSL. Replacing this code in postieIMAP.php (1.5.13) with the code from 1.5.12 fixes the issue.

    Reverting back to this fixed my issue:
    $this->_connection = imap_open($this->_server_string, $login, $password);

    Plugin Author Wayne Allen


    Interesting, I tested this on a hosted gmail domain and it seemed to work fine. I’ll have to look into this a bit more.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Exchange IMap Kerberos error:’ is closed to new replies.