source: github/config/main.inc.php.dist @ d206c1f

HEADcourier-fixdev-browser-capabilitiespdorelease-0.6release-0.7release-0.8
Last change on this file since d206c1f was d206c1f, checked in by svncommit <devs@…>, 8 years ago

added smtp auth method setting through config file

  • Property mode set to 100644
File size: 3.8 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 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
31// to display a pulldown menu or set one host as string.
32// To use SSL connection, enter ssl://hostname:993
33$rcmail_config['default_host'] = '';
34
35// TCP port used for IMAP connections
36$rcmail_config['default_port'] = 143;
37
38// use this host for sending mails.
39// if left blank, the PHP mail() function is used
40$rcmail_config['smtp_server'] = '';
41
42// SMTP port (default is 25)
43$rcmail_config['smtp_port'] = 25;
44
45// SMTP username (if required) if you use %u as the username RoundCube
46// will use the current username for login
47$rcmail_config['smtp_user'] = '';
48
49// SMTP password (if required) if you use %p as the password RoundCube
50// will use the current user's password for login
51$rcmail_config['smtp_pass'] = '';
52
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
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
83$rcmail_config['useragent'] = 'RoundCube Webmail/0.1-20051011';
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
111// show pretty dates as standard
112$rcmail_config['prettydate'] = TRUE;
113
114
115// end of config file
116?>
Note: See TracBrowser for help on using the repository browser.