This code has been officially incorporated into the MailAdmin project and there is an official MailAdmin 1.5.2 release available from Source Forge.
The MailAdmin project provides a pretty good start at an administrative interface for Cyrus imap mail servers. Unfortunately the project hasn't seen any work since late 2001. I'm posting the enhancements I've made here so that people can get them easier than trying to figure out which patches to get from the SF patch system.
- Added the ability to specify you want buttons instead of links for making changes, etc.
- Added javascript error handling to make user input and validation cleaner.
- Made sure that there is a pretty good distinction of admin and user help when you view the help topics.
- Added the ability to specify a prefix url. This allows you to install mailadmin in a subdirectory of your website and have the urls all work correctly.
- Added support for different imap seperators. It defaults to '.'.
- Updated the scripts to work with sasl2. There is currently no way to use sasl1 unless you re-edit the scripts. You would just have to remove the 2 from the salspasswd2 instances.
- Quoted all arguments to the perl scripts so that special characters are hidden from the shell.
- Made the username edit field larger so you can try and use user@domain style usernames. Cyrus 2.2+
- Made the setcookie code hopefully work with the different versions of php since it changed to require just the unix timestamp and not the ISO format date value.
- Added a more flexible folder create mechanism when creating a user. It still isn't perfect, but you just specify an array of folders to create and the create user step then loops over them. Make sure you use the new $mail_server_seperator variable to allow changing folder seperators on the fly, etc.
mailadmin-1.5.2.diff - Diff against mailadmin 1.5.1 to patch in all my enhancements. You can download mailadmin-1.5.1 from Source Forge.
mailadmin-1.5.2.tar.gz - mailadmin 1.5.1 with my enhancements patched in.