From feb63c95a5eb1c190dd9f1e8ed734115fedec575 Mon Sep 17 00:00:00 2001 From: Priyadi Iman Nurcahyo Date: Tue, 26 May 2015 19:36:40 +0000 Subject: [PATCH] According to RFC7489 authstr should be: none, pass, fail, temperror, permerror --- plugins/dmarc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/dmarc b/plugins/dmarc index b9f9361..d61f57e 100644 --- a/plugins/dmarc +++ b/plugins/dmarc @@ -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' ) {