We are in the process of migrating this forum. A new space will be available soon. We are sorry for the inconvenience.

gmail refuse sendmail email


orugari
12/02/2016, 14h12
Hello,
I have an error trying to send an email in a php script using sendmail:

Code:
Feb 12 12:56:07 ns380959 sendmail[5437]: u1CBu7pq005437: to=xxxx@gmail.com, ctladdr=www-data (33/33), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31559, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Also, this is what I get when I try to send from root

Code:
550-5.7.1 [2001:41d0:e:4c8::1] Our system has detected that this message does not meet IPv6 sending guidelines regarding PTR records and authentication. Please review
550-5.7.1  https://support.google.com/mail/?p=ipv6_authentication_error for more** information. ej8si17844651wjd.175 - gsmtp
/root/dead.letter... Saved message in /root/dead.letter
Closing connection to gmail-smtp-in.l.google.com.
>>> QUIT
Question is, how can I make IPv6 become good for gmail? I don't know how to do, I am very newbie.
Thank you