Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 117 lines (81 sloc) 3.883 kb
4e17e6c Thomas B. Initial revision
thomascube authored
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 |
52c1f28 Thomas B. Minor bugfixes and SMTP support
thomascube authored
9 | Licensed under the GNU GPL |
4e17e6c Thomas B. Initial revision
thomascube authored
10 | |
11 +-----------------------------------------------------------------------+
12
13 */
14
15 $rcmail_config = array();
16
17
968bdc7 Thomas B. Improved SMTP script for sending mails. Now using the PEAR::Net_SMTP cla...
thomascube authored
18 // system error reporting: 1 = log; 2 = report (not implemented yet), 4 = show, 8 = trace
4e17e6c Thomas B. Initial revision
thomascube authored
19 $rcmail_config['debug_level'] = 5;
20
6dc0269 Thomas B. Make message caching configurable
thomascube authored
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
4e17e6c Thomas B. Initial revision
thomascube authored
25 // automatically create a new user when log-in the first time
26 // set to false if only registered users can use this service
27 $rcmail_config['auto_create_user'] = TRUE;
28
29 // the mail host chosen to perform the log-in
30 // leave blank to show a textbox at login, give a list of hosts
42b1135 Thomas B. Several bugfixes and feature improvements
thomascube authored
31 // to display a pulldown menu or set one host as string.
32 // To use SSL connection, enter ssl://hostname:993
4e17e6c Thomas B. Initial revision
thomascube authored
33 $rcmail_config['default_host'] = '';
34
42b1135 Thomas B. Several bugfixes and feature improvements
thomascube authored
35 // TCP port used for IMAP connections
36 $rcmail_config['default_port'] = 143;
37
4e17e6c Thomas B. Initial revision
thomascube authored
38 // use this host for sending mails.
39 // if left blank, the PHP mail() function is used
40 $rcmail_config['smtp_server'] = '';
41
968bdc7 Thomas B. Improved SMTP script for sending mails. Now using the PEAR::Net_SMTP cla...
thomascube authored
42 // SMTP port (default is 25)
43 $rcmail_config['smtp_port'] = 25;
44
d206c1f added smtp auth method setting through config file
svncommit authored
45 // SMTP username (if required) if you use %u as the username RoundCube
46 // will use the current username for login
4e17e6c Thomas B. Initial revision
thomascube authored
47 $rcmail_config['smtp_user'] = '';
48
d206c1f added smtp auth method setting through config file
svncommit authored
49 // SMTP password (if required) if you use %p as the password RoundCube
50 // will use the current user's password for login
4e17e6c Thomas B. Initial revision
thomascube authored
51 $rcmail_config['smtp_pass'] = '';
52
d206c1f added smtp auth method setting through config file
svncommit authored
53 // SMTP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or empty to use
54 // best server supported one)
55 $rcmail_config['smtp_auth_type'] = '';
56
4e17e6c Thomas B. Initial revision
thomascube authored
57 // Log sent messages
58 $rcmail_config['smtp_log'] = TRUE;
59
60 // these cols are shown in the message list
61 // available cols are: subject, from, to, cc, replyto, date, size, encoding
62 $rcmail_config['list_cols'] = array('subject', 'from', 'date', 'size');
63
64 // relative path to the skin folder
65 $rcmail_config['skin_path'] = 'skins/default/';
66
67 // use this folder to store temp files (must be writebale for apache user)
68 $rcmail_config['temp_dir'] = 'temp/';
69
70 // check client IP in session athorization
71 $rcmail_config['ip_check'] = TRUE;
72
73 // not shure what this was good for :-)
74 $rcmail_config['locale_string'] = 'de_DE';
75
76 // use this format for short date display
77 $rcmail_config['date_short'] = 'D H:i';
78
79 // use this format for detailed date/time formatting
80 $rcmail_config['date_long'] = 'd.m.Y H:i';
81
82 // add this user-agent to message headers when sending
49afbf5 Thomas B. Better support for Courier IMAP
thomascube authored
83 $rcmail_config['useragent'] = 'RoundCube Webmail/0.1-20051011';
4e17e6c Thomas B. Initial revision
thomascube authored
84
85 // only list folders within this path
86 $rcmail_config['imap_root'] = '';
87
88 // store sent message is this mailbox
89 // leave blank if sent messages should not be stored
90 $rcmail_config['sent_mbox'] = 'Sent';
91
92 // move messages to this folder when deleting them
93 // leave blank if they should be deleted directly
94 $rcmail_config['trash_mbox'] = 'Trash';
95
96 // display these folders separately in the mailbox list
97 $rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash');
98
99
100 /***** these settings can be overwritten by user's preferences *****/
101
102 // show up to X items in list view
103 $rcmail_config['pagesize'] = 40;
104
105 // use this timezone to display date/time
106 $rcmail_config['timezone'] = 1;
107
108 // prefer displaying HTML messages
109 $rcmail_config['prefer_html'] = TRUE;
110
30233b8 Thomas B. Minor bugfixes and correction of confusing License notfications
thomascube authored
111 // show pretty dates as standard
112 $rcmail_config['prettydate'] = TRUE;
113
4e17e6c Thomas B. Initial revision
thomascube authored
114
115 // end of config file
116 ?>
Something went wrong with that request. Please try again.