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} {#each authentication.dkim as dkim, i}
0}>
DKIM{authentication.dkim.length > 1 ? ` #${i + 1}` : ""} {dkim.result} {#if dkim.domain}
Domain: {dkim.domain}
{/if} {#if dkim.selector}
Selector: {dkim.selector}
{/if} {#if dkim.details}
{dkim.details}
{/if}
{/each} {: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.x_aligned_from}
X-Aligned-From {authentication.x_aligned_from.result} {#if authentication.x_aligned_from.domain}
Domain: {authentication.x_aligned_from.domain}
{/if} {#if authentication.x_aligned_from.details}
{authentication.x_aligned_from
                                    .details}
{/if}
{/if}
{#if authentication.dmarc}
DMARC {authentication.dmarc.result} {#if authentication.dmarc.domain}
Domain: {authentication.dmarc.domain}
{/if} {#snippet DMARCPolicy(policy: string)}
Policy: {policy}
{/snippet} {#if authentication.dmarc.result != "none"} {#if authentication.dmarc.details && 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 && dnsResults?.dmarc_record?.policy} {@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}