threads / discuss / 39477

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

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

## tl;dr

One message between Jun 1, 2015 and Jun 1, 2015.

replies: 0people: 1as markdown or json

Andreas Grünbacher· Jun 1, 2015, 10:31 UTC · lore
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

← back to recent threads