[ // IMAP connection: scheme://host:port // Schemes: ssl:// for IMAPS (port 993), tls:// for STARTTLS (port 143). // Required. 'imap_host' => 'ssl://mail.domain.tld:993', // SMTP connection: scheme://host:port // Schemes: tls:// for STARTTLS (port 587), ssl:// for SMTPS (port 465). // Falls back to imap_host if not specified. 'smtp_host' => 'tls://mail.domain.tld:587', // Sieve (managesieve) connection: scheme://host:port // Schemes: tls:// for STARTTLS (port 4190), ssl:// for implicit TLS. // Optional. Only needed if the managesieve plugin is installed. 'sieve_host' => 'tls://mail.domain.tld:4190', // Login name, can be 'email' (full address from identity), 'mbox' (only mailbox part). // Any other value is treated as 'not specified' (default). 'user' => 'email', // IMAP folder hierarchy delimiter. // Omit or set to null for auto-detect (recommended). // 'delimiter' => '/', // Are specified settings locked in interface or not. // Default - false. 'readonly' => true, ], 'another.tld' => [ 'imap_host' => 'tls://mail.another.tld:143', 'smtp_host' => 'tls://mail.another.tld:587', 'user' => 'mbox', ], // Wildcard: default settings for any domain not listed above. // '*' => [ // 'imap_host' => 'ssl://mail.example.com:993', // 'smtp_host' => 'tls://mail.example.com:587', // 'user' => 'email', // ], ]; /* * Enable background mail checking across secondary accounts. * Shows unread counts in the account switcher and a badge for new messages. * Default: true. */ $config['ident_switch.check_mail'] = true; /* * Round-robin mode: check one identity per refresh cycle instead of all. * Useful with many accounts to reduce IMAP connections per refresh. * Default: false (all identities checked every cycle). */ $config['ident_switch.round_robin'] = false; /* * Hide the warning shown to users when the newmail_notifier plugin is not active. * Default: false (warning is displayed). */ $config['ident_switch.hide_notifier_warning'] = false; /* * Restrict account switching to preconfigured domains only. * When enabled, the ident_switch form is hidden for identities whose email * domain does not match any entry in 'ident_switch.preconfig'. * Users can still create Roundcube identities (name, signature, etc.) but * cannot configure server connections for non-preconfigured domains. * Default: false (all domains allowed). */ $config['ident_switch.preconfig_only'] = false; /* * Enable debug logging to logs/ident_switch.log. * Useful for troubleshooting SMTP/Sieve routing and alias resolution. * Default: false. */ $config['ident_switch.debug'] = false;