Pb envoie d'email avec mon compte OVH
... / Pb envoie d'email avec mo...
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

Pb envoie d'email avec mon compte OVH

by
EmmanuelH23
Created on 2024-11-05 11:06:03 (edited on 2024-11-18 11:09:27) in Emails-old

Hello à tous,

J'ai un pb depuis quelques mois avec ma boite mail.

La plupart des messages que j'envoie ne sont pas délivrés - Undelivered Mail Returned to Sender - surtout pour les nouveaux destinataires à qui je n'ai jamais envoyé de mail et particuloièrement ceux qui utilisent une gmail. Par contre je reçois très bien les emails.

Voici le message d'erreur, j'ai l'impression que le pb vient de mon domain :

host gmail-smtp-in.l.google.com[142.251.168.27] said:
550-5.7.26 The MAIL FROM domain [anoano.fr] has an SPF record with a hard
fail 550-5.7.26 policy (-all) but it fails to pass SPF checks with the ip:
550-5.7.26 [178.33.47.183]. To best protect our users from spam and
phishing, 550-5.7.26 the message has been blocked. For instructions on
setting up 550-5.7.26 authentication, go to 550 5.7.26
https://support.google.com/mail/answer/81126#authentication
ffacd0b85a97d-381c10cd868si6580573f8f.90 - gsmtp (in reply to end of DATA
command)
Reporting-MTA: dns; mo630.mail-out.ovh.net
X-Postfix-Queue-ID: 4XhzkY2G33z138y
X-Postfix-Sender: rfc822; emmanuel@anoano.fr
Arrival-Date: Mon, 4 Nov 2024 17:59:33 +0000 (UTC)

Merci pour votre aide !


2 Replies ( Latest reply on 2024-11-18 11:09:35 by
EmmanuelH23
)


anoano.fr


Bonjour,

Vous avez deux erreurs dans la zone DNS de votre domaine:

anoano.fr. 600 IN TXT "v=spf1 -all"
anoano.fr. 600 IN TXT "v=spf1 include:mx.ovh.com ~all"


1) il est illégal d'avoir deux enregistrements DNS. Ceci constitue une violation de protocole.
2) Un SPF qui contient juste "v=spf1 -all" signifie que ce domaine n'envoie pas de mail.

Comme vous envoyez des mails, et ceci depuis OVH, vous comprendrez aisément qu'en supprimant le 1er des deux enregistrements SPF vous réglez les deux problèmes en une fois.

Bonjour,
Merci beaucoup pour votre retour.

Je me suis connecté à mon compte OVH, je suis allez dans la Zone DNS et j'ai effacé le anoano.fr. 600 IN TXT "v=spf1 -all

Voyons si ça fonctionne !

Merci encore !