git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git imap-send: International folder names don't work

From
AGAndreas Grünbacher <andreas.gruenbacher@gmail.com>
Date
Jun 1, 2015, 10:31 UTC
Message-ID
<CAHpGcMJccbA3j-5MJ6Ux3J6M7p=dcAs4aKqzowSP_dMhf0Mevw@mail.gmail.com>
Hello,

the imap.folder config option specifies the folder name to use on the imap server.

At the protocol level, according to RFC 3501 Section "Mailbox International Naming Convention", folder names use a modified UTF-7 encoding. The git-imap-send command doesn't encode the folder name though; folder names that contain international characters don't work.

For example, my drafts folder is called "Entwürfe". When I set imap.folder to "[Gmail]/Entwürfe" I get an imap server error. When I put the encoded folder name into the config file ("[Gmail]/Entw&APw-rfe"), messages go to my drafts folder.

Could this please be fixed?

Thanks, Andreas

Message 1 of 1 in “git imap-send: International folder names don't work”
  1. Andreas GrünbacherJun 1, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.