Add mailbox automatically

Kervin L. Pierre kervin at blueprint-tech.com
Wed Jan 1 17:16:12 EST 2003


Just a thought,

I am working on some PHP scripts to manage mailboxes and I have to use 
passthough calls to execute cyradm to add mailboxes.

I'd like to avoid opening a shell from the web for security and 
performance reasons.

So what if a valid login to cyrus created a mailbox if one did not 
exist?  Ie. does a 'cm $login' if sasl or saslauthd reports that $login 
and it's password succeeded.

That way all a sysadmin using LDAP would have to do is do an ldap_add() 
to create a mailbox.  This would be true for MySQL users as well.


-- 

=========================
Kervin Pierre

kervin at blueprint-tech.com
kervin at kervin.net
kpierre at fit.edu






More information about the Info-cyrus mailing list