The SEARCH function is the only thing that does not
work with my Squirrelmail. No matter what I try to
search, I get always an error like this:
ERROR : Bad or malformed request.
Query: FETCH (FLAGS UID RFC822.SIZE BODY.PEEK
[HEADER.FIELDS (Date To Cc From Subject X-Priority
Content-Type)])
Server responded: UID Invalid Syntax
My details:
OS: W2K Server SP4
Mail Server: Imail 7.15 and 8.05
Web Server: Apache 1.3.29
PHP: 4.3.6
SquirrelMail 1.4.3 (CVS Snapshot 20040422)
The configurarions of my mail server inside Squirrel:
imap_server_type = other
default_folder_prefix =
trash_folder = Deleted
sent_folder = Sent
draft_folder = Draft
show_prefix_option = FALSE
default_sub_of_inbox = TRUE
show_contain_subfolders_option = FALSE
optional_delimiter = detect
delete_folder = FALSE
------
$allow_server_sort = FALSE;
$allow_thread_sort = FALSE;
$allow_charset_search = TRUE;
$uid_support = TRUE;
When I try to search, the LOG of my mailserver shows:
04:22 16:36 IMAP4 (00000748) sending "A004 BAD UID
SEARCH: Invalid Syntax
"
04:22 16:36 IMAP4 (00000748) sending "A004 OK UID
Completed
"
04:22 16:36 IMAP4 (00000748) sending "norambna BAD
Null
Commmand
"
04:22 16:36 IMAP4 (00000748) sending "A005 BAD UID
Invalid
Syntax
If I set: $allow_charset_search = FALSE; I get no
errors, but all searches return always zero results!
Imail 8.05 seems to address some SEARCH issues, so I
upgraded from 7.15 to 8.05, but the problem persists.
The release notes of IMail 8.05 say for example:
IMAP4D32: Corrected handling of TEXT and BODY
searches.
IMAP4D32: Corrected parsing when searching for tokens
not enclosed in quotation marks, e.g.: SEARCH SUBJECT
Ipswitch.
IMAP4D32: Added more intelligent parsing of message
headers when searching...SEARCH SUBJECT "SUBJECT" used
to always return TRUE.
IMAP4D32: Corrected evaluation of parenthesized
expressions.
IMAP4D32: Corrected SEARCH problem that failed to
retrieve some TEXT and BODY criteria.
IMAP4D32: Corrected problem parsing SEARCH command
with OR that contained HEADER.
Any Hints?
Luis.
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users