2207 90B St SW #102Edmonton, Alberta, T6X 1V8, Canada
+1 (780) 680-5739info@hbtech.ca
HB Technology
Engineering & Cloud Capabilities

Comprehensive IT & Web Solutions

View All Services →
Web Design & DevelopmentModern, mobile-first websites engineered for speed, accessibility, and Core Web Vitals. Built for performance and long-term maintainability.
Technical SEO & Performance AuditTechnical SEO architecture, Schema.org structured data, and search engine optimization engineered to capture high-intent organic search traffic.
eCommerce DevelopmentHigh-converting online stores on Shopify or WooCommerce with secure Canadian payment processing, inventory systems, and performance optimization.
Custom Web ApplicationsTailored portals, internal tools, and SaaS platforms designed around your exact workflows using React, Node.js, and cloud-native architecture.
Custom WordPress DevelopmentCustom, lightweight WordPress engineering with modular Gutenberg and ACF Pro blocks — zero bloated themes and sub-second load times.
White Label Web DevelopmentSenior-level white-label web development and maintenance partnership for Canadian digital agencies and marketing firms.
Domains & Cloud HostingHigh-availability Canadian cloud hosting, proactive monitoring, security, and ongoing technical support designed for uptime and compliance.
Managed IT & Cloud InfrastructureReliable Canadian hosting, proactive monitoring, security, and ongoing technical support designed for uptime and compliance.
Need managed cloud architecture, custom workflow software, or 24/7 Edmonton IT support?
Schedule Technical Consultation →
Industry-Specific Systems

Tailored Technology by Vertical

Explore All Industries →
Government & Public SectorSecure, accessible, and compliant digital infrastructure for municipalities and public agencies.
Enterprise IT SolutionsScalable cloud architecture, workflow automation, and custom digital platforms for growing enterprises.
Non-Profit OrganizationsCost-effective, high-impact digital platforms to amplify your mission, community reach, and donor engagement.
Small BusinessesAffordable, high-converting digital storefronts, local SEO strategies, and custom web development for growing businesses.
Looking for custom compliance (PIPEDA / FOIP / HIPAA / SOC2) or ERP systems integration?Request Industry Consultation →
About HB Technology Solutions

Company, Credentials & Insights

About UsLearn about our mission, vision, and core values.
Our ServicesExplore our full range of web development and IT solutions.
Domains & HostingRegister domains, manage DNS, and secure cloud hosting.
Blogs & InsightsLatest articles on technology, design, and digital growth.
TestimonialsHear what our clients and partners have to say about working with HB Tech.
Technology

SPF, DKIM and DMARC: Email Security for Canadian Businesses

SPF, DKIM and DMARC: Email Security for Canadian Businesses
Yujesh K C
By Yujesh K CLead Software Engineer
Published: 2026-11-30T03:08:30.594Z⏱️ 20 min read

A customer receives an email that appears to come from your company. The sender's name is familiar, the company logo looks right, and the message asks for an outstanding invoice to be paid to a slightly different bank account. Nothing immediately suggests that the email is fraudulent.

The problem is that the message may have nothing to do with your business. Someone could be impersonating your domain without having access to your actual email account.

This is known as email spoofing. For Canadian businesses that regularly exchange invoices, contracts, payroll information and customer records through email, it presents a genuine security concern. A convincing fraudulent message can damage a company's reputation and create financial consequences long before anyone realizes what happened.

Three established email authentication standards help address this problem: Sender Policy Framework (SPF), DomainKeys Identified Mail (DKIM) and Domain-based Message Authentication, Reporting and Conformance (DMARC). They work together, but each has a different responsibility. Understanding those differences is the starting point for protecting a business email domain.

Why a familiar company email address is not proof of identity

SMTP, the protocol used to transfer email between servers, does not automatically establish that the person sending a message is authorized to represent the domain displayed in the recipient's inbox.

For example, an attacker could send a message displaying accounts@yourcompany.ca in the From field. The recipient sees your company's domain, but the message may have originated from an unrelated server. Without appropriate authentication and enforcement, receiving mail systems have limited information about whether the displayed sender is legitimate.

This is particularly relevant to businesses that use email for supplier payments, customer support, employee communication and financial administration. A compromised or impersonated identity can be used to request confidential documents, redirect payments or distribute malicious attachments.

Email authentication helps receiving servers assess whether a message is authorized to use a particular domain. The Canadian Centre for Cyber Security recommends implementing SPF, DKIM and DMARC as part of an organization's email domain protection measures.

These controls are also part of a broader managed IT and cybersecurity strategy, rather than a setting that should be considered only when an email problem occurs.

SPF: Which servers are allowed to send email for your domain?

Sender Policy Framework is a DNS-based authentication standard that identifies the mail servers authorized to send messages on behalf of a domain.

Suppose your company uses Microsoft 365 for employee email and a separate email marketing platform for newsletters. Both services may send messages using your business domain. SPF provides a way to publish the authorized sending infrastructure so receiving servers can check whether the sending server is permitted to use the relevant envelope sender domain.

The authorization is published as a TXT record in your domain's DNS settings. A simplified example looks like this:

yourcompany.ca TXT \"v=spf1 include:spf.protection.outlook.com -all\"

This is an illustrative example for a particular Microsoft 365 sending configuration, not a universal record. The correct value must come from your actual email provider and must account for every legitimate sending service.

Here is what the main components mean:

  • v=spf1: Identifies the record as an SPF version 1 policy.

  • include: References another domain's SPF policy to authorize the sending infrastructure it specifies.

  • -all: Indicates that other sources should fail the SPF authorization check.

One detail frequently causes problems during implementation: a domain should not have multiple independent SPF records. If Microsoft 365, a CRM and an email marketing service all need authorization, their approved mechanisms must be combined into a single SPF policy.

SPF also has a DNS lookup limit of 10 mechanisms that trigger DNS queries during evaluation. Exceeding this limit can cause a permanent SPF error, even when the record appears to contain the correct services. Long-standing configurations deserve an occasional review, particularly when a business changes providers.

There is another limitation. SPF evaluates the envelope sender domain rather than directly authenticating the visible From address. Email forwarding can also change the sending server's IP address, causing an otherwise legitimate message to fail SPF.

SPF is useful, but it cannot establish the complete identity of the sender on its own.

DKIM: How a digital signature helps verify an email

DomainKeys Identified Mail takes a different approach. Instead of checking only which server sent a message, DKIM uses cryptographic signatures to help receiving servers verify that an email was signed by an authorized domain.

When an email service sends a message, it adds a DKIM-Signature header. The sending system generates this signature using a private cryptographic key. The corresponding public key is published in DNS, allowing receiving servers to verify the signature.

DKIM records are associated with a selector, which identifies the relevant public key. A simplified DNS record might look like this:

selector1._domainkey.yourcompany.ca TXT \"v=DKIM1; k=rsa; p=PUBLIC_KEY_VALUE\"

The selector and public key must be generated or provided by the email service responsible for signing messages. The example above is only a representation of the record structure, not a working authentication key.

When a recipient's mail server receives the message, it retrieves the public key and checks the signature. A valid signature provides evidence that the message was signed using the corresponding private key and that the signed portions have not been modified in a way that invalidates the signature.

For a Canadian business using Microsoft 365, Google Workspace or a dedicated email marketing platform, DKIM is generally configured through the provider's administration panel. The process commonly involves generating or enabling signing keys and publishing the required DNS records.

Google recommends DKIM keys of at least 1024 bits for messages sent to personal Gmail accounts and recommends 2048-bit keys where supported. Businesses should follow their provider's current key-generation and rotation guidance.

DKIM is especially valuable when email passes through forwarding systems because its signature can remain valid even when the message travels through another mail server. That said, mailing lists, disclaimers or other systems that modify signed message content can invalidate a signature.

DMARC: Connecting authentication results to the visible sender

SPF and DKIM solve important problems, but they share a weakness. A message can pass either authentication check using a domain controlled by an attacker while displaying a different company's address in the visible From field.

DMARC addresses this gap by introducing domain alignment, reporting and policy enforcement.

For a message to pass DMARC, at least one of the following must be true:

  • SPF passes and aligns: The authenticated SPF domain matches the visible From domain under the selected alignment mode.

  • DKIM passes and aligns: The domain in the valid DKIM signature matches the visible From domain under the selected alignment mode.

Both SPF and DKIM do not have to pass for an individual message to achieve DMARC success. However, configuring both provides stronger coverage and makes legitimate email less dependent on a single authentication mechanism.

DMARC is published as a DNS TXT record under the special hostname _dmarc. A basic monitoring record might look like this:

_dmarc.yourcompany.ca TXT \"v=DMARC1; p=none; rua=mailto:dmarc@yourcompany.ca; adkim=r; aspf=r\"

The record contains several important settings:

  • v=DMARC1: Identifies the DMARC record version.

  • p=none: Requests monitoring without asking receiving servers to quarantine or reject messages because of DMARC failure.

  • rua: Specifies where aggregate authentication reports should be sent.

  • adkim=r: Uses relaxed DKIM alignment.

  • aspf=r: Uses relaxed SPF alignment.

The monitoring address should be configured to receive and process reports. Aggregate reports generally contain information about sending sources and authentication results, rather than functioning as ordinary readable copies of individual emails.

Once the organization understands its legitimate sending activity, it can move towards stronger enforcement.

Understanding the three DMARC enforcement policies

DMARC provides three primary policy choices. Selecting the right one depends on how well the organization understands its email infrastructure.

1. p=none: Monitor authentication activity

This is a sensible starting point for a domain that has never used DMARC. Receiving servers can generate reports about messages claiming to originate from the domain, but the policy does not request quarantine or rejection for authentication failures.

A business can use this stage to identify messages from Microsoft 365, Google Workspace, CRM systems, accounting software, website contact forms and marketing platforms. It also helps identify unauthorized sending activity.

2. p=quarantine: Treat failing messages as suspicious

After legitimate sending services have been identified and configured, the organization can request that messages failing DMARC be treated as suspicious. Receiving systems commonly place these messages in spam or junk folders, although the final handling depends on the recipient's mail provider.

This stage is useful when a company wants stronger protection but is still validating its configuration.

3. p=reject: Request rejection of failing messages

This is the strongest standard DMARC enforcement policy. It instructs participating receiving systems to reject messages that fail DMARC authentication.

For a business that has verified its legitimate senders and corrected alignment problems, reject offers a stronger defence against direct domain impersonation.

It is worth understanding what the policy does not guarantee. Receiving servers make the final delivery decision, and DMARC does not prevent every form of phishing, compromised-account abuse or lookalike-domain fraud. A fraudulent message sent from a newly registered domain that resembles your company name is a different problem.

SPF vs DKIM vs DMARC: What does each one actually protect?

The three standards are easier to understand when viewed as parts of the same verification process.

  • SPF checks authorization: Is the sending server permitted to send using the relevant envelope sender domain?

  • DKIM checks the signature: Does the message carry a valid cryptographic signature associated with an authorized domain?

  • DMARC checks alignment and enforcement: Does the authenticated identity correspond to the visible From domain, and what policy should the receiving system apply when authentication fails?

Consider an Edmonton-based accounting firm that sends invoices through Microsoft 365 and monthly newsletters through a separate marketing platform. Its SPF record must account for the authorized sending services. Both platforms should sign relevant messages with aligned DKIM domains. DMARC then evaluates whether either authentication method passes with the required alignment.

If an attacker sends an invoice using a server that is not authorized by the company's SPF record and cannot produce a valid aligned DKIM signature, the message should fail DMARC. Once the company has implemented a reject policy, participating receiving systems can reject that impersonation attempt.

This is the practical value of implementing all three rather than treating them as unrelated DNS settings.

Why email authentication matters for Canadian businesses

Email is involved in more business processes than most organizations realize. It connects accounting departments, customers, suppliers, employees, contractors and external service providers.

A small business might rely on email to send estimates and payment reminders. A larger organization may use multiple domains and subdomains for recruitment, payroll, customer notifications, software applications and corporate communications. Each sending source creates another configuration that needs to be considered.

For small businesses, domain impersonation can make customers question whether genuine payment requests are trustworthy. A fraudulent invoice that appears to come from a familiar supplier may also lead to a direct financial loss.

For enterprise organizations, the challenge is often operational complexity. Different departments may introduce new email services without informing the central IT team. A marketing platform, an HR application and a customer relationship management system can all send messages using the same organizational domain.

Organizations managing several systems should establish a documented process for approving new sending services. This is particularly relevant when evaluating enterprise IT and digital infrastructure, where domain ownership, access controls and security responsibilities need to remain clear across departments.

Canadian organizations should also understand that email authentication is not a substitute for privacy and anti-spam compliance. Canada's Anti-Spam Legislation (CASL) establishes requirements for commercial electronic messages, including consent, sender identification and unsubscribe mechanisms where applicable. SPF, DKIM and DMARC do not establish consent or satisfy those legal obligations on their own.

Businesses handling personal information should consider these controls alongside their broader security and privacy responsibilities. HB Technology Solutions has also covered related considerations in its guide to PIPEDA-compliant websites in Canada.

What about Microsoft 365, Google Workspace and third-party email services?

Many businesses assume that subscribing to a reputable email provider automatically protects their entire domain. The provider can supply authentication features, but the domain owner still needs to configure DNS correctly and account for other systems sending email.

For example, Microsoft 365 may provide the SPF include value and DKIM configuration instructions for its service. Google Workspace provides its own DKIM setup process. An external newsletter provider may require a separate sending-domain verification process, sometimes involving additional CNAME or TXT records.

These services should be configured deliberately rather than by copying DNS records from one provider into another.

Website contact forms deserve attention too. A WordPress website may send enquiry notifications using a hosting server, SMTP relay or transactional email service. If the website uses a different sending infrastructure from the company's primary mailbox provider, that source must be reviewed as part of the authentication plan.

For businesses that depend on reliable website enquiries, this work should be considered alongside domain and cloud hosting management and ongoing server monitoring.

It is also useful to maintain an inventory of sending services. The same review can reveal forgotten applications, abandoned marketing integrations and old services that still have permission to send email on the company's behalf.

A practical implementation plan for your business domain

Setting up authentication is not simply a matter of adding three DNS records and assuming the work is complete. The safer approach is to establish what is already sending email, introduce authentication and verify the results before enforcing a strict policy.

Step 1: Identify every domain and subdomain used for email.

Start with the primary business domain, but do not stop there. Review domains used by departments, marketing campaigns, applications and customer notifications. A domain that is no longer used for email may also need explicit protection against unauthorized sending.

Step 2: Build a list of legitimate sending services.

Check Microsoft 365, Google Workspace, website hosting, accounting platforms, CRM software, marketing applications and transactional email services. Ask department owners whether they use any external platforms to send messages using the company's domain.

Step 3: Review existing DNS records.

Inspect the current SPF, DKIM and DMARC configuration. Confirm that there is only one SPF record for each applicable domain and that the published DKIM selectors correspond to active sending services. Check for old or conflicting records before making changes.

Step 4: Configure SPF and DKIM.

Authorize the legitimate sending infrastructure through SPF and enable DKIM signing for each service that supports it. Verify the records against the provider's current instructions. Avoid adding an email service to SPF simply because it is listed in an old configuration document; confirm that it is still authorized and in use.

Step 5: Introduce DMARC monitoring.

Publish a DMARC record with p=none and configure aggregate reporting. Allow enough time to observe normal sending patterns, including periodic invoices, scheduled newsletters and automated notifications. A quiet week may not reveal every legitimate sender.

Step 6: Investigate failures and correct alignment.

Review reports for legitimate messages failing SPF, DKIM or DMARC. Check whether third-party platforms use the correct authenticated domain and whether forwarding or message modification is affecting authentication. Do not automatically classify every unfamiliar sending IP as an attacker.

Step 7: Introduce enforcement gradually.

Once the reports show that legitimate sending services authenticate correctly, move to quarantine and eventually reject. Test important business workflows after each change. Keep records of the DNS configuration and the reason for any exceptions.

Step 8: Continue monitoring.

Email infrastructure changes. A business may replace its CRM, migrate to another hosting provider or introduce a new payroll application. Each change can affect authentication. Include SPF, DKIM and DMARC reviews in regular IT maintenance rather than treating them as a one-time project.

Organizations already reviewing their wider infrastructure can use this business IT infrastructure checklist for Canadian companies as a starting point for identifying related operational and security requirements.

Common email authentication mistakes that create problems

Some configuration errors are easy to overlook because the DNS records may appear correct at first glance.

  • Publishing multiple SPF records: Multiple SPF TXT records for the same domain can cause SPF evaluation errors. Combine authorized mechanisms into one record.

  • Forgetting third-party senders: Marketing services, invoicing systems and website applications may send legitimate messages without being included in the authentication setup.

  • Enforcing DMARC too early: Moving directly to p=reject without identifying all legitimate senders can cause genuine business emails to be rejected.

  • Ignoring DKIM alignment: A valid DKIM signature does not automatically mean that DMARC passes. The signing domain must also align with the visible From domain.

  • Leaving abandoned services authorized: Old platforms can remain in DNS records long after the business stops using them, increasing configuration complexity and creating unnecessary authorization.

  • Assuming DNS changes are immediately visible: DNS caching and TTL settings affect how quickly updated records become visible across different systems.

  • Never reviewing reports: A DMARC record with an aggregate reporting address is useful only when someone or some system actually reviews the information.

Another common misunderstanding is assuming that email authentication encrypts messages. SPF, DKIM and DMARC authenticate aspects of the sender's identity and message integrity. They do not encrypt the email body or attachments. Transport encryption, secure mailboxes, multifactor authentication and access controls remain necessary.

Businesses should consider these protections together with the broader recommendations in 10 cybersecurity practices for Canadian small businesses and an appropriate backup and disaster recovery plan.

Does email authentication improve deliverability?

Yes, it can help, but authentication should not be treated as a guarantee that every message will reach the inbox.

Google introduced sender requirements for messages delivered to personal Gmail accounts beginning February 1, 2024. All senders must implement at least SPF or DKIM, while senders delivering more than 5,000 messages per day to Gmail accounts must configure both SPF and DKIM, publish DMARC and meet additional requirements, including alignment for direct mail. Google's minimum DMARC policy for bulk senders can be p=none.

Yahoo also introduced authentication and other sending requirements, including SPF, DKIM and DMARC for bulk senders. Microsoft announced additional SPF, DKIM and DMARC requirements for high-volume senders targeting consumer Outlook.com addresses in 2025.

These requirements apply according to the receiving provider's rules, not simply where the business operates. A Canadian company emailing customers in the United States or elsewhere still needs to consider the policies of the recipient's email provider.

Authentication is only one part of sender reputation. Spam complaints, sending patterns, list quality, invalid addresses, message content and unsubscribe handling also influence delivery. Marketing emails must be managed responsibly, with appropriate consent and working unsubscribe processes under applicable requirements.

For current technical requirements, consult the official Google email sender guidelines, Yahoo Sender Best Practices and Microsoft's Outlook high-volume sender requirements.

Canadian guidance and technical resources worth keeping

Businesses do not need to develop their email security policies from scratch. The Canadian Centre for Cyber Security has published implementation guidance specifically covering email domain protection.

Its Implementation Guidance: Email Domain Protection (ITSP.40.065) explains how SPF, DKIM and DMARC work, including DNS configuration, third-party email services, message forwarding, reporting and gradual policy enforcement.

The guidance also addresses an often-overlooked area: domains that do not send email. A domain used only for a website, for example, can still be impersonated. The Cyber Centre recommends appropriate protective DNS records for non-mail domains, including an SPF policy that authorizes no senders and a DMARC rejection policy where applicable.

For organizations managing multiple domains, this is worth including in the initial assessment rather than leaving unused domains unprotected.

Protect the domain customers already trust

SPF, DKIM and DMARC are not complicated because they require expensive infrastructure. They become complicated when nobody has a complete picture of where business email originates, which systems are authorized to send it and whether those systems authenticate consistently.

Start by identifying your sending services. Configure SPF and DKIM, introduce DMARC reporting, investigate authentication failures and move towards enforcement only after legitimate email has been verified.

For a small company, that may be a relatively straightforward review of one domain and a handful of email services. For a larger organization, it may require coordination between IT, finance, marketing and external service providers.

HB Technology Solutions Ltd helps Canadian businesses assess their technical infrastructure, domain configuration and ongoing IT security requirements. If your organization needs help reviewing its email authentication setup or planning wider infrastructure improvements, request a free project proposal to discuss your requirements with our team.

🏷️ Tags:#email-security#SPF#DKIM#DMARC#cybersecurity#email-authentication#Canadian-businesses#domain-security
Engineering & Digital Solutions

Build Fast, Scalable Software with Canadian Engineers

Whether you are modernizing existing web infrastructure, designing a custom web application, or expanding local search authority, our Edmonton engineering team builds turnkey solutions backed by strict SLA guarantees.

Request Project Estimate →View All Services
HB Technology Solutions Ecosystem

Explore Our Engineering Services & Industry Solutions

Explore our full suite of web design, custom software engineering, e-commerce, managed IT, and sector-specific architectures.

Service

Web Design & Development

Modern, mobile-first websites engineered for speed, accessibility, and Core Web Vitals. Built for performance and long-term maintainability.

Learn more →
Service

Technical SEO & Performance Audit

Technical SEO architecture, Schema.org structured data, and search engine optimization engineered to capture high-intent organic search traffic.

Learn more →
Service

eCommerce Development

High-converting online stores on Shopify or WooCommerce with secure Canadian payment processing, inventory systems, and performance optimization.

Learn more →
Service

Custom Web Applications

Tailored portals, internal tools, and SaaS platforms designed around your exact workflows using React, Node.js, and cloud-native architecture.

Learn more →
Service

Custom WordPress Development

Custom, lightweight WordPress engineering with modular Gutenberg and ACF Pro blocks — zero bloated themes and sub-second load times.

Learn more →
Service

White Label Web Development

Senior-level white-label web development and maintenance partnership for Canadian digital agencies and marketing firms.

Learn more →
Industry Solution

Government & Public Sector

Secure, accessible, and compliant digital infrastructure for municipalities and public agencies.

Explore solution →
Industry Solution

Enterprise IT Solutions

Scalable cloud architecture, workflow automation, and custom digital platforms for growing enterprises.

Explore solution →
Industry Solution

Non-Profit Organizations

Cost-effective, high-impact digital platforms to amplify your mission, community reach, and donor engagement.

Explore solution →
Industry Solution

Small Businesses

Affordable, high-converting digital storefronts, local SEO strategies, and custom web development for growing businesses.

Explore solution →
Knowledge Base

Related Articles & Engineering Insights

View All Articles →
Website Traffic but No Leads? 10 Conversion Fixes
2026-11-30T03:14:01.831Z

Website Traffic but No Leads? 10 Conversion Fixes

Getting website visitors but few enquiries? Discover 10 practical conversion fixes Canadian service businesses can use to turn more traffic into qualified leads.

How to Charge GST, PST and HST on a Canadian Online Store
2026-11-29T02:01:22.332Z

How to Charge GST, PST and HST on a Canadian Online Store

Selling through Shopify or WooCommerce? Learn which Canadian sales taxes apply, when to register, and how to configure your online store.

How to Choose a Web Development Company in Edmonton
2026-11-29T01:57:50.444Z

How to Choose a Web Development Company in Edmonton

Choosing a developer involves more than comparing quotes. These 12 questions help Edmonton businesses evaluate expertise, ownership, security and long-term costs.