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.

index.php 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <?php
  2. /**
  3. * Postfix Admin
  4. *
  5. * LICENSE
  6. * This source file is subject to the GPL license that is bundled with
  7. * this package in the file LICENSE.TXT.
  8. *
  9. * Further details on the project are available at http://postfixadmin.sf.net or https://github.com/postfixadmin/postfixadmin
  10. *
  11. * @version $Id$
  12. * @license GNU GPL v2 or later.
  13. *
  14. * File: index.php
  15. * Shows a sort-of welcome page.
  16. * Template File: -none-
  17. *
  18. * Template Variables: -none-
  19. *
  20. * Form POST \ GET Variables: -none-
  21. */
  22. $CONF = array('configured' => false);
  23. if (file_exists(dirname(__FILE__) . '/../config.inc.php')) {
  24. require_once(dirname(__FILE__) . '/../config.inc.php');
  25. }
  26. if ($CONF['configured'] === true) {
  27. header("Location: login.php");
  28. exit;
  29. }
  30. ?>
  31. <html>
  32. <head>
  33. <title>Welcome to Postfix Admin</title>
  34. </head>
  35. <body>
  36. <img id="login_header_logo" src="images/logo-default.png" />
  37. <h1>Welcome to Postfix Admin</h1>
  38. <h2>What is it?</h2>
  39. <p>Postfix Admin is a web based interface to configure and manage a Postfix based email server for many users.</p>
  40. <p>Postfix Admin can also be used to </p>
  41. <ul>
  42. <li>Forward email to other addresses</li>
  43. <li>Configure vacation/out-of-office auto responses</li>
  44. <li>Add/edit/remove mail accounts</li>
  45. <li>Add/edit/remove domains</li>
  46. <li>Broadcast emails to all users of the system</li>
  47. <li>Set quota on mailboxes</li>
  48. <li>And more...</li>
  49. </ul>
  50. <h2>Licensing</h2>
  51. <p>Postfix admin is released under the following license :</p>
  52. <code>
  53. This program is free software; you can redistribute it and/or modify
  54. it under the terms of the GNU General Public License 2 as published by
  55. the Free Software Foundation.
  56. </code>
  57. <p>See the following <a href="http://www.fsf.org/licenses/gpl-2.0.txt">FSF GPL2 page</a> for further information on the license.</p>
  58. <h2>What now?</h2>
  59. <ol>
  60. <li>Read the <a href='https://raw.githubusercontent.com/postfixadmin/postfixadmin/master/INSTALL.TXT'>INSTALL.TXT</a> file</li>
  61. <li>Configure Postfix to use your chosen database - see (for example) the following pages :
  62. <ul><!-- TODO: get newer URLs ... -->
  63. <li><a href="http://codepoets.co.uk/postfixadmin-postgresql-courier-squirrelmail-debian-etch-howto-tutorial">Postfix/PostgreSQL/Postfixadmin/Courier</a></li>
  64. <li><a href="http://bliki.rimuhosting.com/space/knowledgebase/linux/mail/postfixadmin+on+debian+sarge">Postfix/MySQL/Postfixadmin/Dovecot</a></li>
  65. <li><a href="http://gentoo-wiki.com/HOWTO_Setup_a_Virtual_Postfix/Courier_Mail_System_with_PostfixAdmin">Postfix/MySQL/Postfixamdin/Courier</a></li>
  66. </ul>
  67. <li>Use it</li>
  68. </ol>
  69. <p><b>When you have configured Postfixadmin, this page will be replaced with a login page.</b></p>
  70. <p>You can now run <a href="setup.php">setup</a> to make sure that all the PHP functions are available for Postfix Admin to run.<br />
  71. <p> If you still encounter any problems, please check the documentation and website for more information.</p>
  72. <h2>Postfix Admin Web sites</h2>
  73. <p>For further help, or documentation please check out -
  74. <ul>
  75. <li><a href="http://github.com/postfixadmin/postfixadmin">GitHub - Postfix Admin</a> web site</li>
  76. <li><a href="http://postfixadmin.org">Postfix Admin</a> web site<br /></li>
  77. <li><a href="http://sourceforge.net/forum/forum.php?forum_id=676076">Knowledge Base</a></li>
  78. </ul>
  79. </p>
  80. </p>
  81. </body>
  82. </html>
  83. <?php
  84. /* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */
  85. ?>