Has anyone else found that the search facility does not work with hmailserver and squirrelmail 1.4.3a.
I have worked out a very simple tweak to solve the issue.
in imap_search.php modify the line:
Code: Select all
if ($imap_server_type == 'macosx')
Code: Select all
($imap_server_type == 'macosx' || $imap_server_type == 'hmailserver')
Code: Select all
$imap_server_type = 'hmailserver';
This will make the search treat hmailserver the same as a macosx server. The file has the following comment:
Hope that helps,/* it seems macosx does not support the prefered search
syntax so we fall back to the older style. This IMAP
server has a problem with multiple search terms. Instead
of returning the messages that match all the terms it
returns the messages that match each term. Could be fixed
on the client side, but should be fixed on the server
as per the RFC */
Gabriel