On 3/27/23 10:20, Benny Pedersen wrote:
[email protected] skrev den 2023-03-27 10:06: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);'mx ~ # perl -e 'use Mail::DMARC; use Data::Dumper; my $ds = new Mail::DMARC; print Dumper($ds->config);' $VAR1 = bless( { 'organization' => { 'extra_contact_info' => 'http://www.example.com/dmarc-policy/',
[...]
mx ~ # seems no
File read by Mail::DMARC is /etc/mail-dmarc.ini, do you have that file ? Otherwise Mail::DMARC will search the same file into /usr/share. Regards Giovanni
mx ~ # eix --nocolor -e Mail-DMARC [I] dev-perl/Mail-DMARC Available versions: 1.202.109.270-r1^t (~)1.202.302.150^t {minimal test} Installed versions: 1.202.302.150^t(22:56:24 03/20/23)(-minimal -test) Homepage: https://metacpan.org/release/Mail-DMARC Description: Perl implementation of DMARCGiovanni
OpenPGP_signature
Description: OpenPGP digital signature
