> Hi,
>
> Hope you'll be able to help me. maybe something already exists
Creating mailboxes with php is possible and it run fine.
I developped first a script using a class from php-cyradm (using direct telnet on the
sockets), but the php-imap (>= 4.0) functions run fine and are easy to implemente.
(You have to test mailsettings : it's more recent).
Like you, I used ldap-pam-cyrus.
I have just implemented a class to create a user in my ldap-db and in the same time a
mailboxe for this user.
So, you have just to check if your imap admin can log to cyrus.
If cyrus is your admin user :
cyradm -m login -u cyrus localhost
must run.
php/apache use your pam-ldap authentification and not the salsdb. So must you have a
usercyrus in your ldap db.
Good luck.
If u want, I can send you my class (to create a user in ldap and its mailboxe).
Bye.
--
Pascal Pucci : [EMAIL PROTECTED]
Recommander un site à ses amis : http://www.BeeTell.com
Participer à la promotion du logiciel libre : http://www.linuxpien.org
http://www.pascalou.org, sur le portable : [EMAIL PROTECTED]