opensmtpdadmin/conf.php-sample

56 lines
1.3 KiB
Plaintext
Raw Normal View History

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