Hello.
What IMAP commands are supported by Mercury IMAP module? I'm trying to use RoundCube webmail but the search function is not working.
Modifying the PHP code I found that this happens when the search request has CHARSET option:
[07-Mar-2009 15:02:31 -0500]: C: srch1 SEARCH CHARSET UTF-8 OR HEADER SUBJECT {4}
[07-Mar-2009 15:02:31 -0500]: S: + Ready for 4 bytes
[07-Mar-2009 15:02:31 -0500]: C: test HEADER FROM {4}
[07-Mar-2009 15:02:31 -0500]: S: + Ready for 4 bytes
[07-Mar-2009 15:02:31 -0500]: C: test
[07-Mar-2009 15:02:31 -0500]: S: srch1 NO [BADCHARSET] Character set not supported.
[07-Mar-2009 15:02:31 -0500]: C: srch1 SEARCH CHARSET ISO-8859-1 OR HEADER SUBJECT {4}
[07-Mar-2009 15:02:31 -0500]: S: + Ready for 4 bytes
[07-Mar-2009 15:02:31 -0500]: C: test HEADER FROM {4}
[07-Mar-2009 15:02:31 -0500]: S: + Ready for 4 bytes
[07-Mar-2009 15:02:31 -0500]: C: test
[07-Mar-2009 15:02:31 -0500]: S: srch1 NO [BADCHARSET] Character set not supported.
It works without CHARSET (for single line command at least) and in this case the search is limited to the ISO-8859-1 encoding.
<p>Hello.</p><p>What IMAP commands&nbsp; are supported by Mercury IMAP module? I'm trying to use RoundCube webmail but the search function is not working.
</p><p>Modifying the PHP code I found that this happens when the search request has CHARSET option:</p><p>[07-Mar-2009 15:02:31 -0500]: C: srch1 SEARCH CHARSET UTF-8 OR HEADER SUBJECT {4}
[07-Mar-2009 15:02:31 -0500]: S: + Ready for 4 bytes
[07-Mar-2009 15:02:31 -0500]: C: test HEADER FROM {4}
[07-Mar-2009 15:02:31 -0500]: S: + Ready for 4 bytes
[07-Mar-2009 15:02:31 -0500]: C: test
[07-Mar-2009 15:02:31 -0500]: S: srch1 NO [BADCHARSET] Character set not supported.
[07-Mar-2009 15:02:31 -0500]: C: srch1 SEARCH CHARSET ISO-8859-1 OR HEADER SUBJECT {4}
[07-Mar-2009 15:02:31 -0500]: S: + Ready for 4 bytes
[07-Mar-2009 15:02:31 -0500]: C: test HEADER FROM {4}
[07-Mar-2009 15:02:31 -0500]: S: + Ready for 4 bytes
[07-Mar-2009 15:02:31 -0500]: C: test
[07-Mar-2009 15:02:31 -0500]: S: srch1 NO [BADCHARSET] Character set not supported. </p><p>It works without CHARSET (for single line command at least) and in this case the search is limited to the ISO-8859-1 encoding.&nbsp; </p>