-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.inc.php.dist
55 lines (39 loc) · 1.38 KB
/
config.inc.php.dist
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
<?php
/*
*
* Junk_report configuration file
*
*/
//Formatted dsn of ispconfig db
$config['dsn_ispconfig'] = "mysql://user:pass@server/dbname";
//Server id for ISPConfig
$config['server_id'] = X;
//Name of the mail host
$config['mail_host']="name.host";
//Path to the domain file
$config['dir'] = "/var/vmail";
//Default value for the frequency of sending the junk report
$config['default_frequency'] = "daily";
//Default value for the number of junk mails in the junk report
$config['default_maxlength'] = 20;
//Day of the weekly report
//Specified in letter
$config['day_of_weekly_report'] = "Sunday";
//Day of the monthly report
//Specified with two-digit number
$config['day_of_monthly_report'] = 01;
//Alternative text if the mail does not contain a subject
$config['no_subject'] = "Aucun objet";
//Header settings
$header[] = "From: do-not-reply@domain.com";
$header[] = "Content-type: text/html; charset=UTF-8";
$header[] = "MIME-Version: 1.0" . "\r\n";
//Subject of the junk report
$config['subject'] = "Rapport de spam";
//Sleep time between sending emails in seconds
$config['sleep_time'] = 2;
// Absolute path of the file containing the mail to send
// Must to be written in html
// Add {{spam_table}} somewhere to show where the spam table should be in your mail otherwise it will be placed at the end.
// It must also be alone in a line.
$config['path_to_mail'] = "/path/to/template_mail";