This file is indexed.

/etc/IlohaMail/conf.php is in ilohamail 0.8.14-0rc3sid6.2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
<?php
/********************************************************
	conf/conf.php
	
	PURPOSE:
		General settings and configuration.

********************************************************/


/*******  FOR OPTIMAL PERFORMANCE *******
	As you can see this file contains a lot of comments.
	For optimal performance, remove all comments and only
	leave directives you need and use.
*/


/***************** BACKEND ****************
	IlohaMail supports multiple backends, namely, file
	and/or database based.  If a database backend is used,
	a file-based backend can still be used to certain
	features.
*/
$backend = "FS";

//  $DATA_DIR : path to data directory, relative to source directory
//  REQUIRED: Always
$DATA_DIR = '../data';

//	$UPLOAD_DIR path to uploads dir
//	MUST HAVE TRAILING '/'
//	REQUIRED:  Always
$UPLOAD_DIR = "/var/cache/IlohaMail/uploads/";

//	$CACHE_DIR path to cache dir
//	MUST HAVE TRAILING '/'
//  REQUIRED:  Always (folder it self does not need to exist)
$CACHE_DIR = "/var/cache/IlohaMail/cache/";

//	$USER_DIR path to users dir
//	MUST HAVE TRAILING'/'
//	REQUIRED:  For FS-backend
$USER_DIR = "/var/cache/IlohaMail/users/";

//	$SESSION_DIR path to sessions dir
//	MUST HAVE TRAILING '/'
//	REQUIRED:  For FS-backend
$SESSION_DIR = "/var/cache/IlohaMail/sessions/";


/********************* LOG *****************
	The log feature in IlohaMail logs all log in/out
	attempts, and works with both file-base and DB-based
	backends.  The log feature is deactivated by default.
*/

//	Set the following value to true to active logging
$log_active = true;

//	Log backend
//	The log backend defaults to $backend, but falls
//	back to "FS" if $log_file (below) is set.
//	In other words, the options are:
//		"": default
//		"syslog" : log to syslog
$log_backend = "syslog";

//	Log file path (file-based backend only)
//	Use relative path to source file, or absolute path
//	PHP must have write privileges to the file and/or
// 	parent directory.
$log_file = "";

//	Template entry (file-based backend only)
//	The log feature will take this line, and replace the
//	keywords with appropriate information to enter in the
//	log.  Use any combination of the following keywords:
//		"date" : date and time
//		"ip" : client IP address
//		"acct" : if available, email account and server
//		"comment" : Error messages or comments
$log_template = "[date] ip:acct - action (comment)";


/**************** Spam Prevention ************
	This feature is not for blocking incoming spam, but 
	for preventing possible use of IlohaMail for spamming
	purposes.
	
	This will involve a three-level approach.
	Level 1: Restrict number of recepients per email
	Level 2: Restrict number of recepients per session
	Level 3: Set minimum interval between sending
	
	In a restrictive setting, a spammer may be forced
	to send to 10 people at a time, once every minute
	and log out and log back in after sending 5 messages.  
	This should effectively discourage manual and automated 
	spamming.
*/

//	Maximum number of recepients per message.
//	Will count To,CC,BCC fields.  More specifically
//	it will count the number of '@' symbols.
$max_rcpt_message = 50;

//	Maximum number of recepients per session.
//	Note: This is not the number of messages,
//	but the total number of recepients.
$max_rcpt_session = 100;

//	Minimum interval between send operations,
//	in seconds.
$min_send_interval = 15;


/**************** spam reporting *************
	Specify an email address, if one is available,
	where users can report spam.  This will add a
	link in the read message window allowing users
	to report spam in two simpl clicks.
	
	Leave the string empty to disable this feature.
*/

$report_spam_to="";


/***************** Auth Mode ***************
	Specify default IMAP authentication method.
	Choices are:
		"plain" : 	Always use plain text
					Greatest compatibility
					
		"auth"	:	Try encrypted authenctication
					(CRAM-MD5), first, then plain
					
		"check" :	Check the server's capabilities
					for CRAM-MD5, and use appropriate
					auth method.
		"apop"	:	For POP3 only
		"none"	:   For SMTP only.  Use if SMTP server
					does not require authentication.
*/

$AUTH_MODE["imap"] = "plain";
$AUTH_MODE["pop3"] = "plain";
$AUTH_MODE["smtp"] = "";


/***************** Time Limit ***************
	Set maximum execution time.  Opening mailboxes
	with even thousands of messages shouldn't have
	problems, but a large POP account may time out.
	
	Set value to 0 for unlimited timeout.
*/

$MAX_EXEC_TIME = 120;


/***************** Trust User Address ********
    This directive specifies whether to use the
    user specified email address in the From header.
    
    When on (set to true or 1):
        User specified address is used in From header
        Authenticated email address used for Sender header
    When off (set to false or 0):
        Authenticated email address used for From header
        User specified address used in Reply-To header
        
    Note:
        The 'init_from_address' option needs to be configured
        in conf/defaults.generic.inc (or defaults.host.inc)
        if server host name is not same as email domain name
        e.g. 
            if server is imap.domain.com but email address
            is user@domain.com
         
*/

$TRUST_USER_ADDRESS = 1;


/***************** SMTP Server  **************
	SMTP server to use.  Default is "localhost",
	however any SMTP server that'll allow relaying
	from your webmail server can be used.
	Authenticated SMTP is currently not supported.
	
	Leave string empty to use PHP's mail() function.
	(Might work more reliably.)
*/

$SMTP_SERVER = "";
$SMTP_SERVER_PORT = "25";

/***************** SMTP Type  **************
	The SMTP server type.  This is used to 
	accomodate slight differences between SMTP
	servers.
	
	This directive only takes effect if $SMTP_SERVER
	is specified.
	
	Supported values:  "sendmail", "courier"

        The current version of Courier in Debian doesn't need 
	the special 'courier' mode anymore as it behaves correctly.

	NOTE: if you're not sure, just use "sendmail"
*/

$SMTP_TYPE = "sendmail";


/***************** SMTP User/Pass  **************
	If you have a password protected SMTP server,
	and would like all webmail users to send even
	if they can't directly authenticate against
	your SMTP server themselves, use the directives
	below to specify which user to authenticate as.
	If empty, users' login and passwords will be used
	instead.
	
	ONLY FOR AUTH SMTP
*/
$SMTP_USER = "";
$SMTP_PASSWORD = "";


/***************** Tag-Lines  *****************
	TAG-LINES are blurbs that can be attached at the
	end of messages sent through IlohaMail.
	If you do not want tag-lines attached, leave the
	string empty.  If you want taglines on some users
	but not on others, set the $TAG_LEVEL to a number
	greater than 0, and change the user's userLevel
	in the backend (only works with database backend).
	
	Example:
	$TAG_LINE = "---------------\n";
	$TAG_LINE .= "This message was sent using IlohaMail";
*/

$TAG_LINE = "";

$TAG_LEVEL = 0;


/***************** Maximum Session  *****************
	MAX_SESSION_TIME specifies the maximum length of
	time users can be logged in without having to log
	out.  After the MAX_SESSION_TIME is over, users
	will be forced to log out and log back in.
	
	VALUE MUST BE SECONDS.  
	
	e.g. 
	$MAX_SESSION_TIME = (60 * 60 * 24); // 24 hours
	$MAX_SESSION_TIME = 3600; // 1 hour
	
*/

$MAX_SESSION_TIME = (60 * 60 * 24);


/***************** Stay Logged In  *****************
	STAY_LOGGED_IN overrides the previous setting 
	and allows users to be logged in indefinitely.
	
	If enabled (set to 1), $MAX_SESSION_TIME becomes
	the length of time a user can be inactive before
	getting logged out.
*/

$STAY_LOGGED_IN = 0;


/***************** POP3 QUOTA  *****************
	POP3 disk quotas must be hard codded, since
	POP3 does not provide the means to retreive
	a user's quota.
	
	VALUES ARE IN KILOBYTES
	
	Quotas are set for each host, even if there's 
	only one.
	
	e.g.
	
	$POP_QUOTA["losers.domain.com"] = 5000;
	$POP_QUOTA["winners.domain.com"] = 20000;
*/

//$POP_QUOTA["host"] = 0;


/***************** REFRESH INTERVALS  ***********
	Users can configure the radar (indicator in top 
	left frame) and folder list to reload periodically.
	
	Since a large installation with dozens or hundreds
	of users whose refresh is set to mere seconds 
	could cause excessive traffic, you can set the
	minimum intervals here.
	
	As reference, if there are 100 users logged in
	and they all have both refresh values set to 5
	seconds, they will generate 24 requests per minute
	each.  Collectively, they will generate 2400 page
	views per minute, on top of the usual more resource
	intensive calls.  Do the math and set the values
	as appropriate for your environment.
*/

$MIN_FOLDERLIST_REFRESH = 10;
$MIN_RADAR_REFRESH = 10;


/*****************  DISABLE ******************
	The following directives can be used to disable
	some of the "extra" features.  
*/

$DISABLE_CALENDAR = 0;
$DISABLE_BOOKMARKS = 0;


/***************** MAX_UPLOAD_SIZE ***********
	Maximum attachment upload size.  If set to 0, it 
	matches the "upload_max_filesize" directive in php.ini.
	
	Value must be equal to or less than 
	"upload_max_filesize" and "post_max_size" directives 
	set in php.ini.
*/
$MAX_UPLOAD_SIZE = 0;


/*****************  SPELL CHECK **************
	IlohaMail uses aspell (http://aspell.net/) but
	does NOT use PHP's aspell/pspell module.  All you
	need is athe aspell executable, and appropriate
	dictionaries.
	
	ONLY WORKS ON UNIX, DISABLED BY DEFAULT
	UNCOMMENT TO ENABLE:
	
	$ASPELL_PATH : path to aspell binary
	
	specify supported languages with:
	$DICTIONARIES[<lang>] = <name>
	
*/

//path to aspell binary
//$ASPELL_PATH = "/usr/bin/aspell";

//supported languages
//$DICTIONARIES["en"] = "English";


/*****************  IGNORE FOLDERS **********
	Specify regular expression rules of folders
	to ignore.  For example:
	
	$IGNORE_FOLDERS["mail.domain.com"] = "^Public Folders/";
	
	ignores all folders inside "Public Folders" including the
	folder itself for the host "mail.domain.com".
*/
//$IGNORE_FOLDERS[<host>] = <regexp>;



/*****************  GPG *********************
	---EXPERIMENTAL---
	A complete web interface for GPG.  Supports:
		-Key generation
		-Import public keys
		-Encrypt on send
		-Decrypt on receive
	This feature works regardless of whether the user
	has a shell account on the webmail server or not.
	---EXPERIMENTAL---
*/

$GPG_ENABLE=0;
$GPG_PATH = "/usr/bin/gpg";
$GPG_HOME_STR = "/var/cache/IlohaMail/gpg/%u.%h";\
//$GPG_HOME_STR = "/home/%u";


/****   WARNING ***
	Make sure there are NO BLANK LINES after
	the '?>' below!!  Blank lines will cause
	all kinds of problems!!
*******************/
?>