Re: Unicode (remote) mailbox names

Matthias Andree <[email protected]>
Newsgroups gmane.mail.fetchmail.user
Message-ID <[email protected]>
Am 02.01.19 um 04:31 schrieb ಚಿರಾಗ್ ನಟರಾಜ್:
> Hey all,
>
> So I am bilingual and speak both Kannada and English fluently. I decided to switch my Google account over to Kannada just for fun and realized that it broke my fetchmail setup. After some investigation, I found out that the remote mailbox name had changed from "[Gmail]/All Mail" to "[Gmail]/ಎಲ್ಲಾ ಮೇಲ್". However, changing the name in my .fetchmailrc didn't fix the issue. The exact output I got when running fetchmail in verbose mode is given here:
>
> --------
> fetchmail: starting fetchmail 6.4.0.beta4 daemon
> fetchmail: 6.4.0.beta4 querying imap.gmail.com (protocol IMAP) at : poll started
> Trying to connect to 209.85.201.109/993...connected.
> fetchmail: Loaded OpenSSL library 0x1010101f newer than headers 0x1010008f, trying to continue.
> fetchmail: Server certificate:
> fetchmail: Issuer Organization: Google Trust Services
> fetchmail: Issuer CommonName: Google Internet Authority G3
> fetchmail: Subject CommonName: imap.gmail.com
> fetchmail: Subject Alternative Name: imap.gmail.com
> fetchmail: imap.gmail.com key fingerprint: 0F:BD:6E:EF:72:5F:46:75:CE:06:CF:5C:8C:3B:D2:AB
> fetchmail: SSL/TLS: using protocol TLSv1.2, cipher ECDHE-RSA-CHACHA20-POLY1305, 256/256 secret/processed bits
> fetchmail: IMAP< * OK Gimap ready for requests from 64.20.43.202 c23mb659673737qtq
> fetchmail: IMAP> A0001 CAPABILITY
> fetchmail: IMAP< * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=OAUTHBEARER AUTH=XOAUTH
> fetchmail: IMAP< A0001 OK Thats all she wrote! c23mb659673737qtq
> fetchmail: IMAP> A0002 LOGIN "chiraag.nataraj" *
> fetchmail: IMAP< * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH UTF8=ACCEPT LIST-EXTENDED LIST-STATUS LITERAL- SPECIAL-USE APPENDLIMIT=35651584
> fetchmail: IMAP< A0002 OK [email protected] authenticated (Success)
> fetchmail: IMAP> A0003 SELECT "[Gmail]/ಎಲ್ಲಾ ಮೇಲ್"
> fetchmail: IMAP< A0003 BAD Could not parse command
> fetchmail: mailbox selection failed
> fetchmail: IMAP> A0004 LOGOUT
> fetchmail: IMAP< * BYE LOGOUT Requested
> fetchmail: IMAP< A0004 OK 73 good day (Success)
> fetchmail: client/server synchronization error while fetching from [email protected]
> fetchmail: 6.4.0.beta4 querying imap.gmail.com (protocol IMAP) at : poll completed
> fetchmail: Query status=7 (ERROR)
> --------
>
> The configuration I am using is given here:
>
> --------
> set postmaster "chiraag"
> set bouncemail
> set no spambounce
> set softbounce
> set properties ""
> poll imap.gmail.com with proto IMAP
>        user 'chiraag.nataraj' there with password 'supersecretpassword' is 'chiraag' here
>        options keep ssl sslproto "TLS1+" mda "getmail_maildir $HOME/Mail/Gmail/"
>   folder "[Gmail]/ಎಲ್ಲಾ ಮೇಲ್"
> --------
>
> Am I missing something or does fetchmail not (currently) support Unicode mailbox names?
>
Hello Chiraag,

you are right, fetchmail does not currently transcode mailbox names to
the modified UTF-7 format that IMAP requires for mailbox names per
RFC3501 chapter 5.1.3, <https://tools.ietf.org/html/rfc3501#page-19>

Does it work if you specify

folder "[Gmail]/&DI4MsgzNDLIMvg- &DK4MxwyyDM0-"

? (I hope my gnome-terminal and Thunderbird and clipboard haven't messed
up my copy and paste and that I haven't made a mistake translating the
mailbox name to modified UTF-7)

Regards,

-- 
Matthias Andree




_______________________________________________
Fetchmail-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fetchmail-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.