On Wed, Dec 30, 2015 at 11:02:21AM +0800, lilydjwg wrote:
Hi there,With Tencent's IMAP server, I can't switch to a submailbox in the form X/Y. In fact I can't even see the Y part. By debugging I find mutt is listing mailboxes with the pattern "X/Y%", but that server only responses to patterns like "X/Y*". And replacing that % with * in mutt's source code works for this server. So, what's the difference between wildcards % and *? Would mutt add an option for the user to specify which one to use? Or should I solve this problem in another way?
According to RFC3501 (which defines IMAPv4): The character "*" is a wildcard, and matches zero or more characters at this position. The character "%" is similar to "*",but it does not match a hierarchy delimiter. So "X/Y%" will return "X/Yoda" and "X/Yavin"; "X/Y*" will return both of those plus "X/Yavin/SecretRebelBase".
The "%" wildcard does not seem to be an optional part of the IMAP spec, so your server is probably violating the spec by not responding to it.
-- Best regards, lilydjwg
-- For more information, please reread.
signature.asc
Description: PGP signature
