📧
Security

Email spoofing: someone is sending mail in your name, what to do

30.11.2026
← All articles

Email was designed without sender verification. The "From" field is plain text, and any server can fill it with any address, so a scammer can easily send mail as info@misol.uz from their own server. This is email spoofing. Without specific DNS records on your domain, receiving mail services cannot tell such a message from a genuine one.

What it looks like for a clinic

Imagine a private clinic in Tashkent that emails patients from its misol.uz domain. Several patients call about an email from the clinic asking them to "pay to receive test results", complete with logo, signature and a card number. The clinic sent nothing, yet its address is in the "From" field, and bounce messages for unknown recipients start flooding its inbox because the spammer used its name. Nothing was hacked; the domain simply never published which servers may send mail for it. Three DNS records do that: SPF, DKIM and DMARC.

SPF: who may send

SPF is a TXT record listing the servers allowed to send mail for the domain:

misol.uz.  IN  TXT  "v=spf1 mx a ip4:203.0.113.10 -all"

Keep exactly one SPF record per domain, stay under the limit of 10 DNS lookups when adding include mechanisms, and remember third-party senders such as a newsletter service or CRM.

DKIM: a signature on every message

DKIM signs outgoing mail with a private key on your mail server; the public key is published in DNS under a selector:

default._domainkey.misol.uz.  IN  TXT  "v=DKIM1; k=rsa; p=MIIBIjANBgkq...QIDAQAB"

The receiving server verifies the signature with the public key, which proves the message was not altered in transit and really left your server. Your mail server generates the key. With sayt.uz corporate email, you can get the DKIM key and required records from the cabinet or through support.

DMARC: what to do with failures

DMARC tells receivers how to treat mail that fails checks and asks them to send you reports. It also requires the "From" domain to align with the domain verified by SPF or DKIM.

_dmarc.misol.uz.  IN  TXT  "v=DMARC1; p=none; rua=mailto:dmarc@misol.uz"

Start with p=none and read the daily XML reports. They often reveal a forgotten sender, such as a website form or accounting software, that must be added to SPF. Once all legitimate mail passes, move to p=quarantine and then p=reject.

Verify the setup

dig +short TXT misol.uz
dig +short TXT default._domainkey.misol.uz
dig +short TXT _dmarc.misol.uz

Then send a message to an external mailbox and view the original ("Show original" in Gmail). The Authentication-Results header should show dkim=pass, spf=pass and dmarc=pass. A forged message will show spf=fail or dmarc=fail there.

What these records do not stop

DMARC protects only your exact domain. Lookalike domains like misol-uz.com, or messages that show "Misol Clinic" as a display name while using another domain's address, are not blocked. If a mailbox password is stolen, the attacker sends through your real server and passes every check. So use strong mailbox passwords, delete accounts of departed staff and tell customers you never request card details or urgent payments by email. When someone reports a forged message, ask for the full headers: the Received lines and authentication results show where it came from.

A short plan

  1. List every source that sends mail for your domain.
  2. Create one SPF record covering them.
  3. Publish the DKIM key from your mail service.
  4. Add DMARC with p=none and watch the reports.
  5. Move to quarantine, then reject.

You can manage DNS records on the domain page in the sayt.uz cabinet and confirm the result with the dig commands above.

Related articles

🔐 Security when granting permissions to AI agents 🛡️ L7 DDoS: Protecting Your Site from Bot Requests 🎭 Deepfake fraud: the fake call from your CEO 💳 Verifying Click and Payme payment callbacks with signatures
🌐 Language
🇺🇿 O⁠'zbek 🇺🇿 Özbek (yangi) 🇺🇿 Ўзбек 🇷🇺 Русский 🇬🇧 English ✓