1

Topic: emails to Gmail are bouncing (again) but odd reason from gmail

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

My hosting provider moved my system to a new center and thus changed my IP.  I had them update the PTR record , but haven't updated anything else - all recipients get email except Gmail which bounces.

mail-tester.com give my email a 10/10, so IT doesn't think anything is wrong.

I get this attachment as a 'Delivery report':
Reporting-MTA: dns; mail.lifeassetsllc.com
X-Postfix-Queue-ID: 4WbLxF1NzDzC3D
X-Postfix-Sender: rfc822; MYEMAIL@MyDomain.com
Arrival-Date: Fri,  2 Aug 2024 19:04:01 -0400 (EDT)

Final-Recipient: rfc822; MyWifesEmail@gmail.com
Original-Recipient: rfc822; MyWifesEmail @gmail.com
Action: failed
Status: 5.7.25
Remote-MTA: dns; gmail-smtp-in.l.google.com
Diagnostic-Code: smtp; 550-5.7.25 [2607:f130:0:f7:216:3eff:fe7c:9ec5] The IP
    address sending this 550-5.7.25 message does not have a PTR record setup,
    or the corresponding 550-5.7.25 forward DNS entry does not match the
    sending IP. As a policy, Gmail 550-5.7.25 does not accept messages from IPs
    with missing PTR records. For more 550-5.7.25 information, go to 550-5.7.25
    https://support.google.com/a?p=sender-guidelines-ip  550-5.7.25 To learn
    more about Gmail requirements for bulk senders, visit 550 5.7.25
    https://support.google.com/a?p=sender-guidelines.
    d9443c01a7336-1ff5903e0easi27334515ad.321 - gsmtp

MxToolbox.com states that I don't have a DMARC policy  enabled; but I have dmarc, spf and DKIM records set.

Question: Does the DKIM record (which is binary) contain the IP of the server?  If so, what's the best way to regenerate new dkim records and kill the old?

Is there something else I should change in my DNS settings (settings are at namecheap.com) to update from the 'old ip' to new - everything visible has the right IP?

Is there a change I should make to some file in the server to indicate a new IP?  Could this even be the problem?


Thanks for looking.


Andrew

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: emails to Gmail are bouncing (again) but odd reason from gmail

[2607:f130:0:f7:216:3eff:fe7c:9ec5]

the server is sending trough IPv6, and this specific ipv6 doesn't seem to have a ptr indeed

3

Re: emails to Gmail are bouncing (again) but odd reason from gmail

Is there an easy way to disable ipv6 on my server?

4

Re: emails to Gmail are bouncing (again) but odd reason from gmail

it is nothing wrong with having ipv6 support, it will be even mandatory in the future, you just should assign a dedicated ipv6 to your mailserver and add the correct PTR to it aswell and implement it in the SPF, then everything should be fine

5

Re: emails to Gmail are bouncing (again) but odd reason from gmail

Cthulhu wrote:

it is nothing wrong with having ipv6 support, it will be even mandatory in the future, you just should assign a dedicated ipv6 to your mailserver and add the correct PTR to it aswell and implement it in the SPF, then everything should be fine


Since the server is hosted by flipperhost, it was easier to disable on the server (google was my friend).

Emails are now going through.

Thanks for the help, I never would have figured that out.


Andrew