A Perl based tool to parse DMARC reports from an IMAP mailbox or from the filesystem, and insert the information into a database. ( Formerly known as imap-dmarcts )
Currently it is a bit hard to default to a socket connection (e.g. if he DB is local and not TCP reachable).
Below change to line 776 makes this easier.
Ta!
my $dsn = "DBI:$dbtype:database=$dbname";
$dsn .= ";host=$dbhost" if length($dbhost);
$dsn .= ";port=$dbport" if length($dbport);
my $dbh = DBI->connect($dsn,$dbuser, $dbpass)
or die "$scriptname: Cannot connect to database\n";
Currently it is a bit hard to default to a socket connection (e.g. if he DB is local and not TCP reachable).
Below change to line 776 makes this easier.
Ta!