Cyrus bug when returning mailbox names

Ian Macdonald ian at google.com
Thu Apr 3 13:30:21 EST 2003


Hi,

There seems to be a bug in the Cyrus code that incorrectly returns the
name of a mailbox with a trailing space as that name without the space:

[ianmacd at baghdad]$ telnet cyrus 143
Trying 1.2.3.4...
Connected to cyrus.
Escape character is '^]'.
* OK babbage.corp.google.com Cyrus IMAP4 v2.1.12 server ready
. login tommy password
. OK User logged in
. list user.tommy.Agencies *Realty*
* LIST (\HasNoChildren) "." "user.tommy.Agencies.Bay Area Agencies.Street Media.VIP Realty"
. OK Completed (0.000 secs 2 calls)

[root at babbage root]# ls -ld /var/spool/imap/user/tommy/Agencies/Bay\ Area\ Agencies/Street\ Media/VIP\ Realty/
ls: /var/spool/imap/user/tommy/Agencies/Bay Area Agencies/Street Media/VIP Realty/: No such file or directory
[root at babbage root]# ls -ld /var/spool/imap/user/tommy/Agencies/Bay\ Area\ Agencies/Street\ Media/VIP\ Realty\ /
drwx------    2 cyrus    root          552 Aug  9  2002 /var/spool/imap/user/tommy/Agencies/Bay Area Agencies/Street Media/VIP Realty /

Is there a simple way to rename this mailbox without the space, so that
attempts to perform operations on it do not fail? Maybe it's as simple
as renaming it at the file-system level, as Cyrus seems to think it
lacks the space, anyway.

Ian
-- 
Ian Macdonald               | The most important things, each person must
System Administrator        | do for himself. 
Google, Inc.                | 
ian at google.com              | 
+1 650-623-4265             | 




More information about the Info-cyrus mailing list