How to keep postfix from using ip6

Been getting emails bounced from google for IP6 reasons. I dont use ip6 for anything right now, so is there a way to tell it not to use it or do i have to completely shut off ip6 on the pbx?

From the mail log[2607:f8b0:4023:c06::1a]:25, delay=1.2, delays=0.24/0.05/0.36/0.61, dsn=5.7.1, status=bounced (host[2607:f8b0:4023:c06::1a] said: 550-5.7.1 [2001:19f0:ac01:e7e:5400:4ff:fe14:ff9d] Our system has detected that 550-5.7.1 this message does not meet IPv6 sending guidelines regarding PTR 550-5.7.1 records and authentication. Please review 550-5.7.1 Prevent mail to Gmail users from being blocked or sent to spam - Gmail Help for more information 550 5.7.1 . y2-20020aa79e02000000b0063b7790fde1si5030994pfq.284 - gsmtp (in reply to end of DATA command))

**edit: I went into /etc/postfix/ and changed inet_protocols to say ipv4 instead of all and restarted postfix. I see that I’m getting blocked for “unsolicited messages” now which I’m guessing means I’m temporarily blacklisted.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.