setacl mailbox foo%bar lrswipcda --> INVALID IDENTIFIER

Alain Spineux aspineux at gmail.com
Tue Mar 20 09:03:06 EST 2007


I was testing my web application when I found (maybe) a bug into cyrus.

I can create a mailbox "user/foo%bar at mydomain.loc", but cannot use this user
foo%bar at mydomain.loc
as "who" into any setacl command.

setacl user/mailbox at mydomain.loc mailbox at mydomain.loc lrswipcda --> ok
setacl user/foo%bar at mydomain.loc mailbox at mydomain.loc lrswipcda --> ok
setacl user/mailbox at mydomain.loc foo%bar at mydomain.loc lrswipcda --> Invalid
identifier
setacl user/foo%bar at mydomain.loc foo%bar at mydomain.loc lrswipcda --> Invalid
identifier

My application is written in python using the imaplib.
I tried using php, but got the same error.
I rewrote imaplib to send the setacl arguments as literal
(to mimic cyrus that send any string with a % inside as a literal) but got
the same error.

The problem is, why does cyrus accept to create a mailbox with a % and then
reject this user
in setacl command ?

I use imapd-2.2.12-2.5.0_kolab2.src.rpm

--
Alain Spineux
aspineux gmail com
May the sources be with you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20070320/=
d8eedf39/attachment.html


More information about the Info-cyrus mailing list