72 lines
1.6 KiB
Django/Jinja
72 lines
1.6 KiB
Django/Jinja
<?php
|
|
|
|
// {{ ansible_managed }}
|
|
|
|
$debug = 0;
|
|
$database = [
|
|
'host' => '{{ database_host }}',
|
|
'type' => 'mysql',
|
|
'name' => '{{ dmarcsrg_database }}',
|
|
'user' => '{{ dmarcsrg_datababse }}',
|
|
'password' => '{{ dmarcsrg_datababse_password }}',
|
|
'table_prefix' => ''
|
|
];
|
|
|
|
/**
|
|
* It is only required if you want to get reports from a mailbox automatically.
|
|
* In order to collect reports from several mailboxes, you should put each
|
|
* mailbox settings in an array.
|
|
*/
|
|
$mailboxes = [
|
|
'name' => 'Dmarc-Rua',
|
|
'host' => 'yourdomain.net',
|
|
'encryption' => 'ssl',
|
|
'novalidate-cert' => false,
|
|
'username' => 'dmarc-rua@yourdomain.net',
|
|
'password' => 'password',
|
|
'mailbox' => 'INBOX',
|
|
'auth_exclude' => []
|
|
];
|
|
|
|
$admin = [
|
|
'password' => 'null',
|
|
'user_management' => false
|
|
];
|
|
|
|
//
|
|
$fetcher = [
|
|
'mailboxes' => [
|
|
'messages_maximum' => 10,
|
|
'when_done' => 'mark_seen',
|
|
'when_failed' => 'move_to:failed'
|
|
],
|
|
'allowed_domains' => ''
|
|
];
|
|
|
|
$mailer = [
|
|
'from' => 'postmaster@yourdomain.net',
|
|
'default' => 'user@yourdomain.net'
|
|
];
|
|
|
|
//
|
|
$cleaner = [
|
|
'mailboxes' => [
|
|
'days_old' => 30,
|
|
'delete_maximum' => 50,
|
|
'leave_minimum' => 100,
|
|
'done' => 'seen',
|
|
'failed' => 'none'
|
|
],
|
|
|
|
'reports' => [
|
|
'days_old' => 30,
|
|
'delete_maximum' => 50,
|
|
'leave_minimum' => 100
|
|
],
|
|
|
|
'reportlog' => [
|
|
'days_old' => 30,
|
|
'delete_maximum' => 50,
|
|
'leave_minimum' => 100
|
|
]
|
|
];
|