On 3/26/23 00:33, Benny Pedersen wrote:

# log

Mar 23 05:54:55 localhost spamd[4127]: DMARC: report could not be saved: DBI 
connect('dbname=dmarc_reports.sqlite','',...) failed: unable to open database 
file at /usr/lib64/perl5/vendor_perl/5.36/Mail/DMARC/Report/Store/SQL.pm line 
551.

# ini file in mail::dmarc

[report_store]
backend = SQL
dsn = dbi:Pg:dbname=dmarc;host=127.0.0.1;port=5432;
user = user
pass = pass
auto_save = 0

mail::dmarc do work with postgres, but the report in spamassassin fails

can it be solved to just ignore the ini file, and do dbi: as other in 
spamassassin already does ?, or is mail::dmarc not tested well here ?
DMARC reports are working with MySQL, is this one-liner reading the correct 
file on your setup ?
perl -e 'use Mail::DMARC; use Data::Dumper; my $ds = new Mail::DMARC; print 
Dumper($ds->config);'

 Giovanni

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to