X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=usr%2Fsbin%2Fopendmarc-reports;fp=usr%2Fsbin%2Fopendmarc-reports;h=b9299338043ab79299caf5baf6475a0ffe4fd6e8;hb=da92e3b4e53441f5c960812a29c68126af733459;hp=7616d8d8b2873ed3138ef820fc603964ea62482d;hpb=256870664833badf02ba69cb474a5efecb5c5fbb;p=opendmarc.git diff --git a/usr/sbin/opendmarc-reports b/usr/sbin/opendmarc-reports index 7616d8d..b929933 100755 --- a/usr/sbin/opendmarc-reports +++ b/usr/sbin/opendmarc-reports @@ -935,6 +935,7 @@ foreach (@$domainset) { # now perl voodoo: $answer = ${${*$smtp}{'net_cmd_resp'}}[1]; + $answer = $smtp->message() if (!defined($answer)); chomp($answer); print STDERR "$progname: $smtpstatus report for $domain to $repdest ($answer)\n"; }