setacl mailbox foo%bar lrswipcda --> INVALID IDENTIFIER

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

 




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

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

setacl user/mailbox@xxxxxxxxxxxx mailbox@xxxxxxxxxxxx lrswipcda --> ok
setacl user/foo%bar@xxxxxxxxxxxx mailbox@xxxxxxxxxxxx lrswipcda --> ok
setacl user/mailbox@xxxxxxxxxxxx foo%bar@xxxxxxxxxxxx lrswipcda --> Invalid identifier
setacl user/foo%bar@xxxxxxxxxxxx foo%bar@xxxxxxxxxxxx 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
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux