[horde] IMP search not working (both basic and advanced)

Michele Bergonzoni bergonz at labs.it
Wed May 11 10:05:45 UTC 2011


With the latest Horde (upgraded yesterday from pear, the issue was 
already present), my IMP search is not working:

  - Basic: I get the notification "Searching is not available."

  - Advanced: whatever I search, I see the usual mailbox with all the 
messages, with a visible unicode char in the URL bar (maybe this is 
normal). I am returned to the inbox, even if I search in a different folder.

I am using dovecot 2.0.6 with imap and I believe it has ESEARCH. This is 
what I see (with imapdebug turned on in backends.local.php) when I try 
basic search and receive the notification:


------------------------------
(1305103878.7900) S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR 
LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN] Dovecot ready.
(1305103878.8500) C: [SASL-IR AUTHENTICATE Command - username: bergonz]
(1305103878.8600) S: 1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR 
LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES 
THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS 
LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES 
WITHIN CONTEXT=SEARCH LIST-STATUS] Logged in
(1305103878.8700) C: 2 SELECT INBOX
(1305103878.9200) S: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft 
unknown-2 unknown-3 $MDNSent $Forwarded Junk NonJunk $label1 $has_cal)
(1305103878.9200) S: * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted 
\Seen \Draft unknown-2 unknown-3 $MDNSent $Forwarded Junk NonJunk 
$label1 $has_cal \*)] Flags permitted.

.. then I see what appears the usual dialogue to retrieve the inbox.

With loglevel set to debug, I see lots of messages, but none of them is 
apparently related to this. No debug message is generated in the failing 
"if" in imp/search-basic.php (i wrapped it between two debug messages).

My PHP comes from Debian and is:

PHP 5.3.3-7 with Suhosin-Patch (cli) (built: Jan  5 2011 12:52:48)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
     with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH

I understand that this could be a Dovecot or PHP issue, but I have no 
clue about how to further debug it: the "access()" function seems to me 
to simply check for POP3, which I'm sure I'm not using.

Any clue?

Thanks in advance,
			Bergonz


More information about the horde mailing list