You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

INSTALL 2.1KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. Installing the postfixadmin Plugin
  2. ======================================
  3. Requirements:
  4. =============
  5. - PHP 5.[234].* with php5-xmlrpc installed (if available; it should be available by default anyway)
  6. - http access to a local/remote postfixadmin interface
  7. - Zend Framework (1.12.x) - needs adding to the include path within common.php,
  8. or installing in a system include path directory (e.g. /usr/share/php)
  9. (e.g. from within the directory containing this file ...
  10. wget https://packages.zendframework.com/releases/ZendFramework-1.12.3/ZendFramework-1.12.3-minimal.tar.gz
  11. tar -zxf ZendFramework-1.12.3-minimal.tar.gz
  12. mv ZendFramework-1.12.3-minimal/library/Zend . )
  13. NOTE: This plugin is _not compatible_ with Zend Framework version 2.x.
  14. Installation :
  15. ==============
  16. - Copy this code into the Squirrelmail plugins directory - your life will be easiest if it's in a directory called 'postfixadmin'
  17. - Install Zend Framework (see above under Requirements for example)
  18. - Edit config.php and specify the remote URL for the Postfixadmin XmlRpc service.
  19. - Edit common.php and (if you need to) change the include path(s) so they are correct.
  20. - Edit the remote Postfixadmin's XmlRpc service config file and ensure 'xmlrpc_enabled' is set to boolean true.
  21. - Enable the plugin through 'squirrelmail-configure' or 'config/conf.pl'.
  22. Choose option 8 and move the plugin from the "Available Plugins"
  23. category to the "Installed Plugins" category. Save and exit.
  24. Security :
  25. ==========
  26. - The XmlRpc client needs to get the user's mailbox password before it will be able to connect to the
  27. XmlRpc server (postfixadmin). The plugin prompts the user for their mailbox password, and caches it in their session
  28. ($_SESSION['password']). This password is then sent once on every page load to the remote XmlRpc server.
  29. - You should consider doing any of the following :
  30. - Using https if the server and client are on seperate servers. This will probably require a signed certificate etc, and may require changes to the Zend_XmlRpc_Client's HttpClient.
  31. - Using something like stunnel to encrypt traffic between server(s).