[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-mailutils] Spaces in folder names
From: |
Sergey Poznyakoff |
Subject: |
Re: [bug-mailutils] Spaces in folder names |
Date: |
Tue, 30 Oct 2012 20:03:17 +0200 |
Hi Dean,
To begin with, my apologies for not being able to reply earlier!
> I'm not sure if this is a bug or if I'm specifying the folder names
> incorrectly but if I try and fetch the number of messages using the
> 'messages' command from an IMAP folder containing spaces in the name I
> get the following:
>
> messages "imap://address@hidden/MyCompany.Clients.Big Client"
Actually, this is incorrect usage. No whitespace is allowed within a
URL. Whatever special symbols you want to put into a URL must be
encoded in hex, as specified by RFCs 1738 and 3986. For example, a
space character must be represented as %20:
messages "imap://address@hidden/MyCompany.Clients.Big%20Client"
> I'm running the version of mailutils distributed on Debian stable
> (squeeze), I believe it's version 2.2, and the IMAP server is cyrus
> imapd 2.2.
Unfortunately 2.2 is largely obsolete by now. I'd suggest using the
latest 2.99.x alpha.
> This is just a demonstration of the basic problem I am seeing. The
> more complicated scenario that I have is that I am trying to use the
> mailfromd milter combined with a sieve script to re-file outgoing
> messages into the appropriate folder for each client. This works for
> any folders that don't have spaces in their name but doesn't work for
> any folders that do have spaces in their name. My understanding is
> that mailfromd uses the mailutils implementation of sieve and imap so
> I'm guessing the same issue applies as for the messages command.
Yes. For what it's worth I'd suggest trying
mailutils-2.99.97-20120721 and mailfromd-7.99.92-20120721, both
available from ftp://download.gnu.org.ua/alpha. If you have any
problems with downloading or installing, don't hesitate to ask me.
Regards,
Sergey