88 lines
3.4 KiB
Plaintext
88 lines
3.4 KiB
Plaintext
|
# -----------------------------------------------------------------------------
|
||
|
#
|
||
|
# Open Report Parser - Open Source report parser
|
||
|
# Copyright (C) 2023 John Bradley (userjack6880)
|
||
|
# Copyright (C) 2016 TechSneeze.com
|
||
|
# Copyright (C) 2012 John Bieling
|
||
|
#
|
||
|
# report-parser.conf
|
||
|
# configuration file
|
||
|
#
|
||
|
# Available at: https://github.com/userjack6880/Open-Report-Parser
|
||
|
#
|
||
|
# -----------------------------------------------------------------------------
|
||
|
#
|
||
|
# This file is part of Open Report Parser.
|
||
|
#
|
||
|
# Open Report Parser is free software: you can redistribute it and/or modify it under
|
||
|
# the terms of the GNU General Public License as published by the Free Software
|
||
|
# Foundation, either version 3 of the License, or (at your option) any later
|
||
|
# version.
|
||
|
#
|
||
|
# This program is distributed in the hope that it will be useful, but WITHOUT ANY
|
||
|
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||
|
# PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||
|
#
|
||
|
# You should have received a copy of the GNU General Public License along with
|
||
|
# this program. If not, see <https://www.gnu.org/licenses/>.
|
||
|
#
|
||
|
# -----------------------------------------------------------------------------
|
||
|
|
||
|
# If IMAP access is not used, config options starting with $imap do not need to
|
||
|
# be set and are ignored.
|
||
|
|
||
|
$debug = 0;
|
||
|
$delete_reports = 0;
|
||
|
#$dmarc_only = 0;
|
||
|
# if set to 1, do not process tls reports, if set to -1 do not process
|
||
|
# dmarc reports - defaults to 1 for legacy support
|
||
|
# this is ignored for all methods except IMAP, use --tls to process
|
||
|
# TLS reports for other methods
|
||
|
|
||
|
#$dbtype = 'mysql'; # Supported types - mysql, postgres - defaults to mysql if unset
|
||
|
$dbname = 'dmarc';
|
||
|
$dbuser = 'dmarc';
|
||
|
$dbpass = 'password';
|
||
|
$dbhost = 'db'; # Set the hostname if we can't connect to the local socket.
|
||
|
$dbport = '3306';
|
||
|
|
||
|
$imapserver = 'imap.server';
|
||
|
$imapuser = 'username';
|
||
|
$imappass = 'password';
|
||
|
$imapport = '143';
|
||
|
$imapssl = '0'; # If set to 1, remember to change server port to 993 and disable imaptls.
|
||
|
$imaptls = '0';
|
||
|
$tlsverify = '0';
|
||
|
$imapignoreerror = '0'; # recommended if you use MS Exchange 2007, ...
|
||
|
#$imapauth = 'simple'; # supported - simple, oauth2 - defaults to simple if unset
|
||
|
|
||
|
# see documentation for detailed setup
|
||
|
#$oauthclientid = '';
|
||
|
#$oauthuri = '';
|
||
|
|
||
|
$imapdmarcfolder = 'dmarc';
|
||
|
$imaptlsfolder = 'tls';
|
||
|
|
||
|
# If $imapxxxproc is set, processed IMAP messages will be moved (overruled by
|
||
|
# the --delete option!)
|
||
|
# $imapdmarcproc = 'dmarc.Processed';
|
||
|
# $imaptlsproc = 'tls.Processed';
|
||
|
|
||
|
# If $imapxxxerr is set, IMAP messages that fail will be moved. If unset, failed messages
|
||
|
# will move to $imapdmarcproc (if it is set). Overruled by the --delete option!
|
||
|
# $imapdmarcerr = 'dmarc.notProcessed';
|
||
|
# $imaptlserr = 'tls.notProcessed';
|
||
|
|
||
|
# maximum size of XML/JSON files to store in database, long files can cause transaction aborts
|
||
|
$maxsize_xml = 50000;
|
||
|
$maxsize_json = 50000;
|
||
|
|
||
|
# store XML/JSON as base64 encopded gzip in database (save space, harder usable)
|
||
|
$compress_xml = 0;
|
||
|
$compress_json = 0;
|
||
|
|
||
|
# if there was an error during file processing (message does not contain XML or ZIP parts,
|
||
|
# or a database error) the parser reports an error and does not delete the file, even if
|
||
|
# delete_reports is set (or --delete is given). Deletion can be enforced by delete_failed,
|
||
|
# however not for database errors.
|
||
|
$delete_failed = 0;
|