array('#shared/', '#news/', '#ftp/', '#public/') * This parameter must be set if using a TLS connection. * Additionally, this parameter may be set if not using a TLS * connection and you want to allow access to namespaces that may * not be publicly advertised by the IMAP server (see RFC * 2342 [3]). These additional namespaces will be added to the list * of available namespaces returned by the server. * * imap_config: Manually set IMAP server configuration information. Please see * http://wiki.horde.org/ImpImapConfig for information on this * parameter. THIS PARAMETER IS NOT OFFICIALLY SUPPORTED BY THE * HORDE PROJECT. This entry must be an array with the following * elements: * 'children' - (boolean) Whether the IMAP server supports the * CHILDREN command. * 'namespace' - (array) The namespace configuration of the * server. See the return from * IMAP_Client::namespace() (located in * imp/lib/IMAP/Client.php) for the structure of * this array. * 'search_charset' - (boolean) Whether the IMAP server supports * charset selection during searches. * * timeout: Manually set server timeouts. This option only works with PHP >= * 4.3.3. This entry must be an array with the following possible * elements (if an element is missing, the default value is used): * IMAP_OPENTIMEOUT - (integer) The timeout for open actions. * IMAP_READTIMEOUT - (integer) The timeout for read actions. * IMAP_WRITETIMEOUT - (integer) The timeout for write actions. * IMAP_CLOSETIMEOUT - (integer) The timeout for close actions. * * login_tries: Manually set the number of login tries we make to the server. * The PHP imap_open() function will try to login 3 times to a * server before failing. This value indicates the number of * times we call imap_open() before IMP fails (we pause one second * between imap_open() calls). The default value is 3 (meaning IMP * may attempt to login to the server 9 times). If you have a * mail server that will lock out an account if a certain number * of incorrect login attempts occur within a certain period of * time, you may want to set this to a lower value. The minimum * value for this setting is 1. */ /* Any entries whose key value ('foo' in $servers['foo']) begin with '_' * (an underscore character) will be treated as prompts, and you won't be * able to log in to them. The only property these entries need is 'name'. * This lets you put labels in the list, like this example: */ $servers['_prompt'] = array( 'name' => _("Choose a mail server:") ); /* Example configurations: */ $servers['imap'] = array( 'name' => 'Staff E-Mail', 'server' => 'localhost', 'hordeauth' => false, 'protocol' => 'imap/notls', 'port' => 143, 'maildomain' => 'mailtemp.bsfc.ac.uk', 'realm' => '', 'preferred' => '', 'quota' => array( 'driver' => 'command', 'params' => array( 'new_quota' => 'true', 'quota_path' => 'sudo quota', 'grep_path' => '/bin/grep', 'partition' => '/dev/VolGroup00/LogVol01' ), ), );