Hello,

I noticed last week rddmarc fail to read aggregated reports from Comcast.
They send an unusual Content-Type: application-x-gzip;
No idea if that's right or wrong. The attached patch extend rddmarc to import
these reports.

Andreas
Index: tmp/rddmarc
===================================================================
--- tmp.orig/rddmarc
+++ tmp/rddmarc
@@ -78,7 +78,8 @@ foreach my $i (@ARGV) {
 	    my $npart = $ent->parts;
 	    for my $n (0..($npart-1)) {
 		my $part = $ent->parts($n);
-		if(lc $part->mime_type eq "application/gzip") {
+		if(lc $part->mime_type eq "application/gzip"
+		   or lc $part->mime_type eq "application-x-gzip" ) {
 		    $zip = $part->bodyhandle;
 		    $isgzip = 1;
 		    last;
_______________________________________________
dmarc-discuss mailing list
[email protected]
http://www.dmarc.org/mailman/listinfo/dmarc-discuss

NOTE: Participating in this list means you agree to the DMARC Note Well terms 
(http://www.dmarc.org/note_well.html)

Reply via email to