{"id":1422,"date":"2026-11-25T20:59:55","date_gmt":"2026-11-25T20:59:55","guid":{"rendered":"https:\/\/gearmage.com\/blog\/?p=1422"},"modified":"2026-11-25T21:01:07","modified_gmt":"2026-11-25T21:01:07","slug":"detect-spoofed-invoice-emails-spf-dkim-dmarc","status":"publish","type":"post","link":"https:\/\/gearmage.com\/blog\/detect-spoofed-invoice-emails-spf-dkim-dmarc\/","title":{"rendered":"Detect spoofed invoice emails with SPF, DKIM, DMARC and look-alike domain checks"},"content":{"rendered":"\n<p>To detect spoofed invoice emails automatically, check who really sent each one before its invoice is saved. Mail Attachment Downloader&#8217;s <strong>Email security<\/strong> condition reads the SPF, DKIM and DMARC results your mail server wrote into the email, and spots look-alike domains such as acrne.example for acme.example. A rule then saves only the invoices that pass, and sends the rest to a review folder with a notification.<\/p>\n<p>Fake invoices and &#8220;our bank details have changed&#8221; emails are a common way to steal money from a business. They look like they come from a supplier you know. This post shows how to stop them from slipping into your invoice folder, spreadsheet or accounting system unseen. The examples use Contoso&#8217;s mailbox finance@contoso.com and invoices from Acme, Northwind and Fabrikam.<\/p>\n\n<h2>What does the Email security condition check?<\/h2>\n<p>You turn on the checks you want. An email passes when it passes all of them:<\/p>\n<ul>\n<li><strong>Authenticated:<\/strong> the SPF, DKIM and DMARC results. Choose <strong>SPF, DKIM or DMARC passes<\/strong>, or one of them alone: <strong>DMARC passes<\/strong>, <strong>DKIM passes<\/strong> or <strong>SPF passes<\/strong>.<\/li>\n<li><strong>Display name:<\/strong> <strong>Must not show a different address than the real sender<\/strong>. This catches &#8220;billing@acme.example&#8221; written in the name of an email that really comes from somewhere else.<\/li>\n<li><strong>Reply-To:<\/strong> <strong>Must be on the same domain as the sender<\/strong>. A reply to a fake invoice shouldn&#8217;t go to a stranger&#8217;s mailbox.<\/li>\n<li><strong>Look-alikes:<\/strong> the domains you trust, separated by commas. A sender whose domain looks like one of them does not pass: letters swapped, dropped or added, &#8220;rn&#8221; for &#8220;m&#8221;, or a zero for an &#8220;o&#8221;.<\/li>\n<\/ul>\n<p>The program doesn&#8217;t redo the mail server&#8217;s checks: it reads the results the receiving server wrote into the email&#8217;s headers. A pass shows the sending domain is genuine, not that the email is safe.<\/p>\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/gearmage.com\/assets\/images\/4.0-email-security-condition.jpg?w=840&#038;ssl=1\" alt=\"Mail Attachment Downloader's Email security condition on the rule Supplier invoices: Authenticated DMARC passes, the display name must not show a different address, Reply-To on the sender's domain, and the trusted domains acme.example, northwind.example and fabrikam.example for the look-alike check\"><figcaption>The Email security condition: DMARC, display name, Reply-To and look-alike domains in one place.<\/figcaption><\/figure>\n\n<h3>Which result should you ask for: DMARC, DKIM or SPF?<\/h3>\n<p><strong>DMARC passes<\/strong> is the strictest. DMARC ties the check to the domain in the From address you see, which is the one a fraudster fakes. Ask for it when your suppliers&#8217; domains publish a DMARC policy.<\/p>\n<p><strong>SPF, DKIM or DMARC passes<\/strong> is the default and the safer start: a supplier without DMARC still passes when SPF or DKIM does. Add <strong>Look-alikes<\/strong> to it, because a fraudster can make SPF and DKIM pass for a look-alike domain they own.<\/p>\n\n<h2>What you need<\/h2>\n<ul>\n<li><strong><a href=\"https:\/\/gearmage.com\/buymaildownloader.html#plan-client\">PRO Rules Client<\/a><\/strong> for the Email security condition and moving emails on the mail server.<\/li>\n<li><strong><a href=\"https:\/\/gearmage.com\/buymaildownloader.html#plan-server\">PRO Rules Server<\/a><\/strong> for the Send notification step and running as a Windows service.<\/li>\n<li><strong>Windows:<\/strong> Windows 10 or later, 64-bit, on a PC, a server or a cloud VM.<\/li>\n<\/ul>\n\n<h2>Step 1: Save invoices only from senders that pass<\/h2>\n<ol>\n<li>On the <strong>PRO Rules<\/strong> tab, click <strong>New rule&#8230;<\/strong> and name it &#8220;Supplier invoices&#8221;.<\/li>\n<li>Under <strong>Which emails<\/strong>, click <strong>Add a condition<\/strong> and add the invoices: &#8220;invoice&#8221; in the subject, or the account finance@contoso.com.<\/li>\n<li>Click <strong>Add a condition<\/strong> again and choose <strong>Email security<\/strong>. Set <strong>Authenticated<\/strong>, tick <strong>Display name<\/strong> and <strong>Reply-To<\/strong>, and type your suppliers&#8217; domains in <strong>Look-alikes<\/strong>: <code>acme.example, northwind.example, fabrikam.example<\/code>.<\/li>\n<li>Leave <strong>Picks<\/strong> on <strong>Emails that pass the checks<\/strong>.<\/li>\n<li>Under <strong>Save<\/strong>, save the attachments to <code>\\\\fileserver\\Finance\\Invoices<\/code>.<\/li>\n<\/ol>\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/gearmage.com\/assets\/images\/4.0-filters.jpg?w=840&#038;ssl=1\" alt=\"The Rule Editor's Which emails section with the Add a condition button and conditions such as Mailbox folder, Received on or after, Received before, Account and an Any of these group of From and Subject\"><figcaption>Which emails: add the Email security condition with Add a condition, beside the rule&#8217;s other conditions.<\/figcaption><\/figure>\n<p><strong>No result<\/strong> decides what happens to an email whose headers have no SPF, DKIM or DMARC result. Some accounts, such as POP3 accounts, don&#8217;t add any. For invoices keep <strong>Count the email as not passed<\/strong>, so an unchecked email goes to review instead of straight through. Tick <strong>Subdomains must match too<\/strong> if a Reply-To on another subdomain of the sender&#8217;s domain should fail as well.<\/p>\n\n<h2>Step 2: Send failures to a review folder and a notification<\/h2>\n<p>Make a second rule, &#8220;Suspicious invoices&#8221;, with the same conditions, but set <strong>Picks<\/strong> to <strong>Emails that do not pass the checks<\/strong>. The two rules never pick the same email.<\/p>\n<ol>\n<li>Under <strong>Save<\/strong>, choose <strong>The email only<\/strong> and a folder such as <code>D:\\Finance\\Review<\/code>, so the reviewer has a copy.<\/li>\n<li>Under <strong>Then<\/strong>, click <strong>Add a step&#8230;<\/strong>, open <strong>Email<\/strong> and add <strong>Move or copy the email<\/strong>. Pick the <strong>Account<\/strong> and a <strong>Folder<\/strong> such as &#8220;Invoice review&#8221;. The email leaves the inbox, so nobody pays it by mistake.<\/li>\n<li>Add <strong>Send notification<\/strong> from <strong>Notify<\/strong>, and pick a channel: Microsoft Teams, Slack, email or another one set up under <strong>Settings<\/strong> \u203a <strong>Sources<\/strong> \u203a <strong>Notification Channels<\/strong>. Put <code>{FROM}<\/code> and <code>{SUBJECT}<\/code> in the message so the team sees which email it is.<\/li>\n<\/ol>\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/gearmage.com\/assets\/images\/4.0-move-email.jpg?w=840&#038;ssl=1\" alt=\"The Move or copy the email step in the Rule Editor: account ap@contoso.example, folder Processed invoices, Leave a copy in the original folder ticked, Run Once per email, and List the folders\"><figcaption>Move or copy the email moves an email to another folder of its mailbox. For a review folder, untick Leave a copy.<\/figcaption><\/figure>\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/gearmage.com\/assets\/images\/4.0-steps-notify.jpg?w=840&#038;ssl=1\" alt=\"The Add a step window with Notify chosen: Send notification, which tells you in Teams, in Slack, by email or through a web hook\"><figcaption>Add a step \u203a Notify \u203a Send notification tells the team about a suspicious invoice email.<\/figcaption><\/figure>\n\n<h2>Test the checks before you trust them<\/h2>\n<p>Click <strong>Test this rule&#8230;<\/strong> and <strong>Run test<\/strong>. The rule runs on your recent emails without changing anything, and each email that fails says why, such as <strong>Skipped: not authenticated<\/strong> or <strong>Skipped: look-alike domain<\/strong>.<\/p>\n<p>Have a suspicious email saved as a file? <strong>Test an email file\u2026<\/strong> tries the rule&#8217;s Email security conditions on an .eml or .msg file, with no mailbox, and shows each check as passed or not. Use the email file as it was received: an email forwarded as an attachment has usually lost its authentication results.<\/p>\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/gearmage.com\/assets\/images\/4.0-test-rule.jpg?w=840&#038;ssl=1\" alt=\"The Test rule window: accounts and folders of ap@contoso.com, a list of tested emails from Acme Billing, Northwind Traders and Fabrikam Purchasing with their results, the reasons for the selected email, and the buttons Run test, Open in trace viewer and Test an email file\"><figcaption>Test this rule shows what the rule would pick and why. Test an email file\u2026 tries the Email security checks on a saved email.<\/figcaption><\/figure>\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/gearmage.com\/assets\/images\/4.0-test-rule-security.jpg?w=840&#038;ssl=1\" alt=\"Test rule Supplier invoices: three invoices Matched, one from billing@acrne.example Skipped: look-alike domain, one Skipped: not authenticated, and the trace showing acrne.example resembles acme.example\"><figcaption>Test the rule first: the look-alike sender acrne.example is skipped, and the trace says why.<\/figcaption><\/figure>\n<p>Once the rules run, tick <strong>Rule tracing<\/strong> under the PRO Rules tab&#8217;s Diagnostics to record each check of each email.<\/p>\n\n<h2>More invoice fraud protection: checks on the invoice itself<\/h2>\n<p>A genuine supplier&#8217;s mailbox can be broken into, and then its emails pass every sender check. So check the invoice too. With the <a href=\"https:\/\/gearmage.com\/maildownloader_pro_features.html#parser-checks\">Parser<\/a> (<a href=\"https:\/\/gearmage.com\/buymaildownloader.html#plan-parser\">PRO Parser<\/a> and up), reading invoices from email, add these on its <strong>Checks<\/strong> step:<\/p>\n<ul>\n<li><strong>Duplicates:<\/strong> tick <strong>The same<\/strong>, pick the invoice number and the supplier, and choose <strong>Skip it and note it<\/strong> or send it to review. The same invoice sent twice isn&#8217;t paid twice.<\/li>\n<li><strong>Bank details you don&#8217;t know:<\/strong> give the IBAN field the check <strong>In a list<\/strong>, with the IBANs your suppliers gave you, written as the invoices show them, and <strong>Send to review<\/strong> under <strong>If it fails<\/strong>. An invoice asking you to pay a new account waits for a person.<\/li>\n<li><strong>Unusual amounts:<\/strong> give the total a range with <strong>Between<\/strong>.<\/li>\n<\/ul>\n<p>An invoice that fails waits in <strong>Needs you<\/strong>, and nothing is written, sent or moved for it until someone approves it. E-invoices (Factur-X, ZUGFeRD, XRechnung) carry the IBAN in their own data; for PDFs, build an IBAN field by highlighting it on a sample.<\/p>\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/gearmage.com\/assets\/images\/4.0-parser-checks.jpg?w=840&#038;ssl=1\" alt=\"The Parser's Checks step for supplier invoices: a Between 0.01 and 100000 check on the total that sends it to review, the sum checks, a duplicate check on invoice_number + supplier set to Skip it and note it, and the review queue settings, with 3 samples passing\"><figcaption>Parser checks against invoice fraud: a range for the total and the duplicate-invoice check. An IBAN field takes the In a list check the same way.<\/figcaption><\/figure>\n<p>For suppliers that bill on a schedule, <a href=\"https:\/\/gearmage.com\/maildownloader_pro_features.html#expected\">Expected emails<\/a> (<a href=\"https:\/\/gearmage.com\/buymaildownloader.html#plan-client\">PRO Rules Client<\/a> and up) also tells you when an invoice that should have come hasn&#8217;t.<\/p>\n\n<h2>What it doesn&#8217;t do<\/h2>\n<ul>\n<li>It isn&#8217;t a spam filter or a virus scanner. It decides what your rules save and where, by who really sent the email.<\/li>\n<li>It reads the authentication results your mail server added; it doesn&#8217;t look up SPF or DMARC records itself.<\/li>\n<li>It doesn&#8217;t replace a call to the supplier. When an email asks you to change bank details, confirm on a phone number you already have.<\/li>\n<\/ul>\n\n<h2>Questions people ask<\/h2>\n<h3>How do I check the DMARC result of an incoming email?<\/h3>\n<p>Your mail server writes it into the email&#8217;s Authentication-Results header as dmarc=pass or dmarc=fail. The Email security condition reads that header for you, and <strong>Test an email file\u2026<\/strong> shows it for a single saved email.<\/p>\n<h3>What is a look-alike domain?<\/h3>\n<p>A domain made to be mistaken for a real one, such as acrne.example for acme.example, or acme.co for acme.example. Fraudsters register them so that SPF and DKIM pass. The <strong>Look-alikes<\/strong> check compares the sender&#8217;s domain with the domains you trust.<\/p>\n<h3>Can a spoofed invoice pass SPF, DKIM and DMARC?<\/h3>\n<p>Yes, when it is sent from the supplier&#8217;s own hacked mailbox, or from a look-alike domain the fraudster owns. That&#8217;s why the look-alike check and the Parser&#8217;s checks on the invoice belong next to the authentication check.<\/p>\n<h3>What if my emails have no authentication results?<\/h3>\n<p>Then <strong>No result<\/strong> decides. Count them as not passed to send them to review, or as passed and rely on the display name, Reply-To and look-alike checks.<\/p>\n\n<p><strong>Try it:<\/strong> <a href=\"https:\/\/gearmage.com\/maildownloader.html\">download Mail Attachment Downloader<\/a> and start with <a href=\"https:\/\/gearmage.com\/buymaildownloader.html#plan-free\">the free edition<\/a>, or <a href=\"https:\/\/gearmage.com\/buymaildownloader.html\">compare the PRO editions<\/a>, each with a 30-day money-back guarantee.<\/p>\n\n<h2>Related<\/h2>\n<ul>\n<li><a href=\"https:\/\/gearmage.com\/maildownloader_pro_features.html#email-security\">Email security conditions: features<\/a><\/li>\n<li><a href=\"https:\/\/gearmage.com\/blog\/emails-invoice-processing\/\">Invoice emails to your invoice processing software<\/a><\/li>\n<li><a href=\"https:\/\/gearmage.com\/blog\/filters-mail-attachment-downloader-pro\/\">Filters in PRO Rules<\/a><\/li>\n<li><a href=\"https:\/\/gearmage.com\/blog\/process-e-invoices-from-email-zugferd-factur-x-xrechnung\/\">Process e-invoices from email: ZUGFeRD, Factur-X, XRechnung<\/a><\/li>\n<li><a href=\"https:\/\/gearmage.com\/blog\/why-did-my-rule-not-download-the-attachment-or-email\/\">Why did my rule not download the attachment or email?<\/a><\/li>\n<\/ul>\n<p>Questions about this post? <a href=\"https:\/\/gearmage.com\/contact.html\">Contact us<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Detect spoofed invoice emails automatically: check SPF, DKIM and DMARC results and look-alike domains, save invoices that pass and flag the rest.<\/p>\n","protected":false},"author":1,"featured_media":1439,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[122,130,4,120],"tags":[],"class_list":["post-1422","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-extraction","category-email-security","category-mad","category-pro-rules"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Detect spoofed invoice emails: SPF, DKIM, DMARC - Gearmage Blog<\/title>\n<meta name=\"description\" content=\"Detect spoofed invoice emails automatically: check SPF, DKIM and DMARC results and look-alike domains, save invoices that pass and flag the rest.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/gearmage.com\/blog\/detect-spoofed-invoice-emails-spf-dkim-dmarc\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Detect spoofed invoice emails: SPF, DKIM, DMARC - Gearmage Blog\" \/>\n<meta property=\"og:description\" content=\"Detect spoofed invoice emails automatically: check SPF, DKIM and DMARC results and look-alike domains, save invoices that pass and flag the rest.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gearmage.com\/blog\/detect-spoofed-invoice-emails-spf-dkim-dmarc\/\" \/>\n<meta property=\"og:site_name\" content=\"Gearmage Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-25T20:59:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-25T21:01:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/gearmage.com\/blog\/wp-content\/uploads\/2026\/11\/4-0-test-rule-security.jpg?fit=1400%2C1180&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"1400\" \/>\n\t<meta property=\"og:image:height\" content=\"1180\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"gearmage\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"gearmage\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/detect-spoofed-invoice-emails-spf-dkim-dmarc\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/detect-spoofed-invoice-emails-spf-dkim-dmarc\\\/\"},\"author\":{\"name\":\"gearmage\",\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/#\\\/schema\\\/person\\\/c8728645787bff3555b5873b43161652\"},\"headline\":\"Detect spoofed invoice emails with SPF, DKIM, DMARC and look-alike domain checks\",\"datePublished\":\"2026-11-25T20:59:55+00:00\",\"dateModified\":\"2026-11-25T21:01:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/detect-spoofed-invoice-emails-spf-dkim-dmarc\\\/\"},\"wordCount\":1505,\"publisher\":{\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/detect-spoofed-invoice-emails-spf-dkim-dmarc\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/gearmage.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/4-0-test-rule-security.jpg?fit=1400%2C1180&ssl=1\",\"articleSection\":[\"Data extraction and invoices\",\"Email security\",\"Mail Attachment Downloader\",\"PRO Rules\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/detect-spoofed-invoice-emails-spf-dkim-dmarc\\\/\",\"url\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/detect-spoofed-invoice-emails-spf-dkim-dmarc\\\/\",\"name\":\"Detect spoofed invoice emails: SPF, DKIM, DMARC - Gearmage Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/detect-spoofed-invoice-emails-spf-dkim-dmarc\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/detect-spoofed-invoice-emails-spf-dkim-dmarc\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/gearmage.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/4-0-test-rule-security.jpg?fit=1400%2C1180&ssl=1\",\"datePublished\":\"2026-11-25T20:59:55+00:00\",\"dateModified\":\"2026-11-25T21:01:07+00:00\",\"description\":\"Detect spoofed invoice emails automatically: check SPF, DKIM and DMARC results and look-alike domains, save invoices that pass and flag the rest.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/detect-spoofed-invoice-emails-spf-dkim-dmarc\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/gearmage.com\\\/blog\\\/detect-spoofed-invoice-emails-spf-dkim-dmarc\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/detect-spoofed-invoice-emails-spf-dkim-dmarc\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/gearmage.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/4-0-test-rule-security.jpg?fit=1400%2C1180&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/gearmage.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/4-0-test-rule-security.jpg?fit=1400%2C1180&ssl=1\",\"width\":1400,\"height\":1180,\"caption\":\"Test rule Supplier invoices: three invoices Matched, one from billing@acrne.example Skipped: look-alike domain, one Skipped: not authenticated, and the trace showing acrne.example resembles acme.example\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/detect-spoofed-invoice-emails-spf-dkim-dmarc\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Detect spoofed invoice emails with SPF, DKIM, DMARC and look-alike domain checks\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/\",\"name\":\"Gearmage Blog\",\"description\":\"Email Processing Tools and Solutions\",\"publisher\":{\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/#organization\",\"name\":\"Gearmage\",\"url\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/gearmage.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/02\\\/cropped-cropped-GearMage.jpg?fit=240%2C58&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/gearmage.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/02\\\/cropped-cropped-GearMage.jpg?fit=240%2C58&ssl=1\",\"width\":240,\"height\":58,\"caption\":\"Gearmage\"},\"image\":{\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/#\\\/schema\\\/person\\\/c8728645787bff3555b5873b43161652\",\"name\":\"gearmage\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ca0fad01f9a63241bc21d4f1f44befe7c62e4ee3bb268fb1adaadc2e49ed0699?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ca0fad01f9a63241bc21d4f1f44befe7c62e4ee3bb268fb1adaadc2e49ed0699?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ca0fad01f9a63241bc21d4f1f44befe7c62e4ee3bb268fb1adaadc2e49ed0699?s=96&d=mm&r=g\",\"caption\":\"gearmage\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Detect spoofed invoice emails: SPF, DKIM, DMARC - Gearmage Blog","description":"Detect spoofed invoice emails automatically: check SPF, DKIM and DMARC results and look-alike domains, save invoices that pass and flag the rest.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/gearmage.com\/blog\/detect-spoofed-invoice-emails-spf-dkim-dmarc\/","og_locale":"en_US","og_type":"article","og_title":"Detect spoofed invoice emails: SPF, DKIM, DMARC - Gearmage Blog","og_description":"Detect spoofed invoice emails automatically: check SPF, DKIM and DMARC results and look-alike domains, save invoices that pass and flag the rest.","og_url":"https:\/\/gearmage.com\/blog\/detect-spoofed-invoice-emails-spf-dkim-dmarc\/","og_site_name":"Gearmage Blog","article_published_time":"2026-11-25T20:59:55+00:00","article_modified_time":"2026-11-25T21:01:07+00:00","og_image":[{"width":1400,"height":1180,"url":"https:\/\/i0.wp.com\/gearmage.com\/blog\/wp-content\/uploads\/2026\/11\/4-0-test-rule-security.jpg?fit=1400%2C1180&ssl=1","type":"image\/jpeg"}],"author":"gearmage","twitter_card":"summary_large_image","twitter_misc":{"Written by":"gearmage","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/gearmage.com\/blog\/detect-spoofed-invoice-emails-spf-dkim-dmarc\/#article","isPartOf":{"@id":"https:\/\/gearmage.com\/blog\/detect-spoofed-invoice-emails-spf-dkim-dmarc\/"},"author":{"name":"gearmage","@id":"https:\/\/gearmage.com\/blog\/#\/schema\/person\/c8728645787bff3555b5873b43161652"},"headline":"Detect spoofed invoice emails with SPF, DKIM, DMARC and look-alike domain checks","datePublished":"2026-11-25T20:59:55+00:00","dateModified":"2026-11-25T21:01:07+00:00","mainEntityOfPage":{"@id":"https:\/\/gearmage.com\/blog\/detect-spoofed-invoice-emails-spf-dkim-dmarc\/"},"wordCount":1505,"publisher":{"@id":"https:\/\/gearmage.com\/blog\/#organization"},"image":{"@id":"https:\/\/gearmage.com\/blog\/detect-spoofed-invoice-emails-spf-dkim-dmarc\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/gearmage.com\/blog\/wp-content\/uploads\/2026\/11\/4-0-test-rule-security.jpg?fit=1400%2C1180&ssl=1","articleSection":["Data extraction and invoices","Email security","Mail Attachment Downloader","PRO Rules"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/gearmage.com\/blog\/detect-spoofed-invoice-emails-spf-dkim-dmarc\/","url":"https:\/\/gearmage.com\/blog\/detect-spoofed-invoice-emails-spf-dkim-dmarc\/","name":"Detect spoofed invoice emails: SPF, DKIM, DMARC - Gearmage Blog","isPartOf":{"@id":"https:\/\/gearmage.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/gearmage.com\/blog\/detect-spoofed-invoice-emails-spf-dkim-dmarc\/#primaryimage"},"image":{"@id":"https:\/\/gearmage.com\/blog\/detect-spoofed-invoice-emails-spf-dkim-dmarc\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/gearmage.com\/blog\/wp-content\/uploads\/2026\/11\/4-0-test-rule-security.jpg?fit=1400%2C1180&ssl=1","datePublished":"2026-11-25T20:59:55+00:00","dateModified":"2026-11-25T21:01:07+00:00","description":"Detect spoofed invoice emails automatically: check SPF, DKIM and DMARC results and look-alike domains, save invoices that pass and flag the rest.","breadcrumb":{"@id":"https:\/\/gearmage.com\/blog\/detect-spoofed-invoice-emails-spf-dkim-dmarc\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gearmage.com\/blog\/detect-spoofed-invoice-emails-spf-dkim-dmarc\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/gearmage.com\/blog\/detect-spoofed-invoice-emails-spf-dkim-dmarc\/#primaryimage","url":"https:\/\/i0.wp.com\/gearmage.com\/blog\/wp-content\/uploads\/2026\/11\/4-0-test-rule-security.jpg?fit=1400%2C1180&ssl=1","contentUrl":"https:\/\/i0.wp.com\/gearmage.com\/blog\/wp-content\/uploads\/2026\/11\/4-0-test-rule-security.jpg?fit=1400%2C1180&ssl=1","width":1400,"height":1180,"caption":"Test rule Supplier invoices: three invoices Matched, one from billing@acrne.example Skipped: look-alike domain, one Skipped: not authenticated, and the trace showing acrne.example resembles acme.example"},{"@type":"BreadcrumbList","@id":"https:\/\/gearmage.com\/blog\/detect-spoofed-invoice-emails-spf-dkim-dmarc\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/gearmage.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Detect spoofed invoice emails with SPF, DKIM, DMARC and look-alike domain checks"}]},{"@type":"WebSite","@id":"https:\/\/gearmage.com\/blog\/#website","url":"https:\/\/gearmage.com\/blog\/","name":"Gearmage Blog","description":"Email Processing Tools and Solutions","publisher":{"@id":"https:\/\/gearmage.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/gearmage.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/gearmage.com\/blog\/#organization","name":"Gearmage","url":"https:\/\/gearmage.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/gearmage.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/gearmage.com\/blog\/wp-content\/uploads\/2016\/02\/cropped-cropped-GearMage.jpg?fit=240%2C58&ssl=1","contentUrl":"https:\/\/i0.wp.com\/gearmage.com\/blog\/wp-content\/uploads\/2016\/02\/cropped-cropped-GearMage.jpg?fit=240%2C58&ssl=1","width":240,"height":58,"caption":"Gearmage"},"image":{"@id":"https:\/\/gearmage.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/gearmage.com\/blog\/#\/schema\/person\/c8728645787bff3555b5873b43161652","name":"gearmage","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ca0fad01f9a63241bc21d4f1f44befe7c62e4ee3bb268fb1adaadc2e49ed0699?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ca0fad01f9a63241bc21d4f1f44befe7c62e4ee3bb268fb1adaadc2e49ed0699?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ca0fad01f9a63241bc21d4f1f44befe7c62e4ee3bb268fb1adaadc2e49ed0699?s=96&d=mm&r=g","caption":"gearmage"}}]}},"jetpack-related-posts":[],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/gearmage.com\/blog\/wp-content\/uploads\/2026\/11\/4-0-test-rule-security.jpg?fit=1400%2C1180&ssl=1","_links":{"self":[{"href":"https:\/\/gearmage.com\/blog\/wp-json\/wp\/v2\/posts\/1422","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gearmage.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gearmage.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gearmage.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gearmage.com\/blog\/wp-json\/wp\/v2\/comments?post=1422"}],"version-history":[{"count":3,"href":"https:\/\/gearmage.com\/blog\/wp-json\/wp\/v2\/posts\/1422\/revisions"}],"predecessor-version":[{"id":1441,"href":"https:\/\/gearmage.com\/blog\/wp-json\/wp\/v2\/posts\/1422\/revisions\/1441"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gearmage.com\/blog\/wp-json\/wp\/v2\/media\/1439"}],"wp:attachment":[{"href":"https:\/\/gearmage.com\/blog\/wp-json\/wp\/v2\/media?parent=1422"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gearmage.com\/blog\/wp-json\/wp\/v2\/categories?post=1422"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gearmage.com\/blog\/wp-json\/wp\/v2\/tags?post=1422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}