Re: Unicode (remote) mailbox names

ಚಿರಾಗ್ ನಟರಾಜ್ <[email protected]>
Newsgroups gmane.mail.fetchmail.user
Message-ID <20190102150759.GA31@chiraag>
On 02/01/19 11:18, Matthias Andree wrote:
> 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
>
Hi Matthias,

Thank you so much, the solution worked beautifully and my fetchmail is (once again) downloading my emails!

Sincerely,

Chiraag
-- 
ಚಿರಾಗ್ ನಟರಾಜ್
Graduate Student at Brown University
Email: [email protected]
Phone: 610-350-6329
Website: http://chiraag.nataraj.us

_______________________________________________
Fetchmail-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fetchmail-users
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEupd8VXLo+qJfPXZoOQA4BLTL8/YFAlws084ACgkQOQA4BLTL
8/aX+Af/WD4crtQFIQFjUKYdTsXIS5hczEF0hVyOYaPHXU9PgS3f8mYCwPK6heLC
32P0Q07S1i4Fo3E2Ucz2cekvX7u4kA0tJ+JdIqF0Orvx3Y32RwyvhQFrqwg7qA31
IikKGWwPglE0q1cEKVt8w4V8SZL98Ng6xuG5rWh3AD36GKDLMh5X6+5ascqGYnID
7ex3bm/iggwsvNfI8CFKQPuk1jjFTRbr1Oasu2aKz6NNYtZjJCQxv0wXQdfzxRsu
edWORVQ7Fa/sPnlIia34f2My4eVOCCYz/7hOf6hvaK0YnIfx8Zz6lJHvDvs1MvG8
4r3zhBpBkxKNT8EcgHQ9Iw1ehXjstA==
=CmZQ
-----END PGP SIGNATURE-----
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.