Authentication {#if authenticationScore !== undefined} {authenticationScore}% {/if} {#if authenticationGrade !== undefined} {/if}

{#if authentication.iprev}
IP Reverse DNS {authentication.iprev.result} {#if authentication.iprev.ip}
IP Address: {authentication.iprev.ip}
{/if} {#if authentication.iprev.hostname}
Hostname: {authentication.iprev.hostname}
{/if} {#if authentication.iprev.details}
{authentication.iprev.details}
{/if}
{/if}
{#if authentication.spf}
SPF {authentication.spf.result} {#if authentication.spf.domain}
Domain: {authentication.spf.domain}
{/if} {#if authentication.spf.details}
{authentication.spf.details}
{/if}
{:else}
SPF {getAuthResultText('missing')}
SPF record is required for proper email authentication
{/if}
{#if authentication.dkim && authentication.dkim.length > 0}
DKIM {authentication.dkim[0].result} {#if authentication.dkim[0].domain}
Domain: {authentication.dkim[0].domain}
{/if} {#if authentication.dkim[0].selector}
Selector: {authentication.dkim[0].selector}
{/if} {#if authentication.dkim[0].details}
{authentication.dkim[0].details}
{/if}
{:else}
DKIM {getAuthResultText('missing')}
DKIM signature is required for proper email authentication
{/if}
{#if authentication.x_google_dkim}
X-Google-DKIM {authentication.x_google_dkim.result} {#if authentication.x_google_dkim.domain}
Domain: {authentication.x_google_dkim.domain}
{/if} {#if authentication.x_google_dkim.selector}
Selector: {authentication.x_google_dkim.selector}
{/if} {#if authentication.x_google_dkim.details}
{authentication.x_google_dkim.details}
{/if}
{/if}
{#if authentication.dmarc}
DMARC {authentication.dmarc.result} {#if authentication.dmarc.domain}
Domain: {authentication.dmarc.domain}
{/if} {#snippet DMARCPolicy(policy)}
Policy: {policy}
{/snippet} {#if authentication.dmarc.result != "none"} {#if authentication.dmarc.details.indexOf("policy.published-domain-policy=") > 0} {@const policy = authentication.dmarc.details.replace(/^.*policy.published-domain-policy=([^\s]+).*$/, "$1")} {@render DMARCPolicy(policy)} {:else if authentication.dmarc.domain} {@render DMARCPolicy(dnsResults.dmarc_record.policy)} {/if} {/if} {#if authentication.dmarc.details}
{authentication.dmarc.details}
{/if}
{:else}
DMARC {getAuthResultText('missing')}
DMARC policy is required for proper email authentication
{/if}
{#if authentication.bimi && authentication.bimi.result != "none"}
BIMI {authentication.bimi.result} {#if authentication.bimi.details}
{authentication.bimi.details}
{/if}
{:else if authentication.bimi && authentication.bimi.result == "none"}
BIMI NONE
Brand Indicators for Message Identification
{#if authentication.bimi.details}
{authentication.bimi.details}
{/if}
{:else}
BIMI Optional
Brand Indicators for Message Identification (optional enhancement)
{/if}
{#if authentication.arc}
ARC {authentication.arc.result} {#if authentication.arc.chain_length}
Chain length: {authentication.arc.chain_length}
{/if} {#if authentication.arc.details}
{authentication.arc.details}
{/if}
{/if}