- update to PostfixAdmin 3.2:
- new directory layout (see below)
- enable users to reset their passwords by mail or SMS
($CONF['forgotten_user_password_reset'],
$CONF['forgotten_admin_password_reset'], $CONF['sms_send_function'])
- allow local alias targets (without @domain)
- add $CONF['edit_alias'] to disable "edit alias" function for users
- add php_crypt $CONF["encrypt"] option
- add support for MySQL connections over SSL
- and more - see CHANGELOG.TXT for the full list
- move out of /srv/www/htdocs/postfixadmin - PHP code moved to
/usr/share/postfixadmin/, smarty cache to /var/cache/postfixadmin/ and
the config files to /etc/postfixadmin/ (no automated migration!)
- add apache config file to glue everything together. Note that the
/postfixadmin alias is *not* enabled by default to avoid that it is
active on all vhosts. Run "a2enflag POSTFIXADMIN" if you want that.
- adjust perl requirements for latest vacation.pl
- drop apache2-devel / httpd-devel BuildRequires - no longer needed with
the new directory layout
- package /usr/bin/postfixadmin-cli symlink
OBS-URL: https://build.opensuse.org/request/show/603331
OBS-URL: https://build.opensuse.org/package/show/server:php:applications/postfixadmin?expand=0&rev=49
34 lines
1.6 KiB
PHP
34 lines
1.6 KiB
PHP
<?php
|
|
################################################################################
|
|
# #
|
|
# PostfixAdmin local configuration #
|
|
# #
|
|
# Use this file for your own configuration settings. #
|
|
# #
|
|
# See config.inc.php for all available config options, but please do not #
|
|
# change that file. Instead, add the options you want to change/override #
|
|
# to config.local.php (= this file). #
|
|
# #
|
|
################################################################################
|
|
|
|
|
|
# You have to set $CONF['configured'] = true; before the application will run!
|
|
# Doing this implies you have changed your config as required.
|
|
# i.e. configuring database etc; specifying setup.php password etc.
|
|
$CONF['configured'] = false;
|
|
|
|
# In order to setup Postfixadmin, you MUST specify a hashed password here.
|
|
# To create the hash, visit setup.php in a browser and type a password into the field,
|
|
# on submission it will be echoed out to you as a hashed value.
|
|
$CONF['setup_password'] = 'changeme';
|
|
|
|
# Database Config
|
|
# mysqli = MySQL 4.1+ or MariaDB
|
|
# pgsql = PostgreSQL
|
|
# sqlite = SQLite 3
|
|
$CONF['database_type'] = 'mysqli';
|
|
$CONF['database_host'] = 'localhost';
|
|
$CONF['database_user'] = 'postfix';
|
|
$CONF['database_password'] = 'postfixadmin';
|
|
$CONF['database_name'] = 'postfix';
|