Move DMARC report config into ~dmarc. Expected in current dir.

This commit is contained in:
Jim Hague 2024-08-22 14:20:29 +01:00
parent f97a72fb96
commit 3c54552109
2 changed files with 5 additions and 5 deletions

View File

@ -10,10 +10,10 @@ $delete_reports = 0;
# Supported types: mysql, Pg. If unset, defaults to mysql
#$dbtype = 'mysql';
$dbname = 'dmarc';
$dbuser = 'dmarc';
$dbpass = 'password';
$dbhost = 'dbhost'; # Set the hostname if we can't connect to the local socket.
$dbname = 'dmarcts';
$dbuser = 'dmarcts';
$dbpass = '{{ pillar['dmarcts']['mariadb_pw'] }}';
$dbhost = 'localhost'; # Set the hostname if we can't connect to the local socket.
$dbport = '3306';
$imapserver = 'localhost';

View File

@ -22,7 +22,7 @@ dmarcts:
- database: dmarcts.*
- user: dmarcts
/etc/dmarcts-report-parser.conf:
/home/dmarc/dmarcts-report-parser.conf:
file.managed:
- source: salt://dmarc_reports/dmarcts-report-parser.conf
- template: jinja