[smtpd/qpsmtpd] d13eae: Check rua is defined before trying to parse it (#2...

[email protected] (GitHub) Thu, 28 Apr 2016 10:09:07 -0700
Newsgroups perl.qpsmtpd.dev
Message-ID <572243b3a6a15_35873fade5a4329c16389e@hookshot-fe6-cp1-prd.iad.github.net.mail>
----==_mimepart_572243b3a6671_35873fade5a4329c163727
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

  Branch: refs/heads/master
  Home:   https://github.com/smtpd/qpsmtpd
  Commit: d13eae3aec89314fb595e00630e57029656fa59b
      https://github.com/smtpd/qpsmtpd/commit/d13eae3aec89314fb595e00630e57029656fa59b
  Author: Daniel B <[email protected]>
  Date:   2016-04-28 (Thu, 28 Apr 2016)

  Changed paths:
    M plugins/dmarc

  Log Message:
  -----------
  Check rua is defined before trying to parse it (#257)

Because $pol->rue returns undef is there's no rua defined, an error is printed in the logs

FATAL PLUGIN ERROR [dmarc]:  URI string is required! at /usr/share/perl5/vendor_perl/Mail/DMARC/PurePerl.pm line 295



----==_mimepart_572243b3a6671_35873fade5a4329c163727--