source: github/config/main.inc.php.dist @ 4b0f65a

HEADcourier-fixdev-browser-capabilitiespdorelease-0.6release-0.7release-0.8
Last change on this file since 4b0f65a was 4b0f65a, checked in by thomascube <thomas@…>, 8 years ago

Fixed minor bugs

  • Property mode set to 100644
File size: 4.5 KB
Line 
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 succeeds.
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// to use SSL connection, set ssl://smtp.host.com
41// if left blank, the PHP mail() function is used
42$rcmail_config['smtp_server'] = '';
43
44// SMTP port (default is 25; 465 for SSL)
45$rcmail_config['smtp_port'] = 25;
46
47// SMTP username (if required) if you use %u as the username RoundCube
48// will use the current username for login
49$rcmail_config['smtp_user'] = '';
50
51// SMTP password (if required) if you use %p as the password RoundCube
52// will use the current user's password for login
53$rcmail_config['smtp_pass'] = '';
54
55// SMTP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or empty to use
56// best server supported one)
57$rcmail_config['smtp_auth_type'] = '';
58
59// Log sent messages
60$rcmail_config['smtp_log'] = TRUE;
61
62// these cols are shown in the message list
63// available cols are: subject, from, to, cc, replyto, date, size, encoding
64$rcmail_config['list_cols'] = array('subject', 'from', 'date', 'size');
65
66// relative path to the skin folder
67$rcmail_config['skin_path'] = 'skins/default/';
68
69// use this folder to store temp files (must be writebale for apache user)
70$rcmail_config['temp_dir'] = 'temp/';
71
72// use this folder to store log files (must be writebale for apache user)
73$rcmail_config['log_dir'] = 'logs/';
74
75// session lifetime in minutes
76$rcmail_config['session_lifetime'] = 10;
77
78// check client IP in session athorization
79$rcmail_config['ip_check'] = TRUE;
80
81// not sure what this was good for :-)
82$rcmail_config['locale_string'] = 'en';
83
84// use this format for short date display
85$rcmail_config['date_short'] = 'D H:i';
86
87// use this format for detailed date/time formatting
88$rcmail_config['date_long'] = 'd.m.Y H:i';
89
90// add this user-agent to message headers when sending
91$rcmail_config['useragent'] = 'RoundCube Webmail/0.1-20051021';
92
93// only list folders within this path
94$rcmail_config['imap_root'] = '';
95
96// store sent message is this mailbox
97// leave blank if sent messages should not be stored
98$rcmail_config['sent_mbox'] = 'Sent';
99
100// move messages to this folder when deleting them
101// leave blank if they should be deleted directly
102$rcmail_config['trash_mbox'] = 'Trash';
103
104// display these folders separately in the mailbox list
105$rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash');
106
107// default sort col
108$rcmail_config['message_sort_col'] = 'date';
109
110// default sort order
111$rcmail_config['message_sort_order'] = 'DESC';
112
113// path to a text file which will be added to each sent message
114// paths are relative to the RoundCube root folder
115$rcmail_config['generic_message_footer'] = '';
116
117// this string is used as a delimiter for message headers when sending
118$rcmail_config['mail_header_delimiter'] = "\r\n";
119
120
121/***** these settings can be overwritten by user's preferences *****/
122
123// show up to X items in list view
124$rcmail_config['pagesize'] = 40;
125
126// use this timezone to display date/time
127$rcmail_config['timezone'] = 1;
128
129// prefer displaying HTML messages
130$rcmail_config['prefer_html'] = TRUE;
131
132// show pretty dates as standard
133$rcmail_config['prettydate'] = TRUE;
134
135// end of config file
136?>
Note: See TracBrowser for help on using the repository browser.