array( 'verify_peer' => false, // 'verify_depth' => 3, // 'cafile' => '/etc/yunohost/certs/' . $main_domain . '/ca.pem', ), ); // provide an URL where a user can get support for this Roundcube installation // PLEASE DO NOT LINK TO THE ROUNDCUBE.NET WEBSITE HERE! $config['support_url'] = 'https://dev.yunohost.org/projects/apps/issues?set_filter=1&f[]=category_id&op[category_id]=%3D&v[category_id][]=20'; // Name your service. This is displayed on the login screen and in the window title $config['product_name'] = 'YunoHost Webmail'; // this key is used to encrypt the users imap password which is stored // in the session record (and the client cookie if remember password is enabled). // please provide a string of exactly 24 chars. // YOUR KEY MUST BE DIFFERENT THAN THE SAMPLE VALUE FOR SECURITY REASONS $config['des_key'] = '__DESKEY__'; // skin name: folder from skins/ $config['skin'] = 'elastic'; // ---------------------------------- // USER INTERFACE // ---------------------------------- // the default locale setting (leave empty for auto-detection) // RFC1766 formatted language name like en_US, de_DE, de_CH, fr_FR, pt_BR $config['language'] = __LANGUAGE__; // use this format for date display (date or strftime format) $config['date_format'] = 'd-m-Y'; // Enable YunoHost users search in the address book. $config['ldap_public']['yunohost'] = array( 'name' => 'YunoHost Users', 'hosts' => array('localhost'), 'port' => 389, 'user_specific' => false, 'base_dn' => 'ou=users,dc=yunohost,dc=org', 'scope' => 'list', 'filter' => '(objectClass=mailAccount)', 'hidden' => false, 'searchonly' => true, 'fieldmap' => array( 'name' => 'uid', 'surname' => 'sn', 'firstname' => 'givenName', 'email' => 'mail:*', ), ); // List of active plugins (in plugins/ directory) $config['plugins'] = array( 'archive', 'zipdownload', // additionnal plugins 'http_authentication', 'managesieve', 'markasjunk', 'new_user_dialog', 'new_user_identity', // installed plugins ); // ---------------------------------- // PLUGINS // ---------------------------------- // -- new_user_identity // The id of the address book to use to automatically set a // user's full name in their new identity. $config['new_user_identity_addressbook'] = 'yunohost'; // -- http_authentication // Redirect the client to this URL after logout. $config['logout_url'] = 'https://' . $main_domain . '/yunohost/sso/?action=logout'; // -- managesieve // Enables separate management interface for vacation responses (out-of-office) $config['managesieve_vacation'] = 1; // -- ldapAliasSync $config['ldapAliasSync'] = array( // Mail parameters 'mail' => array( 'dovecot_separator' => '+', ), // LDAP parameters 'ldap' => array( 'bind_dn' => '', ), # 'user_search' holds all config variables for the user search 'user_search' => array( 'base_dn' => 'uid=%local,ou=users,dc=yunohost,dc=org', 'filter' => '(objectClass=mailAccount)', 'mail_by' => 'attribute', 'attr_mail' => 'mail', 'attr_name' => 'cn', ), # 'alias_search' holds all config variables for the alias search 'alias_search' => array( 'base_dn' => 'uid=%local,ou=users,dc=yunohost,dc=org', 'filter' => '(objectClass=mailAccount)', 'mail_by' => 'attribute', 'attr_mail' => 'mailalias', 'attr_name' => 'cn', ), ); // ---------------------------------- // LOCAL CONFIGURATION // ---------------------------------- $local_config = dirname(__FILE__) . '/local.inc.php'; if (file_exists($local_config)) { include $local_config; }