OVHcloud AntiSpam - Best Practices and Unblocking an IP
Find out about our antispam best practices and how to unblock an IP blocked for SPAM
Find out about our antispam best practices and how to unblock an IP blocked for SPAM
Last updated 17th October 2022
For every IP available with OVHcloud products and services, as an Internet Service Provider, we will register and reserve it with organisations such as RIPE or ARIN. This means that we appear as the IP abuse contact for litigation in the WHOIS database.
If an IP is reported to organisations such as Spamhaus and SpamCop, which work to combat SPAM, malicious websites and phishing, then the reputation of the entire OVHcloud network is at stake.
It is therefore important that OVHcloud takes care of the reputation, quality and security of the network, which also forms an important part of your service.
Our system is based on the Vade Secure anti-spam technology.
Once an IP is "blocked for SPAM", an email will be sent to your account containing information like the example below:
Dear Customer,
Our anti-spam protection layer has detected that your IP 122.122.122.122 is sending spam.
In order to protect our network, we have blocked the port 25 of your server, at the network level.
To help you investigate about this problem and fix it, here is a sample of some advanced details on your emails:
Destination IP: 188.95.235.33 - Message-ID: d24aa492-5f37-457f-9595-23ddc9e0f714@xxxxxxxxxxxxx.xx.local - Spam score: 300
Destination IP: 188.95.235.33 - Message-ID: fc090jdhf934iu09bf084bfo92@xxxxxxxxxxxxx.com - Spam score: 300
Destination IP: 188.95.235.33 - Message-ID: P0hbfo93407684bfoqljrlqvpLatS3RRB9rZw7e8s@xxxxxxxxxxxx.online - Spam score: 300
Destination IP: 188.95.235.33 - Message-ID: 6ZUnls843bnf0934StxFasYGmhtDJRo@xxxxxxxxxxxx.online - Spam score: 300
Destination IP: 188.95.235.33 - Message-ID: zcb.3z54da3kdfkl45802n0c0q98rqcc57e3b8aadfac63b2c408e3f5f9a27.1d44jkgnddfef.166489320375@xxxxxx.xxxx.net - Spam score: 300
Destination IP: 188.95.235.33 - Message-ID: zcb.3z54da33hn98v9bcq-nrf3r67cc57e3b8aadfac63b2c408e3f5f9a27.1d44jd9340252.1655508652095@xxxxxx.xxxx.net - Spam score: 300
What to do after receiving the email alert?
The process is to identify the issue, resolve it, then unblock your IP.
Before unblocking an IP:
Once the issue has been resolved, you can unblock your IP by performing the following steps.
Do not unblock the IP under any circumstances without having suspended the sending of emails from your server, otherwise you will immediately get blocked for a second time (and a longer duration).
In your OVHcloud Control Panel, go to the Bare Metal Cloud
section and click on IP
.
In the yellow window for IP alerts, click on the View all alerts
drop-down arrow to view all alerts on your IP(s).
If you have an alert on any your IP(s), the information will be displayed right underneath:
Next, in the section "My public IP addresses and associated services" , click on the ...
next to the corresponding IP/service and select Anti-spam
.
In the new tab, click on Unblock the anti-spam
at the bottom and confirm.
The IP is being released, the operation may take several minutes.
Once done, your IP will be unblocked.
Log in to the OVHcloud API interface according to the relevant guide and follow the steps below.
First, retrieve the list of IPs for each OVHcloud service (Dedicated Server/Hosted Private Cloud/VPS/Public Cloud):
type: Indicate the type of IP (Dedicated, PCC, VPS, vRack, PCI, etc.)
Here's an example of what you should see:
"2001:41d0:67:d200::/56",
"2001:41d0:68:a00::/56",
"2001:41d0:68:f000::/56",
"2001:41d0:117:db00::/56",
"122.122.122.121/28",
"145.56.222.96/28",
"188.81.49.30/28",
Next, search for IPs in a particular state with the following call. If you already know the IP blocked, you can move on to the next step:
ip: Specify the IP block retrieved in the previous step with the netmask. For example 122.122.122.121/28.
state: Specify the state you are looking for.
Here's an example result (in this instance, the 122.122.122.121/28 block was selected):
"122.122.122.122"
If the IP is blocked, you can get information on the blocking with the following call. Otherwise, move on to the next step.
ip: Specify the IP block retrieved in the previous step with the netmask.
ipSpamming: Specify the previously retrieved IP in "blockedForSpam" state, for example.
Here's an example result (in this instance block 122.122.122.121/28 and IP 122.122.122.122 were selected):
time: 3600,
date: "2022-08-29T17:42:50+01:00",
ipSpamming: "122.122.122.122",
state: "blockedForSpam"
So:
- The IP is blocked for 1 hour (or 3600 seconds).
- It was blocked on 29/08/2022 at 5:42 p.m.
- Its current state is blocked.
If you wish to obtain the statistics on what has been detected, use the following api call, otherwise move on to the next step.
ip: Specify the IP block retrieved in the previous step with the netmask.
ipSpamming: Specify the previously retrieved IP in "blockedForSpam" state, for example.
from and to: Use the date format used in the previous function (YYYY-MM-DDTHH:MM+01:SS).
Here is an example result:
{
"messageId": "2PXQSX-3JRAUU-SF@obfuscated.com",
"destinationIp": "188.95.235.33",
"date": 1385640992,
"spamscore": 410
}
IMPORTANT! Do not unblock the IP under any circumstances without having suspended the sending of emails from your server, otherwise you will immediately get blocked for a second time (and a longer duration).
To unblock your IP, use the following call:
ip: Specify the IP block retrieved in the previous step with the netmask.
ipSpamming : Specify the previously retrieved IP in "blockedForSpam" state.
Here is an example result:
"message": "This IP address is still blocked for 129 seconds"
More than 129 seconds later:
time: 3600,
date: "2022-08-29T17:42:50+01:00",
ipSpamming: "122.122.122.122",
state: "unblocking"
The IP is being released, the operation may take several minutes.
In some cases, the antispam alert could be false positive. If you have checked and found that Message-ID are from your legitimate email, you should then ensure that your email messages comply with the RFC and the Best Practices indicated below.
RFCs (Request For Comments) are documents intended to describe technical aspects of the Internet. They are produced and published by the IETF (Internet Engineering Task Force), a group which basically produces and defines standards. For more information, see: RFC, IETF and Internet Draft.
Best practices are recommended methods which are often based on the RFC documents and are intended to advise you on the best way to proceed. In this instance, this means the basic rules to follow so that your emails are not marked as spam.
Sending Volume
If your outgoing email volume is very high, you are advised to:
This operation will enable you to simultaneously isolate the IP and domain reputation if you send emails from various domains, to receive the complaints, and thus do what is necessary to get unblocked by various organisations. It also enables you to locate a problem more quickly on a form that uses domain X or Y, as the emails are not sent out from the same IP and don't have the same reverse.
Email Content
FBL - Feedback Loop
This system enables you to follow up on feedback provided by some internet service providers directly, informing you that their users have flagged your message as illicit, and that it has therefore been classified as spam. This will allow you to interact directly with these ISPs regarding your reputation. Some FBLs include:
Authentication
Some authentication services allow you to protect your reputation:
For more information on the above services, please consult our guide on Optimising the sending of emails.
Microsoft uses a whitelist policy. This means that initially, everything starts off on a blacklist, and a specific procedure is required to validate your email server. For more information, please consult this section of the corresponding guide.
If your recipients are with Gmail, adding specific records (e.g. a DMARC record) may ensure that emails reach them. Here is a Google article that can help you with this: Add a DMARC record.
Google also has a dedicated article regarding spam prevention to Gmail users.
If your emails do comply, you can inform us by sending a sample of your email (including header). Our technical support team will then assist you with the next steps. Simply create a support ticket from your OVHcloud Control Panel and include the following information:
Once the information is sent, our support team will communicate with Vade Secure for further analysis of the case.
Join our user community on https://community.ovh.com/en/.
Please feel free to give any suggestions in order to improve this documentation.
Whether your feedback is about images, content, or structure, please share it, so that we can improve it together.
Your support requests will not be processed via this form. To do this, please use the "Create a ticket" form.
Thank you. Your feedback has been received.
Access your community space. Ask questions, search for information, post content, and interact with other OVHcloud Community members.
Discuss with the OVHcloud community