1 |
diff -Nur qpsmtpd-0.96/plugins/dmarc qpsmtpd-0.96_bz9206/plugins/dmarc |
2 |
--- qpsmtpd-0.96/plugins/dmarc 2016-05-28 10:29:34.469470149 +0200 |
3 |
+++ qpsmtpd-0.96_bz9206/plugins/dmarc 2016-05-28 10:33:36.482470978 +0200 |
4 |
@@ -145,7 +145,7 @@ |
5 |
my $pol; |
6 |
eval { $pol = $dmarc->result->published; }; |
7 |
if ( $self->{_args}{reporting} && $pol ) { |
8 |
- if ( $dmarc->has_valid_reporting_uri($pol->rua) ) { |
9 |
+ if ( $pol->rua && $dmarc->has_valid_reporting_uri($pol->rua) ) { |
10 |
eval { $dmarc->save_aggregate(); }; |
11 |
$self->log(LOGERROR, $@ ) if $@; |
12 |
} |