bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-mailutils] Spaces in folder names


From: Dean Ashby
Subject: [bug-mailutils] Spaces in folder names
Date: Tue, 02 Oct 2012 14:20:43 +1300
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1

Hi,

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"
Imap Passwd:
messages: NO or BAD tagged response: g5 BAD Unexpected extra arguments to Examine
messages: could not count messages in mailbox `imap://address@hidden/MyCompany.Clients.Big Client': Invalid argument

I've tried various other combinations such as % encoding the folder name, quoting the space with a backslash, and replacing it with a '+', all to no avail.

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.

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.

Thanks,

Dean



--

ALCHEMY
Purpose Built Software

Dean Ashby
Senior Software Engineer

118 Wrights Road, PO Box 2386, Christchurch 8140, New Zealand
Telephone +64 3 281 8166 ext 763
Mobile +64 21 388 414
Facsimile +64 3 338 0420

Email address@hidden

Attachment: d_ashby.vcf
Description: Vcard


reply via email to

[Prev in Thread] Current Thread [Next in Thread]