opensmtpdadmin/conf.php-sample
2023-10-15 08:03:22 +00:00

57 lines
1.3 KiB
Plaintext

<?php
//
// OpenSMTPD Admin
// by Mischa Peters <mischa at high5 dot nl>
// Copyright (c) 2022-2023 High5!
// License Info: LICENSE.TXT
//
// File: conf.php
//
// PHP debugging, disable with 'false
//
define('DEBUG', 'true');
// SQL configuration, done through PDO
// https://www.php.net/manual/en/pdo.drivers.php
define('DB_TYPE', 'mysql');
define('DB_HOST', '');
define('DB_USER', '');
define('DB_PASS', '');
define('DB_NAME', '');
// Define default maximum number of aliases and mailboxes for a domain
define('ALIASES', '10');
define('MAILBOXES', '10');
// Mail Admin Administrator tag
define('ADMIN_ROLE', 'ADMINISTRATOR');
// Expose virtual mail construct 'vmail' to admins.
define('ALIAS_CONTROL', 'NO');
// Enable VIRTUAL_VACATION with 'YES"
define('VACATION', 'NO');
// Disable activity logging with 'NO"
define('LOGGING', 'YES');
define('LOG_SIZE', '25');
// Admin email for logging
define('ADMIN_EMAIL', 'postmaster@example.tld');
// Default language file to use
define('DEFAULT_LANGUAGE', 'en');
// Number of records to show on each page
define('PAGE_SIZE', '25');
// Enable header text
define('SHOW_HEADER', 'NO');
define('HEADER_TEXT', ':: OpenSMTPD Admin ::');
// Enable footer text
define('SHOW_FOOTER', 'YES');
define('FOOTER_TEXT', 'Return to OpenSMTPD!');
define('FOOTER_LINK', 'https://code.high5.nl/High5/opensmtpdadmin');
?>