Fix DMARC authentication-result string

This commit is contained in:
Priyadi Iman Nurcahyo 2015-05-26 16:13:08 +00:00
parent 298b92f067
commit 0e614e8741

View File

@ -147,7 +147,7 @@ sub data_post_handler {
my $disposition = $dmarc->result->disposition; my $disposition = $dmarc->result->disposition;
my $auth_str = "dmarc=$disposition"; my $auth_str = "dmarc=$disposition";
$auth_str = " (p=" . $pol->p . ")" if $pol; $auth_str .= " (p=" . $pol->p . ")" if $pol;
if ( $dmarc->result->result eq 'pass' ) { if ( $dmarc->result->result eq 'pass' ) {
$self->log(LOGINFO, "pass"); $self->log(LOGINFO, "pass");