123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- <?php
- /* DO NOT EDIT THIS FILE!
- Instead, copy this config file to config.inc.php and make your changes
- in the copied version. This is just a template!
- */
- /*
- * MySQL server and database settings
- */
- define("MYSQL_HOST", "localhost");
- define("MYSQL_USER", "vmail");
- define("MYSQL_PASSWORD", "vmail");
- define("MYSQL_DATABASE", "vmail");
- /*
- * Database table names
- */
- // Table names
- define("DBT_USERS", "users");
- define("DBT_DOMAINS", "domains");
- define("DBT_ALIASES", "aliases");
- // Users table columns
- define("DBC_USERS_ID", "id");
- define("DBC_USERS_USERNAME", "username");
- define("DBC_USERS_DOMAIN", "domain");
- define("DBC_USERS_PASSWORD", "password");
- // define("DBC_USERS_MAILBOXLIMIT", "mailbox_limit"); // (Optional)
- // Domains table columns
- define("DBC_DOMAINS_ID", "id");
- define("DBC_DOMAINS_DOMAIN", "domain");
- // Aliases table columns
- define("DBC_ALIASES_ID", "id");
- define("DBC_ALIASES_SOURCE", "source");
- define("DBC_ALIASES_DESTINATION", "destination");
- // Enable multi source redirects, needs a new column in aliase table with VARCHAR(32)
- //define("DBC_ALIASES_MULTI_SOURCE", "multi_source"); // (Optional, Recommended)
- /*
- * General options
- */
- // Enable validating that the source addresses are ending with domain from domains
- //define("VALIDATE_ALIASES_SOURCE_DOMAIN_ENABLED", true); // (Optional, Recommended)
- /*
- * Frontend paths
- */
- define("FRONTEND_BASE_PATH", "http://localhost/webmum/");
- /*
- * Admin e-mail address
- */
- // outdated: define("ADMIN_EMAIL", "admin@domain.tld");
- // new: $admins = array("admin1@server.tld", "admin2@server.tld");
- $admins = array("admin@domain.tld");
- /**
- * Limited admin domain access
- *
- * Unlisted admins have access to every domain, the admin is limited to listed domains only!
- * Unlisted domains aren't accessible by that admin.
- *
- * Note that listed admins also cannot create new domains!
- */
- //define("ADMIN_DOMAIN_LIMITS_ENABLED", true); // (Optional)
- $adminDomainLimits = array(
- // Example:
- // "low_rank_admin@domain.tld" => array("his-domain.tld", "shared-domain.tld"),
- );
- /*
- * Password
- */
- /*
- * Select on of the following schemas (only these are supported)
- * SHA-512, SHA-256, BLOWFISH
- */
- define("PASS_HASH_SCHEMA", "SHA-512");
- //minimum password length
- define("MIN_PASS_LENGTH", 8);
- /*
- * Write log file? Failed login attempts will be written to the logfile.
- * You can mointor the logfile with fail2ban and ban attackers' IP-addresses.
- * Make sure that PHP has permission to create the log directory and webmum.log (write permissions for php user)
- *
- * Default: Do not write logfile
- */
- // define("WRITE_LOG", true);
- // define("WRITE_LOG_PATH","/var/www/webmum/log/");
- /*
- * Frontend options
- */
- // Separator for email lists
- define("FRONTEND_EMAIL_SEPARATOR_TEXT", ', '); // possible values: ', ' (default), '; ', PHP_EOL (newline)
- define("FRONTEND_EMAIL_SEPARATOR_FORM", ','); // possible values: ',' (default), ';', PHP_EOL (newline)
- ?>
|