// troubleshooting guide · ovhcloud

OVH IP Blocked for Spam (Port 25 Blocked)

Status
Workaround available
platforms:
VPS, dedicated servers, Public Cloud
updated:
November 16, 2026
reports:
3
Method
how we research
Share

RUNBOOK · ovhcloud/port-25-blocked-spam5 FIXES

// quick answer

OVHcloud blocks port 25 when its anti-spam system flags mail from your IP. Stop sending, clean the mail queue, find the cause, then unblock in Network > Public IP Addresses > Anti-spam unblocking.

Most likely fix: Stop mail and clean the queue

How to fix it

// try these in order, the most common fix is first

  1. FIX 1Stop mail and clean the queue

    1. 01Stop Postfix/Exim and any scripts that send mail
    2. 02Clear the mail queue
    3. 03Search logs for the Message-ID in OVH's alert email
    Did this fix it?
  2. FIX 2Unblock in the Control Panel

    1. 01Go to Network > Public IP Addresses
    2. 02Find the IP with a red icon in the IP Alert column
    3. 03Click ... > Anti-spam unblocking > Unblock the IP
    4. 04Wait a few minutes
    Did this fix it?
  3. FIX 3Unblock with the API

    1. 01GET /ip/{ip}/spam to see blocked IPs
    2. 02POST /ip/{ip}/spam/{ipSpamming}/unblock
    3. 03The response shows seconds left if the block has not expired
    Did this fix it?
  4. FIX 4Fix authentication

    1. 01Set reverse DNS for the IP
    2. 02Add SPF and DKIM records, plus DMARC for Gmail
    Did this fix it?
  5. FIX 5Send through port 587 or a relay

    1. 01Use an external SMTP relay on port 587
    2. 02If the block is a false positive, open a ticket with the .EML file and headers
    Did this fix it?

SANDBOX · ovhcloud RUNS IN YOUR BROWSER

Try it: deploy an app, add a domain and watch the bill

A hands-on OVHcloud-style sandbox, including the spots where users get stuck. See where problems like this one start. 1-2 minutes, nothing is saved.

Symptoms

You get an email saying your IP was blocked for spam, outgoing mail on port 25 times out, and the IP shows a red alert icon.

Why it happens

  • C-01A compromised script or account sending spam
  • C-02Newsletter or bulk sending flagged as spam
  • C-03Missing SPF, DKIM or reverse DNS
  • C-04Unblocking before the queue was cleaned, causing a longer block

// this guide also covers

  • ovh port 25 blocked
  • ovh ip blocked for spam
  • ovh anti spam unblock
  • ovh ip blacklisted

Still not working?

If OVHcloud keeps failing, you're not alone. See every OVHcloud problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us

Watch OVHcloud Get an email when its price changes, it has an outage, or we publish a new fix. No spam.

Fixed it? Share this guide

The same problem in other apps

All plan limits, paywalls & watermarks guides →

Other OVHcloud errors

All 13 OVHcloud errors and fixes →