Email problem ptr record

Discussion in 'Server Operation' started by Tom John, Mar 6, 2025.

  1. Tom John

    Tom John Active Member HowtoForge Supporter

    Hi guys,
    i setup a new email server and i get the following error when i sent an email
    Code:
    host gmail-smtp-in.l.google.com[2a00:1450:400c:c0b::1b]
       said: 550-5.7.25 [2a02:c207:2024:1421::1] The IP address sending this
       message does not 550-5.7.25 have a PTR record setup, or the corresponding
       forward DNS entry does 550-5.7.25 not match the sending IP. As a policy,
       Gmail does not accept 550-5.7.25 messages from IPs with missing PTR
       records. For more information, go 550-5.7.25 to 550-5.7.25
    
    If i understand it right, the ptr record is the reverse lookup and i put that in a right way as i think.
    the ip is: 167.86.74.26
    the server is mx1.cl-i.net
    I dont understand why google rejects this email.
    thanks for let me have a hint what i am doing wrong
    thanks tom
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You probably missed creating a PTR record for your IPv6 address.
     
  3. remkoh

    remkoh Active Member HowtoForge Supporter

    IPv6 PTR resolves to vmi241421.contaboserver.net and not mx1.cl-i.net
     
  4. remkoh

    remkoh Active Member HowtoForge Supporter

    IPv6 PTR today is still the same.
    Either disable IPv6 in postfix so it can only send mail using IPv4 or change your IPv6 address PTR record (or let the IP's owner/ISP/datacenter do it for you if they don't provide a method to do it yourself)
     
  5. Tom John

    Tom John Active Member HowtoForge Supporter

    Hi guys,
    thanks a lot for your kind help
    i changed PTR Record IPv6 but the problem is still the same
    maybe you have any idea how i can solve the problem?
    thanks in advance for your kind help
     
  6. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    If the error still is the IP address does not have PTR record set up, the IPv6 PTR is still missing.
    If the problem now is something else, please describe the problem.
     
  7. remkoh

    remkoh Active Member HowtoForge Supporter

    I don't know how you changed the PTR record but nothing has changed.
    Your IPv6 address in the first post (2a02:c207:2024:1421::1) still resolves to vmi241421.contaboserver.net

    Are you sure you can change the PTR record yourself?
    Simply creating it under zone cl-i.net isn't to right way.
     

Share This Page