[dev] Accomodating Horde Suite for new cyrus-2.2.*

Alexandru N. Barloiu slak at dale.ro
Fri May 14 05:26:37 PDT 2004


as of version 2.2.0 cyrus supports virtual domains, meening that
mailboxes that look like a email address can be created. so in cyrus
users can look like user/alexandru.barloiu at domain.org. the password
storage is a little more complicated. I use mysql to store passwords. In
older versions a simple table containing username and password ( plain
text ) wes more than enought. cyrus for now can only work with
unencrypted mysql passwords. now with virtual domain support it uses a
method to determine the username and realm by simply considering what is
in front of "@" the username and what cames after "@" the realm. so a
more complex table is nedeed ( but still fairly simple ) that has three
cols ( username, realm and password ). the mysql select statement looks
like this: "select password from %table% where username='%u' and
realm='%r'. every thing seems ok for me.

I didn't had a lot of time on my hands to check every little detail in
horde, all the custom hooks, so if I say something that may be stupid or
allready implemented or in planning stage allready, please excuse me.

I use the cvs version of horde and imp and ingo and passwd, auth for
horde using application ( imp ). everything went ok with that. seems
that horde and imp permit auth with an username that looks like a email
address without changing it in any way.

however ingo ( sieve ) and passwd don't work as I hoped. The passwd
thing went easy with just a little tweeking by implementing in the sql
engine another column named realm.

the ingo filters are a little more difficult and I cannot understand (
since I don't think it uses sieveshell ) why it refusses to
authentificate with the complete username ( user at domain ) and it only
uses user without the domain. now the sieve sql querys selects the right
username but in realm column searches the default domain instead of the
domain that is after "@".

now my question is this. I can and want to contribute to this issue but
don't exactly know how to do this. If I send my pathes to this list is
ok? If not what would be ok ?

-- 
Alexandru N. Barloiu <slak at dale.ro>
Dale Media



More information about the dev mailing list