/[smeserver]/rpms/qpsmtpd/sme10/qpsmtpd-0.96-check_rua_is_defined.patch
ViewVC logotype

Annotation of /rpms/qpsmtpd/sme10/qpsmtpd-0.96-check_rua_is_defined.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sat May 28 08:36:24 2016 UTC (8 years, 5 months ago) by vip-ire
Branch: MAIN
CVS Tags: qpsmtpd-0_96-21_el7_sme, qpsmtpd-0_96-19_el7_sme, qpsmtpd-0_96-23_el7_sme, qpsmtpd-0_96-20_el7_sme, qpsmtpd-0_96-22_el7_sme, qpsmtpd-0_96-14_el7_sme, qpsmtpd-0_96-16_el7_sme, qpsmtpd-0_96-13_el7_sme, qpsmtpd-0_96-15_el7_sme, qpsmtpd-0_96-17_el7_sme, qpsmtpd-0_96-18_el7_sme, HEAD
* Sat May 28 2016 Daniel Berteaud <daniel@firewall-services.com> 0.96-13.sme
- Check rua is defined before trying to parse it to prevent an error
  if a domain has a DMARC entry published with no rua [SME: 9206]

1 vip-ire 1.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     }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed