PostfixAdmin - web based virtual user administration interface for Postfix mail servers https://postfixadmin.github.io/postfixadmin/
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.

96 lines
3.3 KiB

8 years ago
8 years ago
  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. clearstatcache();
  24. if (file_exists(dirname(__FILE__) . '/../config.inc.php')) {
  25. require_once(dirname(__FILE__) . '/../config.inc.php');
  26. }
  27. /**
  28. * @psalm-suppress TypeDoesNotContainType
  29. */
  30. if ($CONF['configured']) {
  31. header("Location: login.php");
  32. exit;
  33. }
  34. ?>
  35. <html>
  36. <head>
  37. <title>Welcome to Postfix Admin</title>
  38. </head>
  39. <body>
  40. <img id="login_header_logo" src="{$rel_path}images/logo-default.png" />
  41. <h1>Welcome to Postfix Admin</h1>
  42. <h2>What is it?</h2>
  43. <p>Postfix Admin is a web based interface to configure and manage a Postfix based email server for many users.</p>
  44. <p>Postfix Admin can also be used to </p>
  45. <ul>
  46. <li>Forward email to other addresses</li>
  47. <li>Configure vacation/out-of-office auto responses</li>
  48. <li>Add/edit/remove mail accounts</li>
  49. <li>Add/edit/remove domains</li>
  50. <li>Broadcast emails to all users of the system</li>
  51. <li>Set quota on mailboxes</li>
  52. <li>And more...</li>
  53. </ul>
  54. <h2>Licensing</h2>
  55. <p>Postfix admin is released under the following license :</p>
  56. <code>
  57. This program is free software; you can redistribute it and/or modify
  58. it under the terms of the GNU General Public License 2 as published by
  59. the Free Software Foundation.
  60. </code>
  61. <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>
  62. <h2>What now?</h2>
  63. <ol>
  64. <li>Read the <a href='https://raw.githubusercontent.com/postfixadmin/postfixadmin/master/INSTALL.TXT'>INSTALL.TXT</a> file</li>
  65. <li>Under section 4 of the INSTALL.TXT file it shows how to create a config.local.php file (in: <code><?php echo dirname(dirname(__FILE__)) ; ?>/config.local.php</code>). </li>
  66. <li>Then visit <a href="setup.php">setup.php</a> to check all requirements are met, and to create a superadmin account.</li>
  67. </ol>
  68. <p><b>Once you have configured Postfixadmin, this page will be replaced with a login page.</b></p>
  69. <p> If you still encounter any problems, please check the documentation and website for more information.</p>
  70. <h2>Postfix Admin Web sites</h2>
  71. <p>For further help, or documentation please check out -
  72. <ul>
  73. <li><a href="https://github.com/postfixadmin/postfixadmin">GitHub - Postfix Admin</a> web site</li>
  74. <li><a href="https://postfixadmin.org">Postfix Admin</a> web site<br /></li>
  75. <li><a href="https://sourceforge.net/forum/forum.php?forum_id=676076">Knowledge Base</a></li>
  76. </ul>
  77. </p>
  78. </p>
  79. </body>
  80. </html>
  81. <?php
  82. /* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */
  83. ?>