But no matter which settings I tried, it gave me the following error-message when executing the cronjob.
Mailbox:
Location: Attempt login
[pear_error: message=", " code=0 mode=return level=notice prefix="" info=""]
Even more strangely, Testmode via configuration-page worked fine.
So I tried to get a better error-message and and hacked a print_r into IMAP.php:
Code: Select all
function login($user, $pass, $useauthenticate = true, $selectMailbox=true)
{
if ($useauthenticate) {
// $useauthenticate is a string if the user hardcodes an AUTHMethod
// (the user calls $imap->login("user","password","CRAM-MD5"); for
// example!
if (is_string($useauthenticate)) {
$method = $useauthenticate;
} else {
$method = null;
}
//Try the selected Auth method
$ret = $this->cmdAuthenticate($user, $pass, $method);
print_r($ret);
Code: Select all
PEAR_Error Object
(
[error_message_prefix] =>
[mode] => 1
[level] => 1024
[code] =>
[message] => USER NOT supported authentication method! This IMAP server supports these methods: PLAIN,NTLM,GSSAPI, but I support DIGEST-MD5,CRAM-MD5,LOGIN
![Smile :)](./images/smilies/icon_smile.gif)