According to RFC7489 authstr should be: none, pass, fail, temperror, permerror

This commit is contained in:
Priyadi Iman Nurcahyo 2015-05-26 19:36:40 +00:00
parent 0e614e8741
commit feb63c95a5

View File

@ -146,7 +146,8 @@ sub data_post_handler {
};
my $disposition = $dmarc->result->disposition;
my $auth_str = "dmarc=$disposition";
my $result = $dmarc->result->result;
my $auth_str = "dmarc=$result";
$auth_str .= " (p=" . $pol->p . ")" if $pol;
if ( $dmarc->result->result eq 'pass' ) {