freebsd 7.2
mysql50-server
apache22
php5
php5-mysql
php5-extensions
courier_imap_pop3d_enable
courier_authdaemond_enable
postfix
postfixadmin
sqwebmail
почту настривал согласно статье http://www.inattack.ru/article/447.html
php mysql i apache курил сам и дажеработает:
Код: Выделить всё
tail -f /var/log/httpd-error.log
[Tue Dec 08 01:34:05 2009] [notice] caught SIGTERM, shutting down
[Tue Dec 08 01:34:08 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Dec 08 01:34:09 2009] [notice] Digest: generating secret for digest authentication ...
[Tue Dec 08 01:34:09 2009] [notice] Digest: done
[Tue Dec 08 01:34:09 2009] [notice] Apache/2.2.11 (FreeBSD) mod_ssl/2.2.11 OpenSSL/0.9.8e DAV/2 PHP/5.2.11 mod_perl/2.0.4 Perl/v5.8.9 configured -- resuming normal operations
Код: Выделить всё
Alias /postfix-admin/ "/usr/local/www/postfixadmin/"
<Directory "/usr/local/www/postfixadmin">
Options Indexes
AllowOverride Authconfig
Order deny,allow
Allow from all
</Directory>
Not Found
The requested URL /postfixadmin/ was not found on this server.
при попытке зайти на http://192.168.1.60/postfix-admin/index.php вижу
Код: Выделить всё
/**
* Postfix Admin
*
* LICENSE
* This source file is subject to the GPL license that is bundled with
* this package in the file LICENSE.TXT.
*
* Further details on the project are available at :
* http://www.postfixadmin.com or http://postfixadmin.sf.net
*
* @version $Id: index.php 299 2008-02-21 21:43:58Z GingerDog $
* @license GNU GPL v2 or later.
*
* File: index.php
* Shows a sort-of welcome page.
* Template File: -none-
*
* Template Variables: -none-
*
* Form POST \ GET Variables: -none-
*/
$CONF['configured'] = FALSE;
@include_once('config.inc.php'); # hide error message because only $CONF['configured'] is checked here
if (!file_exists (realpath ("./setup.php")) || $CONF['configured'] == 'I_know_the_risk_of_not_deleting_setup.php')
{
header ("Location: login.php");
exit;
}
?>
<html>
<head>
<title>Welcome to Postfix Admin</title>
</head>
<body>
<img id="login_header_logo" src="images/logo-default.png" />
<h1>Welcome to Postfix Admin</h1>
<h2>What is it?</h2>
<p>Postfix Admin is a web based interface to configure and manage a Postfix based email server for many users.</p>
<p>Postfix Admin can also be used to </p>
<ul>
<li>Forward email to other addresses</li>
<li>Configure vacation/out-of-office auto responses</li>
<li>Add/edit/remove mail accounts</li>
<li>Add/edit/remove domains</li>
<li>Broadcast emails to all users of the system</li>
<li>Set quota on mailboxes</li>
<li>And more...</li>
</ul>
<h2>Licensing</h2>
<p>Postfix admin is released under the following license :</p>
<code>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License 2 as published by
the Free Software Foundation.
</code>
<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>
<h2>What now?</h2>
<ol>
<li>Read the <a href='INSTALL.TXT'>INSTALL.txt</a> file</li>
<li>Configure Postfix to use your chosen database - see (for example) the following pages :
<ul>
<li><a href="http://codepoets.co.uk/postfixadmin-postgresql-courier-squir...
<li><a href="http://bliki.rimuhosting.com/space/knowledgebase/linux/mail/...
<li><a href="http://gentoo-wiki.com/HOWTO_Setup_a_Virtual_Postfix/Courier...
</ul>
<li>Use it</li>
</ol>
<p><b>When you have configured Postfixadmin, this page will be replaced with a login page.</b></p>
<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 />
<p> If you still encounter any problems, please check the documentation and website for more information.</p>
<h2>Postfix Admin Web sites</h2>
<p>For further help, or documentation please check out -
<a href="http://postfixadmin.org">Postfix Admin</a> web site<br />
<a href="http://sourceforge.net/forum/forum.php?forum_id=676076"... Base</a>
</p>
</p>
</body>
</html>