Opened 13 years ago

Last modified 13 years ago

#7214 assigned bug

[mail_daemon] BAD Too many arguments for command: SELECT

Reported by: diver Owned by: czeidler
Priority: normal Milestone: R1
Component: Servers/mail_daemon Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

This is hrev40437, gcc4hybrid.

After creating account in E-mail preflet I got Mail daemon status window with this error. There seems to be some problems with parsing of non-english folder names in gmail.

BTW, shouldn't mail_server be renamed to mail_daemon in Trac?

Attachments (1)

mail_daemon_error.png (69.2 KB ) - added by diver 13 years ago.

Download all attachments as: .zip

Change History (7)

by diver, 13 years ago

Attachment: mail_daemon_error.png added

comment:1 by anevilyak, 13 years ago

Owner: changed from bga to czeidler
Status: newassigned

comment:2 by czeidler, 13 years ago

could you check if #40481 fixed it? What kind of encoding is it? How to display it correct?

comment:3 by diver, 13 years ago

Same thing with hrev40481. I don't know which kind of encoding it is. I can workaround it by setting Gmail display language to English in gmail settings.

comment:4 by czeidler, 13 years ago

Hm strange, using the German settings, I have also some characters like "&....-" but everything runs fine here...

comment:5 by diver, 13 years ago

Ok, the original problem is gone now. Now I'm not sure if it was hrev40481 which fixed it or because I cleaned up several trash and spam folders in gmail. The problem with "&....-" IMAP folders remains, though.

comment:6 by diver, 13 years ago

It seems that there are some problems converting from utf-7 to utf-8. Just google imap utf7 gmail for solutions.

echo "[Gmail]/+BBIEQQRP- +BD8EPgRHBEIEMA-" | iconv -f utf-7 -t utf-8
[Gmail]/Вся почта

or

echo mb_convert_encoding("&BBoEPgRABDcEOAQ9BDA-", "UTF-8", "UTF7-IMAP");
Note: See TracTickets for help on using tickets.