-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathconfig.inc.php
140 lines (140 loc) · 4.5 KB
/
config.inc.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<?php
$config = array();
// Database
$config['db_dsnw'] = 'pgsql://postgres:postgres@localhost/roundcubemail';
// IMAP
$config['default_host'] = 'ssl://127.0.0.1';
$config['default_port'] = 993;
$config['imap_auth_type'] = 'LOGIN';
$config['imap_delimiter'] = '/';
$config['imap_conn_options'] = array(
'ssl' => array(
'verify_peer' => true,
'verify_peer_name' => false,
'cafile' => '/etc/ssl/certs/exampleMail.crt',
'allow_self_signed' => false,
'ciphers' => 'TLSv1+HIGH:!aNull:@STRENGTH',
'peer_name' => 'mail.example.tld',
),
);
$config['imap_vendor'] = 'dovecot';
// SMTP (submission)
$config['smtp_server'] = 'tls://127.0.0.1';
$config['smtp_port'] = 587;
$config['smtp_user'] = '%u';
$config['smtp_pass'] = '%p';
$config['smtp_auth_type'] = 'LOGIN';
$config['smtp_conn_options'] = array(
'ssl' => array(
'verify_peer' => true,
'verify_peer_name' => false,
'cafile' => '/etc/ssl/certs/exampleMail.crt',
'allow_self_signed' => false,
'ciphers' => 'TLSv1+HIGH:!aNull:@STRENGTH',
'peer_name' => 'mail.example.tld',
),
);
// System & User preferences
$config['mail_domain'] = 'example.tld';
$config['username_domain'] = 'example.tld';
$config['support_url'] = 'https://www.example.tld';
$config['product_name'] = 'Roundcube Webmail';
$config['des_key'] = 'rcmail-!24ByteDESkey*Str';
$config['plugins'] = array(
'archive',
'zipdownload',
'newmail_notifier',
'jqueryui',
);
$config['skin'] = 'elastic';
$config['skins_allowed'] = array(
'elastic',
'larry',
);
$config['cipher_method'] = 'AES-256-CBC';
$config['force_https'] = true;
$config['useragent'] = 'Roundcube Webmail';
$config['quota_zero_as_unlimited'] = true;
$config['message_show_email'] = true;
$config['language'] = 'es_ES';
$config['create_default_folders'] = true;
$config['timezone'] = 'America/Havana';
$config['date_format'] = 'd/m/Y';
$config['time_format'] = 'g:i a';
$config['identities_level'] = 3;
$config['login_autocomplete'] = 0;
$config['refresh_interval'] = 600;
$config['message_sort_col'] = 'date';
$config['message_sort_order'] = 'DESC';
$config['list_cols'] = array(
'flag',
'attachment',
'fromto',
'subject',
'status',
'date',
'size',
);
$config['addressbook_sort_col'] = 'firstname';
$config['show_images'] = 1;
$config['default_font_size'] = '12pt';
$config['layout'] = 'desktop';
$config['mdn_use_from'] = true;
$config['autocomplete_addressbooks'] = array(
'sql',
'global_ldap_abook'
);
// Samba AD DC Address Book
$config['ldap_public']["global_ldap_abook"] = array(
'name' => 'Directorio',
'hosts' => array('dc.example.tld'),
'port' => 389,
'use_tls' => false,
'ldap_version' => '3',
'network_timeout' => 10,
'user_specific' => false,
'base_dn' => 'OU=ACME,DC=example,DC=tld',
'bind_dn' => 'postfix@example.tld',
'bind_pass' => 'P@s$w0rd.345',
'writable' => false,
'search_fields' => array(
'mail',
'cn',
'sAMAccountName',
'displayName',
'sn',
'givenName',
),
'fieldmap' => array(
'name' => 'cn',
'surname' => 'sn',
'firstname' => 'givenName',
'title' => 'title',
'email' => 'mail:*',
'phone:work' => 'telephoneNumber',
'phone:mobile' => 'mobile',
'phone:workfax' => 'facsimileTelephoneNumber',
'street' => 'street',
'zipcode' => 'postalCode',
'locality' => 'l',
'department' => 'department',
'notes' => 'description',
'photo' => 'jpegPhoto',
),
'sort' => 'cn',
'scope' => 'sub',
'filter' => '(&(|(objectclass=person))(!(mail=archive@example.tld))(!(userAccountControl:1.2.840.113556.1.4.803:=2)))',
'fuzzy_search' => true,
'vlv' => false,
'sizelimit' => '0',
'timelimit' => '0',
'referrals' => false,
'group_filters' => array(
'departments' => array(
'name' => 'Listas',
'scope' => 'sub',
'base_dn' => 'OU=Email,OU=ACME,DC=example,DC=tld',
'filter' => '(objectClass=group)',
),
),
);