Код: Выделить всё
[root@guga /usr/ports]# make search name=postfixadmin
Port: postfixadmin-2.1.0_7
Path: /usr/ports/mail/postfixadmin
Info: PHP web-based management tool for Postfix virtual domains and users
Maint: ports.maintainer@evilphi.com
B-deps:
R-deps: libiconv-1.11_1 libxml2-2.6.30 mysql-client-5.0.51 php5-5.2.5 php5-mysql-5.2.5 php5-pcre-5.2.5 php5-session-5.2.5 pkg-config-0.22_1
WWW: http://high5.net/postfixadmin/
/usr/local/www/postfixadmin/config.inc.php:
Код: Выделить всё
<?php
//
// Postfix Admin
// by Mischa Peters <mischa at high5 dot net>
// Copyright (c) 2002 - 2005 High5!
// License Info: http://www.postfixadmin.com/?file=LICENSE.TXT
//
// File: config.inc.php
//
if (ereg ("config.inc.php", $_SERVER['PHP_SELF']))
{
header ("Location: login.php");
exit;
}
// Postfix Admin Path
// Set the location to your Postfix Admin installation here.
$CONF['postfix_admin_url'] = '';
$CONF['postfix_admin_path'] = '';
// Language config
// Language files are located in './languages'.
$CONF['default_language'] = 'en';
// Database Config
// mysql = MySQL 3.23 and 4.0
// mysqli = MySQL 4.1
// pgsql = PostgreSQL
$CONF['database_type'] = 'mysql';
$CONF['database_host'] = 'localhost';
$CONF['database_user'] = 'postfixadmin';
$CONF['database_password'] = 'postfixadmin';
$CONF['database_name'] = 'postfix';
$CONF['database_prefix'] = '';