Article 6M465 How can I solve the problem of "IPs with missing PTR records." to send email through postfix with port 25 from local pc?

How can I solve the problem of "IPs with missing PTR records." to send email through postfix with port 25 from local pc?

by
cola
from LinuxQuestions.org on (#6M465)
Error:
Code:AAB0360FEF: to=<abcd@gmail.com>, relay=gmail-smtp-in.l.google.com[64.233.170.27]:25, delay=2.9, delays=0.02/0.02/2/0.84, dsn=5.7.25, status=bounced
(host gmail-smtp-in.l.google.com[64.233.170.27] said: 550-5.7.25 [a.b.c.d] The IP address sending this message does not have a PTR 550-5.7.25 record
setup, or the corresponding forward DNS entry does not point 550-5.7.25 to the sending IP. As a policy, Gmail does not accept messages from 550-5.7.25
IPs with missing PTR records. For more information, go to 550-5.7.25 https://support.google.com/mail/answer/81126#ip-practices 550-5.7.25 To learn
more about Gmail's sender policy, go to 550 5.7.25 https://support.google.com/mail/answer/81126. w2-20020a17090aaf8200b002a78140f747si5962065pjq.62
- gsmtp (in reply to end of DATA command))Here, a.b.c.d is the public ip address. It is dynamic ip address. I think, it is the router's public ip address. Local pc has ip address like 192.168.1.103.

I am trying to send email to gmail through postfix with port 25 from local pc or localhost. I have installed postfix, opendkim and configured these. /etc/hostname has "mydomain.com". So the sender is user1@mydomain.com.

I have followed this website: https://netcorecloud.com/tutorials/c...ostfix-ubuntu/

How can I solve the problem of "IPs with missing PTR records." to send email through postfix with port 25 from local pc? Where will I write PTR record? How can I write PTR record?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments