EVOLUTION-MANAGER
Edit File: config.inc.php.14022022
<?php /* Local configuration for Roundcube Webmail */ // ---------------------------------- // SQL DATABASE // ---------------------------------- // Database connection string (DSN) for read+write operations // Format (compatible with PEAR MDB2): db_provider://user:password@host/database // Currently supported db_providers: mysql, pgsql, sqlite, mssql, sqlsrv, oracle // For examples see http://pear.php.net/manual/en/package.database.mdb2.intro-dsn.php // Note: for SQLite use absolute path (Linux): 'sqlite:////full/path/to/sqlite.db?mode=0646' // or (Windows): 'sqlite:///C:/full/path/to/sqlite.db' // Note: Various drivers support various additional arguments for connection, // for Mysql: key, cipher, cert, capath, ca, verify_server_cert, // for Postgres: application_name, sslmode, sslcert, sslkey, sslrootcert, sslcrl, sslcompression, service. // e.g. 'mysql://roundcube:@localhost/roundcubemail?verify_server_cert=false' $config['db_dsnw'] = 'mysql://rounduser:R0undcub3.1982%21@localhost/roundcubedb'; $config['log_driver'] = 'file'; $config['log_date_format'] = 'd-M-Y H:i:s O'; $config['log_file_ext'] = '.log'; $config['imap_debug'] = true; // Log SMTP conversation to <log_dir>/smtp.log or to syslog $config['smtp_debug'] = true; // The IMAP host chosen to perform the log-in. // Leave blank to show a textbox at login, give a list of hosts // to display a pulldown menu or set one host as string. // Enter hostname with prefix ssl:// to use Implicit TLS, or use // prefix tls:// to use STARTTLS. // Supported replacement variables: // %n - hostname ($_SERVER['SERVER_NAME']) // %t - hostname without the first part // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part) // %s - domain name after the '@' from e-mail address provided at login screen // For example %n = mail.domain.tld, %t = domain.tld //$config['default_host'] = 'localhost'; //$config['default_host'] = 'ssl://mail.grupofmo.com'; //$config['default_host'] = array('grupofmo.com:143', 'ssl://grupofmo.com:993'); //$config['default_host'] = 'ssl://grupofmo.com:993'; $config['default_host'] = 'imaps://grupofmo.com'; // TCP port used for IMAP connections //$config['default_port'] = 143; $config['default_port'] = 993; // IMAP authentication method (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or null). // Use 'IMAP' to authenticate with IMAP LOGIN command. // By default the most secure method (from supported) will be selected. $config['imap_auth_type'] = 'LOGIN'; // ---------------------------------- // SMTP // ---------------------------------- // SMTP server host (for sending mails). // Enter hostname with prefix ssl:// to use Implicit TLS, or use // prefix tls:// to use STARTTLS. // Supported replacement variables: // %h - user's IMAP hostname // %n - hostname ($_SERVER['SERVER_NAME']) // %t - hostname without the first part // %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part) // %z - IMAP domain (IMAP hostname without the first part) // For example %n = mail.domain.tld, %t = domain.tld //$config['smtp_server'] = 'localhost'; $config['smtp_server'] = 'tls://mail.grupofmo.com'; // SMTP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or empty to use // best server supported one) $config['smtp_auth_type'] = 'LOGIN'; // 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'] = ''; // Enables possibility to log in using email address from user identities $config['user_aliases'] = true; // This key is used to encrypt the users imap password which is stored // in the session record. For the default cipher method it must be // exactly 24 characters long. // YOUR KEY MUST BE DIFFERENT THAN THE SAMPLE VALUE FOR SECURITY REASONS $config['des_key'] = '6AYmnd9ZiNBJeuz8CnBZ4SS2'; // Name your service. This is displayed on the login screen and in the window title $config['product_name'] = 'GrupoFMO - Roundcube WebMail'; // List of active plugins (in plugins/ directory) $config['plugins'] = array('virtuser_query'); // 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'] = 'es_EC'; // store draft message is this mailbox // leave blank if draft messages should not be stored // NOTE: Use folder names with namespace prefix (INBOX. on Courier-IMAP) $config['drafts_mbox'] = 'Borradores'; // store spam messages in this mailbox // NOTE: Use folder names with namespace prefix (INBOX. on Courier-IMAP) $config['junk_mbox'] = 'Basura'; // move messages to this folder when deleting them // leave blank if they should be deleted directly // NOTE: Use folder names with namespace prefix (INBOX. on Courier-IMAP) $config['trash_mbox'] = 'Papelera'; // Set the spell checking engine. Possible values: // - 'googie' - the default (also used for connecting to Nox Spell Server, see 'spellcheck_uri' setting) // - 'pspell' - requires the PHP Pspell module and aspell installed // - 'enchant' - requires the PHP Enchant module // - 'atd' - install your own After the Deadline server or check with the people at http://www.afterthedeadline.com before using their API // Since Google shut down their public spell checking service, the default settings // connect to http://spell.roundcube.net which is a hosted service provided by Roundcube. // You can connect to any other googie-compliant service by setting 'spellcheck_uri' accordingly. $config['spellcheck_engine'] = 'pspell'; //$config['enable_installer'] = true; //$config['virtuser_query'] = "SELECT Email FROM correosfmo.accounts_table WHERE Email = '%u'"; //$config['virtuser_query'] = "SELECT Email as User, password FROM correosfmo.accounts_table WHERE Email=(SELECT Destination FROM correosfmo.alias_table WHERE source='%u')"; //Línea válida, descomentar luego de pruebas //$config['virtuser_query'] = 'SELECT Email as User, password FROM correosfmo.accounts_table WHERE Email=(SELECT Destination FROM correosfmo.alias_table WHERE source=\'%u\')'; $config['virtuser_query'] = 'SELECT Email as User, password FROM correosfmo.virtual_users WHERE Email=(SELECT Destination FROM correosfmo.alias_table WHERE source=\'%u\')';