Check out this php based web admin interface 
ftp://ftp.hr.vc-graz.ac.at/cyrus-tools/

Alain Turbide

----- Original Message ----- 
From: "prune" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, March 18, 2001 8:13 AM
Subject: creating mailbox from php


> Hi,
> 
> I would like to create new mail user acount from a web page in PHP.
> I'm using cyrus + pam ldap, with lmtp transfert with postfix.
> 
> Here are some solutions :
> 
> -creating a script file from php, and passing it to cyradm
> 
> -passing infos from php to cyradm (possible ??)
> 
> -using Cyrus::IMAP::Admin or Shell from php ???
> 
> -creating the new imap account directly from php, whith IMAP functions. 
> This solution is the best... but is it possible, and how ?
> using imap_open with user "cyrus" to act as an admin, and then do a 
> imap_createmailbox 'user.foo' to create the foo mailbox  (as there is an 
> existing foo user in ldap, but hat is another problem).
> 
> Hope you'll be able to help me. maybe something already exists ?
> 
> Prune
> 
> 

Reply via email to