PHP mail() scripts regularly end up in spam, “proudly” with OVH’s crappy Vade Retro antispam filter

Hello,

On 02/11/2026, I made two attempts to send mail using PHP's mail() function.

Since 25/09 it had been working perfectly, but today neither of the two sends were received.
The blockage is "silent": it is certainly VADE RETRO that is still causing trouble.

When using SMTP through my mail client, everything works fine. No mail blocks, no exceeded quotas.

I haven't changed anything at all.
It's tiring, exhausting and recurring.
This is only the 5th time in 5 months that this has happened and the sixth time in a year.
Each time I am told the problem is resolved, but why does it block again with the same content, same scripts?

Fortunately I don't make my living from my hosting at OVH,
I would quickly become homeless with all these recurring outages.

I won't use my PHP scripts as examples, but they are simple: contact page, registration confirmation without a direct PHP link (using a "token").

My site is in a niche and the number of daily emails does not exceed 10 to 12.

Today, OVH still hasn't modified its anti‑spam filter VR or Vade Retro, which is not worthy of a host like OVH (it feels like they keep adding regex rules on the fly and arbitrarily ..).

History of OVH ticket responses:

02/12/2025

Unfortunately, your e‑mails triggered an element of our anti‑spam filter, despite their legitimate nature.
A update of our anti‑spam rules has been launched to prevent this from happening again. It can take up to 4 hours, and for that I recommend you retry sending (similar e‑mails to those detected) after this period has passed.

25/06/2026

I am re‑qualifying your request into the expertise category.
Please wait, and one of my colleagues will take over this exchange to provide answers to your questions as soon as possible.

26/06/2026

Unfortunately, your e‑mails triggered an element of our anti‑spam filter, despite their legitimate nature.
Rest assured, the unlocking of your account is in progress.
An update of our anti‑spam rules has been launched to prevent this from happening again. It can take up to 4 hours, and for that I recommend you retry sending (similar e‑mails to those detected) after this period has passed.

20/08/2026

I have taken your request regarding the e‑mails you send from the PHP Mail function of your site into account.
I understand your concern and the problem you are facing.
I apologize for the response delay.
Regarding the issue you encountered on 10/08, I confirm that your e‑mails were wrongly blocked by our anti‑spam filter. The issue was resolved quickly as you could see. I am sorry for the inconvenience caused.

15/09/2026

I am handling your request concerning the "SPAM" blockage of the "PHP Mail" function on your hosting.
Some of your e‑mails triggered our anti‑spam filter: an update of our anti‑spam rules has been launched to prevent this from happening again. It can take up to 4 hours, and for that we recommend you retry sending (similar e‑mails to those detected) after this period has passed.

A fix has been applied on our side; if you encounter further blocks, please get back to us.

25/09/2026

We have no interest in intentionally blocking your activity.
Updates to our anti‑spam system are applied continuously for security and infrastructure integrity reasons, to provide the best service to all our customers.

02/11/2026

Thank you for contacting the OVHcloud support team.
This is just a quick note to inform you that our dedicated technical teams will prioritize your request during opening hours (Monday to Friday from 8:00 a.m. to 6:00 p.m.).
Thank you for your patience and understanding.

End of history

Indeed, you need patience with OVH and cannot rely on this host to earn a living.

I discontinued my auto‑enterprise because of OVH, since I never knew when VR would pull another stunt! So no more license sales for my application :enraged_face:

Pascal

Hi @PascalF1

In that case, you’ll need to contact the Support team so they can provide a solution.

:telephone: You can do so by calling OVH’s SAV at +33 9 72 10 10 07

You can also create a ticket :down_arrow:

How can I create a support ticket?

Click this link to create a support request from the OVHcloud Help Center. Then, log in with your OVHcloud credentials.

Once you’re logged in, click ✉ Tickets on the Ticket creation button. Select the reason for your request and then the product and service in question. Then, specify your request to get personalized help suggestions and advice. If this does not meet your needs, click Next to complete your request and create a support ticket. Make sure to provide as much information as possible so our teams can assist you better.

Kind regards.
Sergio Turpín

Hello @PascalF1

Create an Incident ticket:

Manager OVH > https://www.ovh.com/manager/#/dedicated/useraccount/dashboard > My support requests > Create a request / ticket

Post this ticket number on this forum (in case a member of the OVH Team passes by)

then:

Call OVH support at +33 9 72 10 10 07.
Preferably between 8 a.m. and 9 a.m. in the morning, or around 3 p.m. when the wait is shorter.

Or already now on Twitter @ovh_support_fr or #OVHcloudsupport

Hello,

Thank you for your responses.

The history I provided in my message contains the replies to the tickets I opened.

Always the same refrain, apologies, patience and understanding ...

But it will happen again until the next spam blockage, even though the content and scripts have not changed.

I am not sending unsolicited emails: in fact, OVH acknowledges that my emails are "normal" and harmless; find the error.

So each time I open a ticket (I know how to do it) and I am tired of hearing: we have changed our anti‑spam filter rules now your emails are no longer blocked!!!

Calling 1007 leads to endless waiting and, in any case, I have standard support, it will not be resolved any faster.

Subscriber since 2008, I must seriously consider switching to a host that is competent in this regard.

Hello @PascalF1

I completely agree with you.

Despite a huge price increase with a promise of a noticeable improvement in standard support, it is often difficult to get effective help from support. :enraged_face:

Hello @Gaston,

The issue has been resolved but I’m wondering: when Vade Retro (OVH’s antispam filter) blocks my PHP mails again, will that be the 8th time in 13 months?

I still haven’t received any written communication regarding the opened ticket. I don’t know what flimsy excuse they’ll invent to "pass the buck"? It will be difficult for OVH to answer me about this problem, which is unacceptable for a host that calls itself "Professional".

The response from a technician, during a previous ticket, told me that I was on a "Professional" space because I wrote that Vade Retro "was smoking the good stuff"! Moreover, the rest of the answer is absurd: the technician told me without batting an eye that if there was another problem he would modify the Vade Retro filter again, nonchalantly.

Hi @PascalF1

Do you use an OVHcloud account with authenticated SMTP?

Let me know, best regards.
Sergio Turpín

Hello,

Yes, but I tried PHPMailer with SMTP in STS/SLS.

But even so, it worked for a few days before Vade Retro blocked my SMTP mailings again.

One has to believe that OVH does it on purpose.

Moreover, sending via SMTP is limited and shared on the same cluster, so it is not a good solution.

With my own mailer, there has never been a block because VR doesn't come to cause trouble!

Today I use PHPMailer with PHP's mail() function to make sure the RFC 5322 format of my emails is properly respected. I can't do anything more: the subjects and the content of my mails are optimized to avoid triggering VR's reaction. Before the latest block, my XSPAM‑VR spam score was 0. That's normal—I don't send SPAM, just contact and registration‑confirmation emails for my database… The link in the registration confirmation does not contain a PHP address because I use a "token" handled in the .htaccess.

My app sends technical data to my site for sending mail to deliver the license of this app, which is called DimClim (the same name as the site).

Regards,

Pascal

Hello @PascalF1

Do you know what the problem is? No matter how well you are working on the legitimacy of your emails, in a shared cluster if another user generates SPAM...

To prevent this from happening to you again I propose two solutions:

  1. Use an external transactional sending service, such as SendGrid, Mailgun, or Brevo.
  2. Move to a VPS or dedicated server, where you would have control over your own IP and could manage the unblocking or even use your own mail server.

Staying where you are is "waiting" for OVH's AntiSpam filter to cause trouble again :face_with_diagonal_mouth:

Kind regards,
Sergio Turpín

Re,

“Staying where you are is ‘waiting’ for OVH’s anti‑spam filter to start misbehaving again.”

This problem has been recurring since this year. I never had any issues in 13 years of subscription.

The ball is in OVH’s court: even though my cluster is shared, the domain is not the same.

The anti‑spam filter, which is very poor, should be revised to intercept only the spam of the domain in question.

I doubt that VR would suddenly block the whole cluster.

If they are not able to find a solution, they can just ask an AI for help.

A dedicated VPS is out of the question; I don’t want to manage that during my retirement, nor pay a lot to be online on a site where everything is free and without advertising.

I will look at an external transactional sending service, but I need to find something free (there aren’t many emails to handle, the site is technical and niche).

Best regards,

Pascal