On 02/09/2015 03:19 AM, Jan Schneider wrote:
That's what the 'debug' setting in your backend configuration is for.
Ah, I had never realized there is a debug option for the IMAP server.
Thank you!
I modified my backends.local.php and the IMAP debug log output is below,
beginning with a successful authentication: (FWIW, our 'advanced' IMAP
server config from backends.local.php is at the end of this email.)
As you can see, the problems begin with the LIST command syntax. But
what really borks my mind is neither Cyrus nor Horde has been updated in
the past few weeks, and this has been working fine until this past Saturday.
C: 3 AUTHENTICATE PLAIN [INITIAL CLIENT RESPONSE (username:
andydor...@comehome.net)]
S: 3 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxte QUOTA
MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN
MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SORT SORT=MODSEQ
SORT=DISPLAY THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE
LIST-EXTENDED WITHIN QRESYNC SCAN XLIST X-REPLICATION URLAUTH
URLAUTH=BINARY LOGINDISABLED COMPRESS=DEFLATE IDLE] Success (tls
protection) SESSIONID=<cyrus-21960-1423490383-1>
Command 3 took 0.0171 seconds.
CACHE: Using the Horde_Imap_Client_Cache_Backend_Cache storage driver.
C: 4 ENABLE QRESYNC
C: 5 NAMESPACE
S: * ENABLED CONDSTORE QRESYNC
S: 4 OK Completed
Command 4 took 0.0006 seconds.
S: * NAMESPACE (("" "/")) (("Other Users/" "/")) (("Shared Folders/" "/"))
S: 5 OK Completed
Command 5 took 0.0179 seconds.
Slow Command: 9.947 seconds
C: 6 LIST () "" (INBOX * "Other Users/*""" "Shared Folders/*""") RETURN
(SUBSCRIBED)
S: 6 BAD Invalid syntax in List command
C: 7 LSUB "" INBOX
C: 8 LSUB "" *
C: 9 LSUB "" "Other Users/*"""
C: 10 LSUB "" "Shared Folders/*"""
S: * LSUB (\Noinferiors) "/" INBOX
S: 7 OK Completed (0.001 secs 1 calls)
Command 7 took 0.0316 seconds.
S: * LSUB (\Noinferiors) "/" INBOX
S: * LSUB () "/" BPclaim
S: * LSUB () "/" BodyTest
S: * LSUB () "/" "Deleted Items"
S: * LSUB () "/" Drafts
S: * LSUB () "/" Fanmail
S: * LSUB () "/" HiWAAY
S: * LSUB (\HasChildren) "/" IronicDesign
S: * LSUB () "/" IronicDesign/Angular
S: * LSUB () "/" IronicDesign/meteor
S: * LSUB () "/" "Junk E-mail"
S: * LSUB (\HasChildren) "/" Personal
S: * LSUB () "/" Personal/PChome
S: * LSUB () "/" Personal/financial
S: * LSUB () "/" Personal/grandkids
S: * LSUB () "/" Personal/medicare
S: * LSUB () "/" Sent
S: * LSUB () "/" "Sent Items"
S: * LSUB () "/" Sent-apr-2012
S: * LSUB () "/" Sent-apr-2013
S: * LSUB () "/" Sent-apr-2014
S: * LSUB () "/" Sent-aug-2012
S: * LSUB () "/" Sent-aug-2013
S: * LSUB () "/" Sent-dec-2013
S: * LSUB () "/" Sent-feb-2013
S: * LSUB () "/" Sent-feb-2014
S: * LSUB () "/" Sent-jan-2013
S: * LSUB () "/" Sent-jan-2014
S: * LSUB () "/" Sent-jul-2012
S: * LSUB () "/" Sent-jun-2012
S: * LSUB () "/" Sent-jun-2014
S: * LSUB () "/" Sent-mar-2013
S: * LSUB () "/" Sent-may-2012
S: * LSUB () "/" Sent-may-2014
S: * LSUB () "/" Sent-nov-2012
S: * LSUB () "/" Sent-nov-2013
S: * LSUB () "/" Sent-oct-2012
S: * LSUB () "/" Sent-sep-2012
S: * LSUB () "/" Sent-sep-2013
S: * LSUB () "/" Spam
S: * LSUB () "/" Templates
S: * LSUB () "/" Trash
S: * LSUB () "/" bdorman
S: 8 OK Completed (0.001 secs 43 calls)
Command 8 took 0.0363 seconds.
S: 9 BAD Unexpected extra arguments to Lsub
Command 9 took 0.0683 seconds.
S: 10 BAD Unexpected extra arguments to Lsub
Command 10 took 0.0685 seconds.
...
=== backends.local.php advanced imap config snippet ===
...
$servers ['imap']['disabled'] = true;
$servers ['advanced']['disabled'] = false;
$servers ['advanced']['hostspec'] = $hostname;
$servers ['advanced']['hordeauth'] = 'full';
$servers ['advanced']['name'] = 'Advanced IMAP';
$servers ['advanced']['preferred'] = '';
$servers ['advanced']['autocreate_special'] = true;
$servers ['advanced']['special_mboxes'] = array (
IMP_Mailbox::MBOX_DRAFTS => 'Drafts',
IMP_Mailbox::MBOX_SENT => 'Sent',
IMP_Mailbox::MBOX_SPAM => 'Spam',
IMP_Mailbox::MBOX_TRASH => 'Trash'
);
$servers ['advanced']['spam']['innocent']['null'] = true;
$servers ['advanced']['spam']['innocent']['program'] = null;
$servers ['advanced']['spam']['spam']['display'] = false;
$servers ['advanced']['spam']['spam']['email'] = 'j...@antespam.com';
$servers ['advanced']['spam']['spam']['email_format'] = 'redirect';
$servers ['advanced']['spam']['spam']['null'] = true;
$servers ['advanced']['spam']['spam']['program'] = null;
...
=== end advanced config snippet ===
--
Andy Dorman
FanMail.com
Ironic Design, Inc.
AnteSpam.com, ComeHome.net
CONFIDENTIALITY NOTICE: This message is for the named person's use only.
It may contain confidential, proprietary or legally privileged
information. No confidentiality or privilege is waived or lost by any
erroneous transmission. If you receive this message in error, please
immediately destroy it and notify the sender. You must not, directly or
indirectly, use, disclose, distribute, or copy any part of this message
if you are not the intended recipient.
--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org