[imp] Can't delete mail in dynamic mode
Slawa Olhovchenkov
slw at zxy.spb.ru
Wed Sep 21 09:25:03 UTC 2011
IMP 5.0.11
Horde 4.0.9
Try to delete message in dynamic mode and get error:
HORDE [imp] IMAP error: Mailbox does not exist [pid 66334 on line 340 of "/usr/local/Horde/imp/lib/Imap.php"]
I can see (in traffic sniffer) to access to mailbox named '0' (when
delete message in INBOX).
Deleting in traditional mode work OK.
Backtrace from line 340:
array (
0 =>
array (
'file' => '/usr/local/Horde/imp/lib/Mailbox.php',
'line' => 587,
'function' => '__call',
'class' => 'IMP_Imap',
'object' =>
IMP_Imap::__set_state(array(
'ob' =>
Horde_Imap_Client_Socket::__set_state(array(
'_tag' => 4,
'_stream' => NULL,
'cache' => NULL,
'cacheFields' =>
array (
9 => 'HICenv',
10 => 'HICflags',
8 => 'HIChdrs',
11 => 'HICdate',
12 => 'HICsize',
1 => 'HICstruct',
),
'changed' => true,
'_debug' => NULL,
'_fetchDataClass' => 'Horde_Imap_Client_Data_Fetch',
'_init' =>
array (
'enabled' =>
array (
),
'namespace' =>
array (
'40cd750bba9870f18aada2478b24840a' =>
array (
'INBOX/' =>
array (
'delimiter' => '/',
'hidden' => false,
'name' => 'INBOX/',
'translation' => '',
'type' => 1,
),
'user/' =>
array (
'delimiter' => '/',
'hidden' => false,
'name' => 'user/',
'translation' => '',
'type' => 2,
),
'' =>
array (
'delimiter' => '/',
'hidden' => false,
'name' => '',
'translation' => '',
'type' => 3,
),
),
),
's_charset' =>
array (
),
'capability' =>
array (
'IMAP4REV1' => true,
'LITERAL+' => true,
'ID' => true,
'ENABLE' => true,
'AUTH' =>
array (
0 => 'PLAIN',
),
'SASL-IR' => true,
'ACL' => true,
'RIGHTS' =>
array (
0 => 'kxte',
),
'QUOTA' => true,
'MAILBOX-REFERRALS' => true,
'NAMESPACE' => true,
'UIDPLUS' => true,
'NO_ATOMIC_RENAME' => true,
'UNSELECT' => true,
'CHILDREN' => true,
'MULTIAPPEND' => true,
'BINARY' => true,
'CATENATE' => true,
'CONDSTORE' => true,
'ESEARCH' => true,
'SORT' =>
array (
0 => 'MODSEQ',
1 => 'DISPLAY',
),
'THREAD' =>
array (
0 => 'ORDEREDSUBJECT',
1 => 'REFERENCES',
),
'ANNOTATEMORE' => true,
'LIST-EXTENDED' => true,
'WITHIN' => true,
'QRESYNC' => true,
'SCAN' => true,
'XLIST' => true,
'URLAUTH' =>
array (
0 => 'BINARY',
),
'X-NETSCAPE' => true,
'LOGINDISABLED' => true,
'COMPRESS' =>
array (
0 => 'DEFLATE',
),
'IDLE' => true,
),
'authmethod' => 'PLAIN',
),
'_isAuthenticated' => true,
'_isSecure' => false,
'_mode' => 2,
'_params' =>
array (
'encryptKey' =>
array (
0 => 'IMP_Imap',
1 => 'getEncryptKey',
),
'hostspec' => 'localhost',
'log' => NULL,
'port' => 143,
'secure' => false,
'timeout' => 30,
'password' => '<gЛ^C°P^K╓ё╡m(^D▒O╔',
'statuscache' => true,
'username' => 'slw at ........',
'cache' =>
array (
'fields' =>
1 => 'INBOX/Trash',
),
),
'_passencrypt' => true,
),
'_selected' => 'INBOX',
'_temp' =>
array (
'no_cap' => true,
'parsestatuserr' => NULL,
'token' => NULL,
'loginerr' => 'LOGIN_AUTHENTICATIONFAILED',
'referral' => NULL,
'fr_ob' =>
stdClass::__set_state(array(
'seq' =>
array (
),
'uid' =>
array (
),
)),
'fetchresp' =>
stdClass::__set_state(array(
'seq' =>
array (
),
'uid' =>
array (
),
)),
'mailbox' =>
array (
'name' => 'INBOX',
'messages' => '279',
'recent' => '0',
'flags' =>
array (
0 => '\\answered',
1 => '\\flagged',
2 => '\\draft',
3 => '\\deleted',
4 => '\\seen',
),
'permflags' =>
array (
0 => '\\answered',
1 => '\\flagged',
2 => '\\draft',
3 => '\\deleted',
4 => '\\seen',
5 => '\\*',
),
'firstunseen' => '2',
'uidvalidity' => '1235319952',
'uidnext' => '4088',
'highestmodseq' => '52',
),
'literal8' =>
array (
),
'parseresperr' =>
array (
'line' => 'Mailbox does not exist',
'response' => 'NO',
'tag' => '4',
'token' => '',
'type' => 'tagged',
),
),
'_utils' =>
Horde_Imap_Client_Utils::__set_state(array(
)),
)),
'_changed' => false,
'_login' => true,
'_nsdefault' =>
array (
'delimiter' => '/',
'hidden' => false,
'name' => 'INBOX/',
'translation' => '',
'type' => 1,
),
'_temp' =>
array (
),
)),
'type' => '->',
'args' =>
array (
0 => 'status',
1 =>
array (
0 => '0',
1 => 8,
),
),
),
1 =>
array (
'file' => '/usr/local/Horde/imp/lib/Mailbox.php',
'line' => 587,
'function' => 'status',
'class' => 'IMP_Imap',
'object' =>
IMP_Imap::__set_state(array(
'ob' =>
Horde_Imap_Client_Socket::__set_state(array(
'_tag' => 4,
'_stream' => NULL,
'cache' => NULL,
'cacheFields' =>
array (
9 => 'HICenv',
10 => 'HICflags',
8 => 'HIChdrs',
11 => 'HICdate',
12 => 'HICsize',
1 => 'HICstruct',
),
'changed' => true,
'_debug' => NULL,
'_fetchDataClass' => 'Horde_Imap_Client_Data_Fetch',
'_init' =>
array (
'enabled' =>
array (
),
'namespace' =>
array (
'40cd750bba9870f18aada2478b24840a' =>
array (
'INBOX/' =>
array (
'delimiter' => '/',
'hidden' => false,
'name' => 'INBOX/',
'translation' => '',
'type' => 1,
),
'user/' =>
array (
'delimiter' => '/',
'hidden' => false,
'name' => 'user/',
'translation' => '',
'type' => 2,
),
'' =>
array (
'delimiter' => '/',
'hidden' => false,
'name' => '',
'translation' => '',
'type' => 3,
),
),
),
's_charset' =>
array (
),
'capability' =>
array (
'IMAP4REV1' => true,
'LITERAL+' => true,
'ID' => true,
'ENABLE' => true,
'AUTH' =>
array (
0 => 'PLAIN',
),
'SASL-IR' => true,
'ACL' => true,
'RIGHTS' =>
array (
0 => 'kxte',
),
'QUOTA' => true,
'MAILBOX-REFERRALS' => true,
'NAMESPACE' => true,
'UIDPLUS' => true,
'NO_ATOMIC_RENAME' => true,
'UNSELECT' => true,
'CHILDREN' => true,
'MULTIAPPEND' => true,
'BINARY' => true,
'CATENATE' => true,
'CONDSTORE' => true,
'ESEARCH' => true,
'SORT' =>
array (
0 => 'MODSEQ',
1 => 'DISPLAY',
),
'THREAD' =>
array (
0 => 'ORDEREDSUBJECT',
1 => 'REFERENCES',
),
'ANNOTATEMORE' => true,
'LIST-EXTENDED' => true,
'WITHIN' => true,
'QRESYNC' => true,
'SCAN' => true,
'XLIST' => true,
'URLAUTH' =>
array (
0 => 'BINARY',
),
'X-NETSCAPE' => true,
'LOGINDISABLED' => true,
'COMPRESS' =>
array (
0 => 'DEFLATE',
),
'IDLE' => true,
),
'authmethod' => 'PLAIN',
),
'_isAuthenticated' => true,
'_isSecure' => false,
'_mode' => 2,
'_params' =>
array (
'encryptKey' =>
array (
0 => 'IMP_Imap',
1 => 'getEncryptKey',
),
'hostspec' => 'localhost',
'log' => NULL,
'port' => 143,
'secure' => false,
'timeout' => 30,
'password' => '<gЛ^C°P^K╓ё╡m(^D▒O╔',
'statuscache' => true,
'username' => 'slw at ......',
'cache' =>
array (
'fields' =>
array (
),
'fetch_ignore' =>
array (
0 => 'INBOX/Spam',
1 => 'INBOX/Trash',
),
),
'_passencrypt' => true,
),
'_selected' => 'INBOX',
'_temp' =>
array (
'no_cap' => true,
'parsestatuserr' => NULL,
'token' => NULL,
'loginerr' => 'LOGIN_AUTHENTICATIONFAILED',
'referral' => NULL,
'fr_ob' =>
stdClass::__set_state(array(
'seq' =>
array (
),
'uid' =>
array (
),
)),
'fetchresp' =>
stdClass::__set_state(array(
'seq' =>
array (
),
'uid' =>
array (
),
)),
'mailbox' =>
array (
'name' => 'INBOX',
'messages' => '279',
'recent' => '0',
'flags' =>
array (
0 => '\\answered',
1 => '\\flagged',
2 => '\\draft',
3 => '\\deleted',
4 => '\\seen',
),
'permflags' =>
array (
0 => '\\answered',
1 => '\\flagged',
2 => '\\draft',
3 => '\\deleted',
4 => '\\seen',
5 => '\\*',
),
'firstunseen' => '2',
'uidvalidity' => '1235319952',
'uidnext' => '4088',
'highestmodseq' => '52',
),
'literal8' =>
array (
),
'parseresperr' =>
array (
'line' => 'Mailbox does not exist',
'response' => 'NO',
'tag' => '4',
'token' => '',
'type' => 'tagged',
),
),
'_utils' =>
Horde_Imap_Client_Utils::__set_state(array(
)),
)),
'_changed' => false,
'_login' => true,
'_nsdefault' =>
array (
'delimiter' => '/',
'hidden' => false,
'name' => 'INBOX/',
'translation' => '',
'type' => 1,
),
'_temp' =>
array (
),
)),
'type' => '->',
'args' =>
array (
0 => '0',
1 => 8,
),
),
2 =>
array (
'file' => '/usr/local/Horde/imp/lib/Message.php',
'line' => 184,
'function' => '__get',
'class' => 'IMP_Mailbox',
'object' =>
IMP_Mailbox::__set_state(array(
'cache' =>
array (
'ro' => false,
'a' => NULL,
),
'changed' => 1,
'_mbox' => '0',
)),
'type' => '->',
'args' =>
array (
0 => 'uidvalid',
),
),
3 =>
array (
'file' => '/usr/local/Horde/imp/lib/Ajax/Application.php',
'line' => 838,
'function' => 'delete',
'class' => 'IMP_Message',
'object' =>
IMP_Message::__set_state(array(
)),
'type' => '->',
'args' =>
array (
0 =>
IMP_Indices::__set_state(array(
'_indices' =>
array (
0 => 'X4yU602SFpqrNIx5BSwqAg==',
),
)),
),
),
4 =>
array (
'function' => 'deleteMessages',
'class' => 'IMP_Ajax_Application',
'object' =>
IMP_Ajax_Application::__set_state(array(
'notify' => true,
'_queue' =>
IMP_Ajax_Queue::__set_state(array(
'_flag' =>
array (
),
'_poll' =>
array (
),
'_quota' => false,
)),
'_readOnly' =>
array (
0 => 'html2Text',
1 => 'text2Html',
),
'_app' => 'imp',
'_action' => 'deleteMessages',
'_vars' =>
Horde_Variables::__set_state(array(
'_vars' =>
array (
'view' => 'INBOX',
'cacheid' => 'V1235319952|U4088|M279|9|0',
'slice' => '59:389',
'cache' => '{5}INBOX3808:3817,3819:4087',
'uid' => 'X4yU602SFpqrNIx5BSwqAg==',
'default_imp_view' => 'imp',
'Horde' => '42j2qvt0t99q81ssn0khq1aas3',
'auth_key' => '13718667924e71d1e438868',
'default_horde_view' => 'auto',
'imp_key' => 'qok8gmeut006f56cf8n724kkh1',
'horde_menu_expanded' => 'expimp,prefs,administration',
'datatree_expanded' => 'exp',
),
'_expectedVariables' =>
array (
),
'_sanitized' => false,
)),
'_defaultDomain' => NULL,
)),
'type' => '->',
'args' =>
array (
),
),
5 =>
array (
'file' => '/usr/local/share/pear/Horde/Core/Ajax/Application.php',
'line' => 95,
'function' => 'call_user_func',
'args' =>
array (
0 =>
array (
0 =>
IMP_Ajax_Application::__set_state(array(
'notify' => true,
'_queue' =>
IMP_Ajax_Queue::__set_state(array(
'_flag' =>
array (
),
'_poll' =>
array (
),
'_quota' => false,
)),
'_readOnly' =>
array (
0 => 'html2Text',
1 => 'text2Html',
),
'_app' => 'imp',
'_action' => 'deleteMessages',
'_vars' =>
Horde_Variables::__set_state(array(
'_vars' =>
array (
'view' => 'INBOX',
'cacheid' => 'V1235319952|U4088|M279|9|0',
'slice' => '59:389',
'cache' => '{5}INBOX3808:3817,3819:4087',
'uid' => 'X4yU602SFpqrNIx5BSwqAg==',
'default_imp_view' => 'imp',
'Horde' => '42j2qvt0t99q81ssn0khq1aas3',
'auth_key' => '13718667924e71d1e438868',
'default_horde_view' => 'auto',
'imp_key' => 'qok8gmeut006f56cf8n724kkh1',
'horde_menu_expanded' => 'expimp,prefs,administration',
'datatree_expanded' => 'exp',
),
'_expectedVariables' =>
array (
),
'_sanitized' => false,
)),
'_defaultDomain' => NULL,
)),
1 => 'deleteMessages',
),
),
),
6 =>
array (
'file' => '/usr/local/Horde/imp/lib/Ajax/Application.php',
'line' => 75,
'function' => 'doAction',
'class' => 'Horde_Core_Ajax_Application',
'object' =>
IMP_Ajax_Application::__set_state(array(
'notify' => true,
'_queue' =>
IMP_Ajax_Queue::__set_state(array(
'_flag' =>
array (
),
'_poll' =>
array (
),
'_quota' => false,
)),
'_readOnly' =>
array (
0 => 'html2Text',
1 => 'text2Html',
),
'_app' => 'imp',
'_action' => 'deleteMessages',
'_vars' =>
Horde_Variables::__set_state(array(
'_vars' =>
array (
'view' => 'INBOX',
'cacheid' => 'V1235319952|U4088|M279|9|0',
'slice' => '59:389',
'cache' => '{5}INBOX3808:3817,3819:4087',
'uid' => 'X4yU602SFpqrNIx5BSwqAg==',
'default_imp_view' => 'imp',
'Horde' => '42j2qvt0t99q81ssn0khq1aas3',
'auth_key' => '13718667924e71d1e438868',
'default_horde_view' => 'auto',
'imp_key' => 'qok8gmeut006f56cf8n724kkh1',
'horde_menu_expanded' => 'expimp,prefs,administration',
'datatree_expanded' => 'exp',
),
'_expectedVariables' =>
array (
),
'_sanitized' => false,
)),
'_defaultDomain' => NULL,
)),
'type' => '->',
'args' =>
array (
),
),
7 =>
array (
'file' => '/usr/local/Horde/services/ajax.php',
'line' => 60,
'function' => 'doAction',
'class' => 'IMP_Ajax_Application',
'object' =>
IMP_Ajax_Application::__set_state(array(
'notify' => true,
'_queue' =>
IMP_Ajax_Queue::__set_state(array(
'_flag' =>
array (
),
'_poll' =>
array (
),
'_quota' => false,
)),
'_readOnly' =>
array (
0 => 'html2Text',
1 => 'text2Html',
),
'_app' => 'imp',
'_action' => 'deleteMessages',
'_vars' =>
Horde_Variables::__set_state(array(
'_vars' =>
array (
'view' => 'INBOX',
'cacheid' => 'V1235319952|U4088|M279|9|0',
'slice' => '59:389',
'cache' => '{5}INBOX3808:3817,3819:4087',
'uid' => 'X4yU602SFpqrNIx5BSwqAg==',
'default_imp_view' => 'imp',
'Horde' => '42j2qvt0t99q81ssn0khq1aas3',
'auth_key' => '13718667924e71d1e438868',
'default_horde_view' => 'auto',
'imp_key' => 'qok8gmeut006f56cf8n724kkh1',
'horde_menu_expanded' => 'expimp,prefs,administration',
'datatree_expanded' => 'exp',
),
'_expectedVariables' =>
array (
),
'_sanitized' => false,
)),
'_defaultDomain' => NULL,
)),
'type' => '->',
'args' =>
array (
),
),
)
More information about the imp
mailing list