DNS Setup allows sending mail on behalf of other customers
The SPF record for hey.com authorised helpscoutemail.com to send email on its behalf. Because hey.com recycled email addresses after 30 days, an attacker could create a trial account with a target address, verify it in Help Scout, cancel the hey.com account, wait for the address to be recycled, and then send email as that address from Help Scout.
Originally disclosed on HackerOne
- Triaged in 2 hours
- Fixed in 4 months
- Paid in 3 hours
- Disclosed after 5 months
Sent on your behalf
I knew basecamp themselves had used helpscout for support, so I was curious to see if hey was doing the same. A quick DNS lookup gave me the answer I was looking for:
dig hey.com txt
; <<>> DiG 9.10.6 <<>> hey.com txt
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48297
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;hey.com. IN TXT
;; ANSWER SECTION:
hey.com. 60 IN TXT "cyssd1dn8z15bmffrprj1hzycw436gzh"
hey.com. 60 IN TXT "google-site-verification=k7w8RY2bLljThqEsIGQOoQlclHp19HawwdiHTq2nJpw"
hey.com. 60 IN TXT "google-site-verification=VH8KKQzQ7gWsKxSsibqBexLteqs254PwGFS37Hf22MQ"
hey.com. 60 IN TXT "v=spf1 include:_spf.hey.com include:helpscoutemail.com -all"
;; Query time: 39 msec
;; SERVER: 192.168.42.1#53(192.168.42.1)
;; WHEN: Fri Jun 26 17:20:34 PDT 2020
;; MSG SIZE rcvd: 315
Ok. That's interesting. helpscoutemail.com has permissions to send email on behalf of hey.com. For completeness let's look at helpscoutmail.com spf records:
dig helpscoutemail.com txt
; <<>> DiG 9.10.6 <<>> helpscoutemail.com txt
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47004
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;helpscoutemail.com. IN TXT
;; ANSWER SECTION:
helpscoutemail.com. 300 IN TXT "v=spf1 ip4:54.173.229.38 ip4:52.0.20.102 ip4:54.174.116.32 ip4:52.2.238.96 ip4:52.20.146.34 ip4:34.198.122.65 ~all"
;; Query time: 42 msec
;; SERVER: 192.168.42.1#53(192.168.42.1)
;; WHEN: Fri Jun 26 17:32:45 PDT 2020
;; MSG SIZE rcvd: 174
How can we exploit this?
First, let's go ahead and create an account over at helpscout. It can be anything. Let's setup an inbox. Again, it can be anything, doesn't really matter. What does matter is that we setup a custom address for the inbox. Of course, helpscout makes sure we have access to the email address we're acting as.
So let's go ahead and setup an email as [email protected]. First, we sign up for a trial on hey.com with that email. All good. Now, let's enter that into helpscout. Once we get the verification email in hey, we enter the verification in helpscout. But... generally there is another step. Helpscout needs to have permission to send on our behalf. How do they do that? With DNS records for SPF, DKIM and DMARC. But... hey.com has already done that as they themselves are helpscout customers.
Now here is where the trouble comes in. hey.com has a recycle policy. If you create a trial but never pay, or as for a refund, then after 30 days the email address becomes available again. So let's go ahead and cancel our [email protected] account (in hey, not in sendgrid). Now we wait 30 days. Now, DHH realizes he needs an address for his racing. So he goes to hey.com and creates an account under [email protected]. And what do you know, it's available!
But now, not only can DHH send email from [email protected], but SO CAN I. From my helpscout account. Of course, I won't receive mail from that account, but I could always just send out mail and CC another address that I own and hope for a reply-all. But really, the options for scamming are limitless.
I've suggested a few options to hey.com:
- Don't use the primary domain on helpscout. Setup heysupport.com or something similar.
- Don't ever recycle accounts. I can only ever see this causing issues.
- Get helpscout to treat hey.com as a mail provider and don't allow sending from their domain.
Impact
An attacker could spoof any hey.com email address that they had originally created an address for (and had been recycled). This could allow them to appear to be a high-profile individual or company. By CCing an address that they currently own they could receive replies from the correspondence as well.
Context
Basecamp runs Hey, a hosted email service on hey.com. Like many companies, Hey outsources part of its customer support tooling. The report starts from the observation that Basecamp itself had used Help Scout for support, and asks whether Hey does the same. The answer is visible in public DNS: Hey's SPF record authorises Help Scout's sending infrastructure to send mail on behalf of hey.com.
That authorisation is the feature under examination. When a company uses Help Scout, Help Scout needs to send email that appears to come from the company's own domain, so the company publishes SPF, DKIM and DMARC records that delegate that permission. The report's argument is that this delegation, combined with Hey's recycling of email addresses, lets a third party send mail as an address it no longer controls.
Setup
The researcher needed:
- A Help Scout account, on a trial, with an inbox configured to use a custom address.
- A Hey account created with the address that would later be used as the custom address in Help Scout, so that the verification email could be received and the address confirmed.
- Patience: the recycling window described in the report is 30 days.
No special tooling is required beyond dig and the two web sign-ups. The report does not give versions for Help Scout or Hey.
Finding it
The first step was a TXT lookup on hey.com:
dig hey.com txt
; <<>> DiG 9.10.6 <<>> hey.com txt
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48297
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;hey.com. IN TXT
;; ANSWER SECTION:
hey.com. 60 IN TXT "[redacted]"
hey.com. 60 IN TXT "google-site-verification=[redacted]"
hey.com. 60 IN TXT "google-site-verification=[redacted]"
hey.com. 60 IN TXT "v=spf1 include:_spf.hey.com include:helpscoutemail.com -all"
;; Query time: 39 msec
;; SERVER: [redacted]#53([redacted])
;; WHEN: Fri Jun 26 17:20:34 PDT 2020
;; MSG SIZE rcvd: 315
The relevant line is the SPF record: v=spf1 include:_spf.hey.com include:helpscoutemail.com -all. The include:helpscoutemail.com mechanism means that any host listed in Help Scout's own SPF record is permitted to send mail for hey.com, and the trailing -all tells receivers to reject everything else. In other words, Help Scout's sending infrastructure is an authorised sender for the whole of hey.com.
For completeness the researcher then resolved Help Scout's own record:
dig helpscoutemail.com txt
; <<>> DiG 9.10.6 <<>> helpscoutemail.com txt
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47004
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;helpscoutemail.com. IN TXT
;; ANSWER SECTION:
helpscoutemail.com. 300 IN TXT "v=spf1 ip4:[redacted] ip4:[redacted] ip4:[redacted] ip4:[redacted] ip4:[redacted] ip4:[redacted] ~all"
;; Query time: 42 msec
;; SERVER: [redacted]#53([redacted])
;; WHEN: Fri Jun 26 17:32:45 PDT 2020
;; MSG SIZE rcvd: 174
This record lists the specific IPv4 addresses that Help Scout sends from, ending in ~all (soft fail for anything else). Because hey.com includes this record, those addresses are authorised for hey.com too.
On its own this is normal, intended delegation. The problem appears when it is combined with how Hey handles address reuse.
Exploitation
Step 1: create a Help Scout account and inbox
Sign up for a Help Scout trial, create an inbox, and configure a custom address for it. Help Scout verifies that the person configuring the inbox controls the address, so the address must be one the attacker can actually receive mail at, at least temporarily.
Step 2: register the target address at Hey
The example address used in the report is [redacted]. The researcher signs up for a Hey trial using that address, receives the verification email, and enters the verification code into Help Scout. The custom address is now confirmed in Help Scout.
Step 3: rely on Hey's existing DNS delegation
Normally, after verifying the address, Help Scout would still need the domain owner to publish SPF, DKIM and DMARC records authorising Help Scout to send on its behalf. Here that step is already done: hey.com is itself a Help Scout customer, so the records exist for the whole domain. Nothing further is needed from the attacker.
Step 4: let the Hey account lapse
Hey has a recycling policy. If a trial is created and never paid for, or a refund is requested, the email address becomes available again after 30 days. The researcher cancels the [redacted] account in Hey (not in Help Scout) and waits.
Step 5: the address is re-registered by someone else
After the 30 days, the address is free. In the report's narrative, DHH goes to hey.com, creates an account under [redacted], and finds it available. The address now belongs to a new, legitimate owner.
Step 6: send as the new owner
The attacker's Help Scout inbox still has [redacted] configured as a verified custom address, and Help Scout's infrastructure is still authorised by hey.com's SPF record. The attacker can therefore send mail that appears to come from [redacted], even though the address now belongs to someone else. The attacker will not receive mail sent to that address, but can CC an address they do own and hope for a reply-all, or simply send outbound mail under the borrowed identity.
Root cause
The design flaw is the combination of two individually reasonable decisions:
- Domain-wide delegation to a third-party sender.
hey.com's SPF record authorises Help Scout's sending IPs for the entire domain, not for individual addresses. Any address in the domain that Help Scout is willing to send from inherits that authorisation. - Address recycling. Hey releases addresses after a trial lapses or a refund is issued, and makes them available to new sign-ups. The custom address was verified in Help Scout while the researcher held it at Hey.
Neither defence catches the other's gap. SPF only asks whether the sending IP is authorised for the domain, which it is. Help Scout's verification only asks whether the person configuring the inbox could receive mail at the address at that moment, which they could. The delegation covers the whole domain, and the address changed hands after verification.
Impact
An attacker can spoof any hey.com address for which they had originally created an account and which has since been recycled. The report notes that Hey had already published SPF, DKIM and DMARC records for Help Scout, since Hey is itself a Help Scout customer. The attacker can appear to be a high-profile individual or company, and by CCing an address they own they can receive replies to the correspondence. The report describes the options for scamming as limitless.
The conditions are specific: the attacker must have held the address at Hey at some point, must have configured it as a verified custom address in Help Scout, and the address must have been recycled and re-registered by someone else. The attacker does not receive inbound mail at the address itself.
Fix
The researcher suggested three options to Hey:
- Do not use the primary domain on Help Scout. Set up a separate domain such as
heysupport.comfor support mail instead. - Do not recycle accounts at all, since the researcher could only see this causing issues.
- Ask Help Scout to treat
hey.comas a mail provider and refuse to allow sending from that domain.
The report does not say which of these, if any, was implemented.
Variants to test
- Check SPF includes for support and ticketing vendors. Run a TXT lookup on the target's primary domain and look for
include:mechanisms pointing at third-party senders. A positive result is an include for a vendor that lets customers configure arbitrary addresses on the domain. - Test address recycling on the mail provider. Create a trial account, let it lapse or request a refund, and see whether the address becomes available again after the stated window. A positive result is being able to re-register the same address, or observing someone else do so.
- Test whether the vendor re-verifies custom addresses. After configuring a custom address in the vendor, release the address at the mail provider and re-register it under a different account. A positive result is that the vendor still sends from the address without a new verification challenge.
- Check DKIM and DMARC alignment. A positive result for the attacker is a message that passes DMARC with the target domain in the From header.
- Look for the same pattern on other shared-domain services. Any provider that delegates a whole domain to a third party and also recycles identifiers (addresses, subdomains, usernames) is a candidate. A positive result is being able to send authenticated mail as an identifier that now belongs to someone else.
What happened, in plain words
Hey is an email service run by Basecamp, and it lives on the domain hey.com. Like most companies, Hey does not build every tool it uses itself. For customer support it used a product called Help Scout, which is a shared inbox that support teams use to answer emails from customers.
When a company uses Help Scout, Help Scout has to send email that looks like it comes from the company's own address, for example [redacted]. To make that possible, the company publishes a few public records in the internet's address book, the Domain Name System (DNS), which say "yes, Help Scout is allowed to send mail for us". These records are called SPF, DKIM and DMARC. You can think of them as a signed permission slip that the whole internet can read.
The researcher noticed that Hey had given Help Scout exactly that permission for the whole of hey.com. On its own that is normal and intended. The problem is what happens when you combine it with another Hey feature: Hey recycles email addresses. If someone signs up for a free trial and never pays, or asks for a refund, the address is released and can be claimed again by somebody else after 30 days.
Put those two things together and you get a gap. An attacker can:
- Claim an address at Hey, for example
[redacted]. - Register that same address as a "custom address" in their own Help Scout account, proving they can receive mail there at that moment.
- Cancel the Hey account and wait 30 days.
- Watch the address get claimed by a new, legitimate owner.
- Keep sending mail from Help Scout that appears to come from that address, because Help Scout never checks again who owns it, and
hey.com's DNS still says Help Scout may send for the whole domain.
The attacker cannot read mail sent to the address, but they can send mail that looks like it comes from a real person or company, and they can copy (CC) an address they do own to catch any replies.
This article walks through the same steps the researcher took, explaining each concept from scratch along the way.
Background: the pieces involved
Before the steps, here are the moving parts, explained as if you have never seen them.
DNS (Domain Name System). The internet's public phone book. When you type hey.com into a browser, DNS translates that name into the numeric address of a server. DNS also stores other kinds of records, not just addresses. One kind is called a TXT record, which holds free-form text. Companies use TXT records to publish statements about their email, among other things.
SPF (Sender Policy Framework). A TXT record that lists which servers are allowed to send email for a domain. When a mail server receives a message claiming to be from hey.com, it looks up the SPF record and checks whether the sending server is on the list. If it is, the message passes SPF. If not, the record usually says to reject it.
DKIM and DMARC. Two more email records that work alongside SPF. DKIM adds a cryptographic signature to a message so the receiver can confirm it was not altered. DMARC tells receivers what to do when SPF or DKIM fail, and ties the result to the visible From address. The report says Hey had already published SPF, DKIM and DMARC records for Help Scout, but the walkthrough focuses on SPF.
Help Scout. A customer support tool. A company signs up, creates an "inbox", and can configure a custom address (such as [redacted]) so that replies to customers appear to come from the company's own domain rather than from Help Scout's domain. Help Scout verifies that the person configuring the inbox can actually receive mail at that address, by sending a verification email.
dig. A small command-line program that asks DNS a question and prints the answer. You run it in a terminal. It is the tool the researcher used to read the public records.
Address recycling. Hey's policy of releasing an email address back into the pool after a trial lapses or a refund is issued. After 30 days the address can be claimed by anyone, including a different person.
Setting up
The researcher needed three things:
- A Help Scout account, on a trial, with an inbox configured to use a custom address.
- A Hey account created with the address that would later be used as the custom address in Help Scout, so that the verification email could be received and the address confirmed.
- Patience: the recycling window described in the report is 30 days.
No special tooling is required beyond dig and the two web sign-ups. The report does not give versions for Help Scout or Hey.
Finding it
The first step was a TXT lookup on hey.com. The researcher already knew Basecamp had used Help Scout for support, and wanted to see whether Hey did the same. A single DNS query answers that question, because the answer is public.
dig hey.com txt
; <<>> DiG 9.10.6 <<>> hey.com txt
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48297
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;hey.com. IN TXT
;; ANSWER SECTION:
hey.com. 60 IN TXT "[redacted]"
hey.com. 60 IN TXT "google-site-verification=[redacted]"
hey.com. 60 IN TXT "google-site-verification=[redacted]"
hey.com. 60 IN TXT "v=spf1 include:_spf.hey.com include:helpscoutemail.com -all"
;; Query time: 39 msec
;; SERVER: [redacted]#53([redacted])
;; WHEN: Fri Jun 26 17:20:34 PDT 2020
;; MSG SIZE rcvd: 315
Line by line, in plain words:
dig hey.com txtis the question: "give me the TXT records forhey.com".- The
; <<>> DiG 9.10.6 <<>> hey.com txtline isdigrepeating the question back, so you can see what it asked. status: NOERRORmeans the lookup succeeded.id: 48297is just a number the tool uses to match the reply to the question.- The
QUESTION SECTIONrepeats the query:hey.com. IN TXT. - The
ANSWER SECTIONis the interesting part. It lists four TXT records. Two are Google site verifications (proof to Google that the domain owner controls the domain). One is a random-looking string. The fourth is the SPF record. 60is the time-to-live in seconds: how long a resolver may cache the answer before asking again.- The
SERVERline shows which DNS server answered, andWHENshows the date and time.
The relevant line is the SPF record: v=spf1 include:_spf.hey.com include:helpscoutemail.com -all. The include:helpscoutemail.com mechanism means that any host listed in Help Scout's own SPF record is permitted to send mail for hey.com, and the trailing -all tells receivers to reject everything else. In other words, Help Scout's sending infrastructure is an authorised sender for the whole of hey.com.
For completeness the researcher then resolved Help Scout's own record, to see which servers those are:
dig helpscoutemail.com txt
; <<>> DiG 9.10.6 <<>> helpscoutemail.com txt
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47004
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;helpscoutemail.com. IN TXT
;; ANSWER SECTION:
helpscoutemail.com. 300 IN TXT "v=spf1 ip4:[redacted] ip4:[redacted] ip4:[redacted] ip4:[redacted] ip4:[redacted] ip4:[redacted] ~all"
;; Query time: 42 msec
;; SERVER: [redacted]#53([redacted])
;; WHEN: Fri Jun 26 17:32:45 PDT 2020
;; MSG SIZE rcvd: 174
Again, line by line:
dig helpscoutemail.com txtasks for the TXT records of Help Scout's sending domain.- The
ANSWER SECTIONhas one record. It starts withv=spf1, so it is an SPF record. - Each
ip4:entry is a specific numeric server address that Help Scout sends mail from. - The record ends in
~all(soft fail for anything else), rather than-all(hard fail).
This record lists the specific IPv4 addresses that Help Scout sends from, ending in ~all (soft fail for anything else). Because hey.com includes this record, those addresses are authorised for hey.com too.
On its own this is normal, intended delegation. The problem appears when it is combined with how Hey handles address reuse.
Exploitation
Step 1: create a Help Scout account and inbox
Sign up for a Help Scout trial, create an inbox, and configure a custom address for it. Help Scout verifies that the person configuring the inbox controls the address, so the address must be one the attacker can actually receive mail at, at least temporarily. This is a sensible check: it stops anyone from claiming [redacted] without proof. The gap is that the check happens once, at configuration time.
Step 2: register the target address at Hey
The example address used in the report is [redacted]. The researcher signs up for a Hey trial using that address, receives the verification email, and enters the verification code into Help Scout. The custom address is now confirmed in Help Scout.
Step 3: rely on Hey's existing DNS delegation
Normally, after verifying the address, Help Scout would still need the domain owner to publish SPF, DKIM and DMARC records authorising Help Scout to send on its behalf. Here that step is already done: hey.com is itself a Help Scout customer, so the records exist for the whole domain. Nothing further is needed from the attacker. This is the first half of the flaw: the permission is granted to Help Scout for the entire domain, not for individual addresses.
Step 4: let the Hey account lapse
Hey has a recycling policy. If a trial is created and never paid for, or a refund is requested, the email address becomes available again after 30 days. The researcher cancels the [redacted] account in Hey (not in Help Scout) and waits. The Help Scout configuration is untouched: as far as Help Scout knows, the address is still verified.
Step 5: the address is re-registered by someone else
After the 30 days, the address is free. In the report's narrative, DHH goes to hey.com, creates an account under [redacted], and finds it available. The address now belongs to a new, legitimate owner. This is the second half of the flaw: the address changed hands, but nothing told Help Scout.
Step 6: send as the new owner
The attacker's Help Scout inbox still has [redacted] configured as a verified custom address, and Help Scout's infrastructure is still authorised by hey.com's SPF record. The attacker can therefore send mail that appears to come from [redacted], even though the address now belongs to someone else. The attacker will not receive mail sent to that address, but can CC an address they do own and hope for a reply-all, or simply send outbound mail under the borrowed identity.
Root cause
The design flaw is the combination of two individually reasonable decisions:
- Domain-wide delegation to a third-party sender.
hey.com's SPF record authorises Help Scout's sending IPs for the entire domain, not for individual addresses. Any address in the domain that Help Scout is willing to send from inherits that authorisation. - Address recycling. Hey releases addresses after a trial lapses or a refund is issued, and makes them available to new sign-ups. The custom address was verified in Help Scout while the researcher held it at Hey.
Neither defence catches the other's gap. SPF only asks whether the sending IP is authorised for the domain, which it is. Help Scout's verification only asks whether the person configuring the inbox could receive mail at the address at that moment, which they could. The delegation covers the whole domain, and the address changed hands after verification.
Impact
An attacker can spoof any hey.com address for which they had originally created an account and which has since been recycled. The report notes that Hey had already published SPF, DKIM and DMARC records for Help Scout, since Hey is itself a Help Scout customer. The attacker can appear to be a high-profile individual or company, and by CCing an address they own they can receive replies to the correspondence. The report describes the options for scamming as limitless.
The conditions are specific: the attacker must have held the address at Hey at some point, must have configured it as a verified custom address in Help Scout, and the address must have been recycled and re-registered by someone else. The attacker does not receive inbound mail at the address itself.
Fix
The researcher suggested three options to Hey:
- Do not use the primary domain on Help Scout. Set up a separate domain such as
heysupport.comfor support mail instead. - Do not recycle accounts at all, since the researcher could only see this causing issues.
- Ask Help Scout to treat
hey.comas a mail provider and refuse to allow sending from that domain.
The report does not say which of these, if any, was implemented.
Variants to test
Each one is a small experiment you can run yourself.
- Check SPF includes for support and ticketing vendors. Run a TXT lookup on the target's primary domain and look for
include:mechanisms pointing at third-party senders. A positive result is an include for a vendor that lets customers configure arbitrary addresses on the domain. - Test address recycling on the mail provider. Create a trial account, let it lapse or request a refund, and see whether the address becomes available again after the stated window. A positive result is being able to re-register the same address, or observing someone else do so.
- Test whether the vendor re-verifies custom addresses. After configuring a custom address in the vendor, release the address at the mail provider and re-register it under a different account. A positive result is that the vendor still sends from the address without a new verification challenge.
- Check DKIM and DMARC alignment. A positive result for the attacker is a message that passes DMARC with the target domain in the From header.
- Look for the same pattern on other shared-domain services. Any provider that delegates a whole domain to a third party and also recycles identifiers (addresses, subdomains, usernames) is a candidate. A positive result is being able to send authenticated mail as an identifier that now belongs to someone else.
Glossary
- DNS (Domain Name System): the internet's public directory that turns names like
hey.cominto server addresses and stores other records, including TXT records. - TXT record: a DNS record that holds free-form text. Companies use it to publish statements about their email and to prove domain ownership to services like Google.
- SPF (Sender Policy Framework): a TXT record listing which servers may send email for a domain, so receivers can reject mail from anyone else.
- SPF
include:: a mechanism inside an SPF record that says "also trust whatever the named domain's SPF record lists". - SPF
-all: the instruction to reject mail from any server not on the list. - SPF
~all: the instruction to mark mail from any server not on the list as a soft fail (suspicious but not outright rejected). - DKIM: an email record and signature scheme that lets a receiver confirm a message was not altered in transit.
- DMARC: an email policy record that tells receivers what to do when SPF or DKIM fail, and ties the result to the visible From address.
dig: a command-line program that asks DNS a question and prints the answer.- TXT lookup: a DNS query for the TXT records of a name.
- Help Scout: a customer support tool with shared inboxes, which can send mail on behalf of a company's own domain after verifying a custom address.
- Custom address: an email address on the customer's own domain that a support tool is configured to send from.
- Verification email: a message sent to an address to prove the person configuring it can receive mail there.
- Address recycling: releasing an email address back into the pool after a trial lapses or a refund is issued, so it can be claimed by someone else.
- Spoofing: sending mail that appears to come from an address you do not own.
- CC: a copy of an email sent to an additional address, visible to all recipients.
- Reply-all: replying to every recipient of a message, including the CC list.
- IPv4 address: a numeric address identifying a server on the internet, written as four numbers separated by dots.
- From header: the visible field in an email that says who it is from.
- Soft fail: an SPF result meaning the sender is not authorised but the receiver should treat the message as suspicious rather than reject it outright.
- Hard fail: an SPF result meaning the sender is not authorised and the message should be rejected.