[opendmarc-dev] opendmarc-report (1.1.3) + uri with sizelimit
Andreas Schulze
sca at andreasschulze.de
Wed Aug 28 23:00:02 PDT 2013
Hi,
opendmarc-report fail to send reports to the domain techiem2.net:
opendmarc-reports: sent report for techiem2.net to
mew2zxto at ag.dmarcian.com!10m (2.7.0 Error: I can break rules, too.
Goodbye.)
the extension "!10m" is still part of the receiver address!
I wrote a little patch to divide the uri in two parts, address and
optional size extension
(and ignore the size for the first shot)
$ diff -Naur opendmarc-reports.orig opendmarc-reports
--- opendmarc-reports.orig 2013-06-13 09:42:22.000000000 +0200
+++ opendmarc-reports 2013-08-27 07:56:00.000000000 +0200
@@ -91,6 +91,7 @@
my $dkimdomain;
my $repdest;
+my $repsizemax;
my $doupdate = 1;
my $testmode = 0;
@@ -774,7 +775,10 @@
next;
}
- $repdest = $uri->opaque;
+ ($repdest,$repsizemax) = split(/!/,$uri->opaque,2);
+ if ($repsizemax) {
+ print STDERR "$progname: $repdest do
not like reports larger then $repsizemax for $domain; (ignored here)\n";
+ }
$boundary = "report_section";
$
now:
opendmarc-reports: mew2zxto at ag.dmarcian.com do not like reports larger
then 10m for techiem2.net; (ignored here)
opendmarc-reports: sent report for techiem2.net to
mew2zxto at ag.dmarcian.com (2.0.0 Ok: queued as 3cQW5d1YS9z259S)
opening tickets on sourceforge is still impossible with my browser
here, sorry.
Andreas
More information about the opendmarc-dev
mailing list