New guide: how to warm up a dedicated IP without hurting your reputation. Read now →
Log in
MigoSMTP
SecurityUpdated 26 Oct 2026

Protecting Sign-Up Forms From Bots: CAPTCHA, Honeypots, Rate Limits and Verification for Clean Lists

How to stop bots and abusers from polluting your list and using your forms to send mail to strangers: honeypot fields, CAPTCHA options, rate limits, double opt-in, email verification, monitoring and incident response.

KM
Written by Karan Malhotra
API and Developer Experience Lead
Reviewed by Camille Laurent
  • Published5 Jul 2025
  • Read time6 min
  • Length1,184 words
Share this guide

Every public form that sends an email is an invitation to abuse. Bots fill newsletter forms with fake or stolen addresses, which pollutes your list, raises bounces and can hit spam traps. Attackers run "subscription bombing" campaigns: they submit a victim's address to thousands of forms at once so that the victim's inbox is flooded with confirmation emails, hiding a fraud alert or simply causing harm. Your form becomes a weapon, and your domain takes the reputation hit. Protecting forms is therefore part of deliverability, not just security. This guide describes the layers of defence, from invisible traps to verification, explains how to choose between them without hurting real users, and shows how to monitor for attacks and respond. It builds on double opt-in and sign-up form design.

RisksFake addresses, spam traps, subscription bombing and reputation damage
LayersHoneypot, rate limit, CAPTCHA or challenge, double opt-in, address validation, monitoring
PrincipleMake abuse expensive for bots and invisible to real people
RuleNever send a confirmation to an address until the request passes your checks

How the abuse works

AttackGoalEffect on you
Fake sign-ups with random addressesTest forms or poison listsHigh bounce rate, traps, wasted sends
Sign-ups using real addresses of strangersHarass the owners or bury other messages in a floodComplaints, "report spam" clicks, reputation loss
Form used as a spam relayInsert links or text into the confirmation emailYour domain sends the attacker's message. See email spoofing
Credential or account creation abuseFree trials, promotions, fake accountsFraud costs; messages to throwaway addresses
Contact form injectionAdd headers such as Bcc to send mail through your serverOpen relay behaviour; blocklisting

Layer 1: Make the form safe by design

  • Fix header injection. Never place user input in email headers without stripping line breaks. Use a library that sets recipients explicitly.
  • Do not send user-controlled text in the confirmation message beyond a safe, escaped name. Attackers use fields to insert links.
  • Fixed recipient for contact forms. A contact form should send to your own address, not to an address supplied by the visitor.
  • Use POST with a token tied to the session (CSRF protection) so that cross-site scripts cannot submit on behalf of visitors.
  • Keep the confirmation email neutral: state the site, the action and a single link, with an "ignore this if it was not you" line.

Layer 2: Invisible traps and limits

  1. Honeypot field. Add an extra input hidden with CSS that real users never fill. Many bots fill every field; reject submissions where it contains a value. Use an unobvious name and do not rely on it alone, because sophisticated bots detect hidden fields.
  2. Time check. Record the time the form was rendered and reject submissions that arrive in under a second or two.
  3. Rate limits. Limit submissions per IP address, per network, per session and per target email address. A particular address should not be able to receive more than a few confirmations in a day.
  4. Global limits. Cap the total number of confirmation emails per minute and alert when it spikes.
  5. Reputation and geography signals. Challenge traffic from anonymising networks or from countries you do not serve, carefully and without blocking legitimate users.
  6. Block disposable and invalid domains using validation. See email validation and the validator.

Layer 3: Challenges

OptionHow it worksStrengthsCautions
Invisible risk scoring challengeScores the visitor behind the scenes and challenges only suspicious onesLittle friction for peopleThird-party script; privacy and accessibility review needed
Checkbox or puzzle CAPTCHAAsks the visitor to prove they are humanWell understoodFriction; accessibility barriers; solving services defeat it
Proof-of-work challengeBrowser performs a small computationNo images; privacy friendlyWeaker against determined attackers; adds CPU time
Email-based challenge only (double opt-in)No challenge on the form, confirmation before activationVerifies mailbox ownershipDoes not stop subscription bombing by itself
Account login requiredOnly authenticated users may subscribeStrong identityNot suitable for public newsletters

Choose challenges that are accessible to people using screen readers and keyboards, offer an alternative path, and respect privacy law for any third-party service. Test the form with real users, because overly strict defences cost sign-ups. Keep a measure of conversion before and after any change.

Layer 4: Verify ownership before mailing

Double opt-in is the strongest protection for your list: no address receives marketing until the owner clicks a link. It also gives you consent evidence. But the confirmation email is itself the thing attackers abuse for bombing, so combine it with limits and a single, small message. Do not send reminders to unconfirmed addresses more than once, and expire pending sign-ups after a few days. Do not add unconfirmed addresses to campaigns. See consent records and consent evidence.

Detecting and handling an attack

  • Signals: sudden growth in sign-ups, many from a few IP ranges or user agents, a surge of confirmation sends, rising bounces or complaints, many sign-ups using the same domain or sequential addresses, and complaints from recipients who never subscribed.
  • Immediate steps: turn on stricter challenges, lower rate limits, pause confirmation sending if necessary and queue it for review.
  • Clean up: remove unconfirmed and suspicious addresses, and suppress addresses that complain.
  • Protect victims: if a single address appears in thousands of attempts, block further confirmations to it and consider notifying the owner if you can do so safely.
  • Review the logs to find the entry point and fix it, such as a forgotten form on an old page or an unauthenticated API endpoint.
  • Report serious abuse to your provider and, if appropriate, to authorities. Keep your abuse mailbox attended. See abuse mailboxes.

Communication and support

Real people will sometimes be caught by your defences. Provide a plain way to get help, such as a support address shown when a challenge fails, and make sure the person who answers can add a legitimate user manually. Write the error messages in neutral language: "We could not complete your request, please try again" reveals less to attackers than a detailed explanation of which rule fired. Tell your own staff what the defences are, so that a spike in "I never received the confirmation" tickets is recognised as a possible side effect of a rate limit rather than an email fault.

Check the whole surface

Attackers look for the weakest form. Inventory every place a visitor can trigger an email: newsletter boxes, contact forms, referral and invite features, password reset, account creation, event registrations and API endpoints. Each needs rate limits and validation. Referral features that send an invitation to an address supplied by the user are especially risky because the content is attacker-influenced. See password reset and OTP email for the same concerns in authentication flows.

Monitoring and metrics

MetricHealthyAlert when
Confirmation rateStable for the channelDrops sharply (bot traffic)
Hard bounce rate on confirmationsVery lowClimbs above a small threshold
Sign-ups per hourPredictable patternSpikes outside campaigns
Complaints on welcome and confirmation mailNear zeroAny cluster
Share of disposable-domain sign-upsLowRapid increase
Pending (unconfirmed) queue sizeSmallGrowing quickly

Protecting forms is an ongoing task, because attackers adapt. Layer simple, cheap defences first, add friction only where the data shows abuse, and keep the confirmation process small and safe. The reward is a smaller, healthier list that performs better and keeps your domain out of trouble.

Keep your lists clean Check addresses before they reach your campaigns.

Open the email validator

References and further reading

Frequently asked questions

What is subscription bombing?

An attack that submits a victim's address to many forms so they are flooded with confirmation emails.

Is double opt-in enough to stop bots?

It verifies mailbox ownership but does not stop bombing. Combine it with rate limits and challenges.

Does a honeypot field work?

It stops simple bots at no cost to users, but sophisticated bots avoid it, so use it with other layers.

Will CAPTCHA reduce my sign-ups?

It can. Prefer invisible or low-friction challenges, offer accessible alternatives and measure conversion.

How do I know I am under attack?

Look for sudden sign-up spikes, clustered IPs, rising bounces and complaints from people who never subscribed.

Topics#forms#bots#captcha#honeypot#double opt-in
Was this guide helpful?Your answer helps us improve our documentation.

Start sending in minutes.

Create an account, add your domain and send your first email.

Get started Talk to sales