<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Moazzam Boota</title>
    <description>The latest articles on DEV Community by Moazzam Boota (@mozzam).</description>
    <link>https://dev.to/mozzam</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4274545%2F69bd0d0c-44ee-4b11-be33-6a9886f16920.png</url>
      <title>DEV Community: Moazzam Boota</title>
      <link>https://dev.to/mozzam</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mozzam"/>
    <language>en</language>
    <item>
      <title>Cold Email Infrastructure, Explained for Developers</title>
      <dc:creator>Moazzam Boota</dc:creator>
      <pubDate>Mon, 30 Nov 2026 15:10:48 +0000</pubDate>
      <link>https://dev.to/mozzam/cold-email-infrastructure-explained-for-developers-4d08</link>
      <guid>https://dev.to/mozzam/cold-email-infrastructure-explained-for-developers-4d08</guid>
      <description>&lt;p&gt;Most cold email guides are written for salespeople. This one is written for developers, because the part that decides whether a cold email lands in the inbox or in spam is not the copy — it is infrastructure: DNS records, authentication, domain strategy and sending behaviour.&lt;br&gt;
I work on this problem every day at &lt;a href="https://litemail.ai/" rel="noopener noreferrer"&gt;LiteMail&lt;/a&gt;, where we set up sending infrastructure for outbound teams. This post is the full technical picture, with real records you can copy and commands you can run.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;TL;DR&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Never send cold email from your main domain. Buy lookalike domains and send from those.&lt;br&gt;
Every sending domain needs three DNS records set correctly: SPF, DKIM and DMARC. Missing or misaligned authentication is the single most common technical reason mail lands in spam.&lt;br&gt;
Send 20–30 emails per inbox per day, spread across many inboxes, instead of hundreds from one.&lt;br&gt;
Warm up new inboxes for 2–4 weeks before any campaign traffic.&lt;br&gt;
Keep bounce rate under 2% and spam complaints under 0.1% — Google's sender rules treat 0.3% complaints as the hard ceiling, and you want to stay far below it.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Table of contents&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Why your main domain is off-limits&lt;br&gt;
The three records: SPF, DKIM, DMARC&lt;br&gt;
How to verify your setup in the terminal&lt;br&gt;
Sending limits: the math nobody shows you&lt;br&gt;
Warm-up: what it actually does&lt;br&gt;
The two numbers that get domains killed&lt;br&gt;
A pre-send checklist&lt;br&gt;
FAQ&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Why your main domain is off-limits&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Your root domain (yourcompany.com) carries your website, your product email, your password resets and your reputation with every mailbox provider. Cold outreach always generates some bounces and some spam complaints, no matter how good the list is. If that damage lands on your root domain, it lands on everything.&lt;br&gt;
So the standard setup is:&lt;br&gt;
Buy 2–5 lookalike domains (e.g. getyourcompany.com, tryyourcompany.com, yourcompanyhq.com).&lt;br&gt;
Redirect each one to your main website, so a curious prospect lands somewhere real.&lt;br&gt;
Create inboxes only on those domains: &lt;a href="mailto:alex@getyourcompany.com"&gt;alex@getyourcompany.com&lt;/a&gt;, &lt;a href="mailto:alex.s@getyourcompany.com"&gt;alex.s@getyourcompany.com&lt;/a&gt;, and so on.&lt;br&gt;
Send cold email only from those inboxes. Your root domain never sends a single cold message.&lt;br&gt;
If a lookalike domain's reputation dies, you retire it and rotate in a new one. Your root domain never notices.&lt;br&gt;
&lt;strong&gt;The three records: SPF, DKIM, DMARC&lt;/strong&gt;&lt;br&gt;
Authentication is how a receiving server answers one question: "Is this server actually allowed to send mail as this domain, and did anyone tamper with the message?" Since February 2024, Google and Yahoo require all three records for bulk senders — and in practice, for anyone who wants reliable inbox placement.&lt;br&gt;
SPF — who may send&lt;br&gt;
SPF is a DNS TXT record listing the servers allowed to send for your domain. For a Google Workspace sending domain it looks like this:&lt;br&gt;
Host: @&lt;br&gt;
Type: TXT&lt;br&gt;
Value: v=spf1 include:_spf.google.com ~all&lt;br&gt;
For Microsoft 365:&lt;br&gt;
Host: @&lt;br&gt;
Type: TXT&lt;br&gt;
Value: v=spf1 include:spf.protection.outlook.com ~all&lt;br&gt;
Rules that trip people up:&lt;br&gt;
One SPF record per domain. Two TXT records starting with v=spf1 invalidates both. Merge senders into one record with multiple include: mechanisms.&lt;br&gt;
10 DNS lookup limit. Every include:, a, mx and redirect counts. Exceed 10 and SPF fails permanently (PermError).&lt;br&gt;
End with ~all (soft fail) while testing; move to -all (hard fail) once you are sure every legitimate sender is included.&lt;br&gt;
DKIM — proof the message was not altered&lt;br&gt;
DKIM signs outgoing mail with a private key; the public key lives in DNS, and the receiver verifies the signature. For Google Workspace, you generate the key in the Admin Console (Apps → Google Workspace → Gmail → Authenticate email) and publish it as:&lt;br&gt;
Host: google._domainkey&lt;br&gt;
Type: TXT&lt;br&gt;
Value: v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A... (your key)&lt;br&gt;
Two details that matter:&lt;br&gt;
Use a 2048-bit key. Google offers it as an option; the 1024-bit default is weaker and increasingly flagged.&lt;br&gt;
DKIM only helps if it is aligned — the domain in the signature (d=) must match the From domain. Third-party tools sending "on your behalf" with their own signature do not count.&lt;br&gt;
DMARC — what to do when the first two fail&lt;br&gt;
DMARC ties SPF and DKIM together and tells receivers what to do with mail that fails. Publish it at _dmarc:&lt;br&gt;
Host: _dmarc&lt;br&gt;
Type: TXT&lt;br&gt;
Value: v=DMARC1; p=none; rua=mailto:&lt;a href="mailto:dmarc@getyourcompany.com"&gt;dmarc@getyourcompany.com&lt;/a&gt;&lt;br&gt;
Do not jump straight to p=reject. Roll it out in stages:&lt;br&gt;
p=none — monitor only. Collect the aggregate reports (rua) for 1–2 weeks and confirm every legitimate sender passes.&lt;br&gt;
p=quarantine — failing mail goes to spam.&lt;br&gt;
p=reject — failing mail is refused outright. This is the end state you want on every sending domain.&lt;br&gt;
The rua reports are XML files mailed to you daily by receivers. They are tedious to read by hand, but they are the only ground truth about who is sending as your domain — including people who should not be.&lt;br&gt;
How to verify your setup in the terminal&lt;br&gt;
Do not trust a green tick in a dashboard. Ask DNS directly:&lt;/p&gt;

&lt;h1&gt;
  
  
  SPF
&lt;/h1&gt;

&lt;p&gt;dig TXT getyourcompany.com +short&lt;/p&gt;

&lt;h1&gt;
  
  
  DKIM (Google Workspace selector)
&lt;/h1&gt;

&lt;p&gt;dig TXT google._domainkey.getyourcompany.com +short&lt;/p&gt;

&lt;h1&gt;
  
  
  DMARC
&lt;/h1&gt;

&lt;p&gt;dig TXT _dmarc.getyourcompany.com +short&lt;br&gt;
Then send a test message to a seed inbox and inspect the full headers. You are looking for one line:&lt;br&gt;
Authentication-Results: spf=pass dkim=pass dmarc=pass&lt;br&gt;
All three passing, with domains aligned to your From domain, is the actual definition of "set up correctly". Anything else is a bug to fix before you send volume. (If you want the full pre-send routine, we keep a longer email deliverability checklist that covers this plus list hygiene and content checks.)&lt;/p&gt;

&lt;h2&gt;
  
  
  Sending limits: the math nobody shows you
&lt;/h2&gt;

&lt;p&gt;Mailbox providers do not publish a "cold email limit", but deliverability data is consistent: a single inbox that suddenly sends hundreds of cold emails a day gets restricted or burned. The working ceiling used across the industry is 20–30 cold emails per inbox per day, plus warm-up traffic.&lt;br&gt;
That makes scaling a multiplication problem, not a settings problem:&lt;br&gt;
Daily volume goal&lt;br&gt;
Inboxes needed (at 25/day)&lt;br&gt;
Domains needed (at 3 inboxes/domain)&lt;br&gt;
250 emails/day&lt;br&gt;
10&lt;br&gt;
3–4&lt;br&gt;
1,000 emails/day&lt;br&gt;
40&lt;br&gt;
13–14&lt;br&gt;
2,500 emails/day&lt;br&gt;
100&lt;br&gt;
33–34&lt;br&gt;
Two rules baked into that table:&lt;br&gt;
Max ~3 inboxes per domain. More than that and one domain's reputation problem takes too many inboxes down with it.&lt;br&gt;
Volume grows by adding inboxes and domains, never by raising the per-inbox cap. The cap is the safety mechanism.&lt;/p&gt;

&lt;h2&gt;
  
  
  Warm-up: what it actually does
&lt;/h2&gt;

&lt;p&gt;A brand-new inbox has no sending history, which to a receiving server looks exactly like a freshly created spam account. Warm-up fixes that by exchanging a slow ramp of ordinary-looking mail — opens, replies, "move to inbox" actions — with a network of real inboxes over 2–4 weeks, so the account builds a normal reputation before campaign traffic starts.&lt;br&gt;
What warm-up is not:&lt;br&gt;
It does not fix bad authentication.&lt;a href="https://litemail.ai/blog/spf-dkim-dmarc-setup-guide-cold-email-2026" rel="noopener noreferrer"&gt; SPF/DKIM/DMARC&lt;/a&gt; come first.&lt;br&gt;
It does not make a bad list safe. Bounces and complaints during warm-up burn the inbox faster, not slower.&lt;br&gt;
It does not end when campaigns start. Most teams keep a low level of warm-up running alongside sending, so reputation is continuously maintained.&lt;br&gt;
&lt;a href="https://litemail.ai/pre-warmup" rel="noopener noreferrer"&gt;Pre-warmed inboxes&lt;/a&gt; (accounts a provider has already aged and warmed) skip the waiting period, which is why they exist as a product category — but the records, limits and monitoring above apply to them exactly the same way.&lt;/p&gt;

&lt;h2&gt;
  
  
  The two numbers that get domains killed
&lt;/h2&gt;

&lt;p&gt;Bounce rate — keep under 2%. Bounces mean you are mailing addresses that do not exist, which means your list was never verified. Verify every list before sending, and remove hard bounces immediately and permanently.&lt;br&gt;
Spam complaint rate — keep under 0.1%. Google's sender guidelines set 0.3% as the ceiling where enforcement starts, but by the time you are near it, placement has already collapsed. Complaints come from relevance, not infrastructure — no DNS record fixes an email people did not want. Target under 0.1% and treat 0.3% as the cliff edge, not the goal.&lt;/p&gt;

&lt;h2&gt;
  
  
  A pre-send checklist
&lt;/h2&gt;

&lt;p&gt;Before any campaign leaves a new domain:&lt;br&gt;
Sending from a lookalike domain, not the root domain&lt;br&gt;
SPF, DKIM, DMARC all pass in a real test message's headers&lt;br&gt;
DMARC at p=quarantine or p=reject, with rua reports being received&lt;br&gt;
Max 3 inboxes per domain, 20–30 sends per inbox per day configured&lt;br&gt;
Inboxes warmed 2–4 weeks (or pre-warmed)&lt;br&gt;
List verified, hard bounces suppressed&lt;br&gt;
Bounce and complaint monitoring in place from day one&lt;br&gt;
&lt;strong&gt;FAQ&lt;/strong&gt;&lt;br&gt;
Can I send cold email from my main domain if my volume is low?&lt;br&gt;
You can, and it is still a bad idea. Volume changes how fast reputation damage happens, not whether it happens. One bad list can burn the domain your product email depends on.&lt;br&gt;
&lt;strong&gt;How long does the full setup take?&lt;/strong&gt;&lt;br&gt;
DNS records take under an hour per domain once you know the steps. The slow part is warm-up: 2–4 weeks for fresh inboxes. Pre-warmed inboxes remove that wait, which is the entire reason teams buy them.&lt;br&gt;
&lt;strong&gt;Do I need a dedicated IP for cold email?&lt;/strong&gt;&lt;br&gt;
At normal cold email volumes, no. Google Workspace and Microsoft 365 inboxes send from the provider's shared IP pools, and that is fine — your authentication and behaviour carry your reputation. Dedicated IPs matter for very high-volume single-sender setups, which cold outreach is not.&lt;br&gt;
&lt;strong&gt;What breaks deliverability most often?&lt;/strong&gt;&lt;br&gt;
In order: missing or misaligned authentication, sending too much per inbox, unverified lists (bounces), and buying a domain and mailing from it the same week. All four are process problems, not copy problems.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>programming</category>
      <category>automation</category>
    </item>
  </channel>
</rss>
