| 1 | <?php |
|---|
| 2 | |
|---|
| 3 | /* |
|---|
| 4 | +-----------------------------------------------------------------------+ |
|---|
| 5 | | Main configuration file | |
|---|
| 6 | | | |
|---|
| 7 | | This file is part of the RoundCube Webmail client | |
|---|
| 8 | | Copyright (C) 2005, RoundCube Dev. - Switzerland | |
|---|
| 9 | | Licensed under the GNU GPL | |
|---|
| 10 | | | |
|---|
| 11 | +-----------------------------------------------------------------------+ |
|---|
| 12 | |
|---|
| 13 | */ |
|---|
| 14 | |
|---|
| 15 | $rcmail_config = array(); |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | // system error reporting: 1 = log; 2 = report (not implemented yet), 4 = show, 8 = trace |
|---|
| 19 | $rcmail_config['debug_level'] = 5; |
|---|
| 20 | |
|---|
| 21 | // enable caching of messages and mailbox data in the local database. |
|---|
| 22 | // this is recommended if the IMAP server does not run on the same machine |
|---|
| 23 | $rcmail_config['enable_caching'] = TRUE; |
|---|
| 24 | |
|---|
| 25 | // automatically create a new RoundCube user when log-in the first time. |
|---|
| 26 | // a new user will be created once the IMAP login succeeded. |
|---|
| 27 | // set to false if only registered users can use this service |
|---|
| 28 | $rcmail_config['auto_create_user'] = TRUE; |
|---|
| 29 | |
|---|
| 30 | // the mail host chosen to perform the log-in |
|---|
| 31 | // leave blank to show a textbox at login, give a list of hosts |
|---|
| 32 | // to display a pulldown menu or set one host as string. |
|---|
| 33 | // To use SSL connection, enter ssl://hostname:993 |
|---|
| 34 | $rcmail_config['default_host'] = ''; |
|---|
| 35 | |
|---|
| 36 | // TCP port used for IMAP connections |
|---|
| 37 | $rcmail_config['default_port'] = 143; |
|---|
| 38 | |
|---|
| 39 | // use this host for sending mails. |
|---|
| 40 | // if left blank, the PHP mail() function is used |
|---|
| 41 | $rcmail_config['smtp_server'] = ''; |
|---|
| 42 | |
|---|
| 43 | // SMTP port (default is 25) |
|---|
| 44 | $rcmail_config['smtp_port'] = 25; |
|---|
| 45 | |
|---|
| 46 | // SMTP username (if required) if you use %u as the username RoundCube |
|---|
| 47 | // will use the current username for login |
|---|
| 48 | $rcmail_config['smtp_user'] = ''; |
|---|
| 49 | |
|---|
| 50 | // SMTP password (if required) if you use %p as the password RoundCube |
|---|
| 51 | // will use the current user's password for login |
|---|
| 52 | $rcmail_config['smtp_pass'] = ''; |
|---|
| 53 | |
|---|
| 54 | // SMTP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or empty to use |
|---|
| 55 | // best server supported one) |
|---|
| 56 | $rcmail_config['smtp_auth_type'] = ''; |
|---|
| 57 | |
|---|
| 58 | // Log sent messages |
|---|
| 59 | $rcmail_config['smtp_log'] = TRUE; |
|---|
| 60 | |
|---|
| 61 | // these cols are shown in the message list |
|---|
| 62 | // available cols are: subject, from, to, cc, replyto, date, size, encoding |
|---|
| 63 | $rcmail_config['list_cols'] = array('subject', 'from', 'date', 'size'); |
|---|
| 64 | |
|---|
| 65 | // relative path to the skin folder |
|---|
| 66 | $rcmail_config['skin_path'] = 'skins/default/'; |
|---|
| 67 | |
|---|
| 68 | // use this folder to store temp files (must be writebale for apache user) |
|---|
| 69 | $rcmail_config['temp_dir'] = 'temp/'; |
|---|
| 70 | |
|---|
| 71 | // session lifetime in minutes |
|---|
| 72 | $rcmail_config['session_lifetime'] = 10; |
|---|
| 73 | |
|---|
| 74 | // check client IP in session athorization |
|---|
| 75 | $rcmail_config['ip_check'] = TRUE; |
|---|
| 76 | |
|---|
| 77 | // not shure what this was good for :-) |
|---|
| 78 | $rcmail_config['locale_string'] = 'en'; |
|---|
| 79 | |
|---|
| 80 | // use this format for short date display |
|---|
| 81 | $rcmail_config['date_short'] = 'D H:i'; |
|---|
| 82 | |
|---|
| 83 | // use this format for detailed date/time formatting |
|---|
| 84 | $rcmail_config['date_long'] = 'd.m.Y H:i'; |
|---|
| 85 | |
|---|
| 86 | // add this user-agent to message headers when sending |
|---|
| 87 | $rcmail_config['useragent'] = 'RoundCube Webmail/0.1-20051021'; |
|---|
| 88 | |
|---|
| 89 | // only list folders within this path |
|---|
| 90 | $rcmail_config['imap_root'] = ''; |
|---|
| 91 | |
|---|
| 92 | // store sent message is this mailbox |
|---|
| 93 | // leave blank if sent messages should not be stored |
|---|
| 94 | $rcmail_config['sent_mbox'] = 'Sent'; |
|---|
| 95 | |
|---|
| 96 | // move messages to this folder when deleting them |
|---|
| 97 | // leave blank if they should be deleted directly |
|---|
| 98 | $rcmail_config['trash_mbox'] = 'Trash'; |
|---|
| 99 | |
|---|
| 100 | // display these folders separately in the mailbox list |
|---|
| 101 | $rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash'); |
|---|
| 102 | |
|---|
| 103 | |
|---|
| 104 | /***** these settings can be overwritten by user's preferences *****/ |
|---|
| 105 | |
|---|
| 106 | // show up to X items in list view |
|---|
| 107 | $rcmail_config['pagesize'] = 40; |
|---|
| 108 | |
|---|
| 109 | // use this timezone to display date/time |
|---|
| 110 | $rcmail_config['timezone'] = 1; |
|---|
| 111 | |
|---|
| 112 | // prefer displaying HTML messages |
|---|
| 113 | $rcmail_config['prefer_html'] = TRUE; |
|---|
| 114 | |
|---|
| 115 | // show pretty dates as standard |
|---|
| 116 | $rcmail_config['prettydate'] = TRUE; |
|---|
| 117 | |
|---|
| 118 | |
|---|
| 119 | // end of config file |
|---|
| 120 | ?> |
|---|