mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-14 10:52:49 +02:00
93 lines
2.6 KiB
PHP
93 lines
2.6 KiB
PHP
<?php
|
|
error_reporting(E_ERROR);
|
|
//error_reporting(E_ALL);
|
|
|
|
/*
|
|
PLEASE USE THE FILE "vars.local.inc.php" TO OVERWRITE SETTINGS AND MAKE THEM PERSISTENT!
|
|
This file will be reset on upgrades.
|
|
*/
|
|
|
|
// SQL database connection variables
|
|
$database_type = 'mysql';
|
|
$database_host = 'mysql';
|
|
$database_user = getenv('DBUSER');
|
|
$database_pass = getenv('DBPASS');
|
|
$database_name = getenv('DBNAME');
|
|
|
|
// Other variables
|
|
$mailcow_hostname = getenv('MAILCOW_HOSTNAME');
|
|
|
|
// Autodiscover settings
|
|
$autodiscover_config = array(
|
|
// Enable the autodiscover service for Outlook desktop clients
|
|
'useEASforOutlook' => 'yes',
|
|
// General autodiscover service type: "activesync" or "imap"
|
|
'autodiscoverType' => 'activesync',
|
|
// Please don't use STARTTLS-enabled service ports here.
|
|
// The autodiscover service will always point to SMTPS and IMAPS (TLS-wrapped services).
|
|
'imap' => array(
|
|
'server' => $mailcow_hostname,
|
|
'port' => getenv('IMAPS_PORT'),
|
|
),
|
|
'smtp' => array(
|
|
'server' => $mailcow_hostname,
|
|
'port' => getenv('SMTPS_PORT'),
|
|
),
|
|
'activesync' => array(
|
|
'url' => 'https://'.$mailcow_hostname.'/Microsoft-Server-ActiveSync'
|
|
),
|
|
'caldav' => array(
|
|
'url' => 'https://'.$mailcow_hostname
|
|
),
|
|
'carddav' => array(
|
|
'url' => 'https://'.$mailcow_hostname
|
|
)
|
|
);
|
|
|
|
// Where to go after adding and editing objects
|
|
// Can be "form" or "previous"
|
|
// "form" will stay in the current form, "previous" will redirect to previous page
|
|
$FORM_ACTION = 'previous';
|
|
|
|
// Change default language, "de", "en", "es", "nl", "pt", "ru"
|
|
$DEFAULT_LANG = 'en';
|
|
|
|
// Available languages
|
|
$AVAILABLE_LANGUAGES = array('de', 'en', 'es', 'nl', 'pt', 'ru', 'it');
|
|
|
|
// Change theme (default: lumen)
|
|
// Needs to be one of those: cerulean, cosmo, cyborg, darkly, flatly, journal, lumen, paper, readable, sandstone,
|
|
// simplex, slate, spacelab, superhero, united, yeti
|
|
// See https://bootswatch.com/
|
|
// WARNING: Only lumen is loaded locally. Enabling any other theme, will download external sources.
|
|
$DEFAULT_THEME = 'lumen';
|
|
|
|
// Password complexity as regular expression
|
|
$PASSWD_REGEP = '.{4,}';
|
|
|
|
// mailcow Apps - buttons on login screen
|
|
$MAILCOW_APPS = array(
|
|
array(
|
|
'name' => 'SOGo',
|
|
'link' => '/SOGo/',
|
|
'description' => 'SOGo is a web-based client for email, address book and calendar.'
|
|
),
|
|
// array(
|
|
// 'name' => 'Roundcube',
|
|
// 'link' => '/rc/',
|
|
// 'description' => 'Roundcube is a web-based email client.',
|
|
// ),
|
|
);
|
|
|
|
// Rows until pagination begins
|
|
$PAGINATION_SIZE = 10;
|
|
|
|
// Rows until pagination begins (log table)
|
|
$LOG_PAGINATION_SIZE = 30;
|
|
|
|
// Session lifetime in seconds
|
|
$SESSION_LIFETIME = 3600;
|
|
|
|
// Label for OTP devices
|
|
$OTP_LABEL = "mailcow UI";
|