GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Sisimai::Reason::RequirePTR(3) User Contributed Perl Documentation Sisimai::Reason::RequirePTR(3)

Sisimai::Reason::RequirePTR - Bounce reason is "requireptr" or not.

    use Sisimai::Reason::RequirePTR;
    print Sisimai::Reason::->match('The IP address sending this message does not have a PTR recor'); # 1

"Sisimai::Reason::RequirePTR" checks the bounce reason is "requireptr" or not. This class is called only from "Sisimai::Reason" class.

This is the error that the SMTP connection was rejected due to missing PTR record or having invalid PTR record at the source IP address used for the SMTP connection.

    host gmail-smtp-in.l.google.com[142.251.170.27] said:
    [192.0.2.25] The IP address sending this message does not have a PTR record setup, or the
    corresponding forward DNS entry does not point to the sending IP. As a policy, Gmail does
    not accept messages from IPs with missing PTR records. For more information, go to
    https://support.google.com/mail/answer/81126#ip-practices (in reply to end of DATA command)

text() method returns the fixed string "requireptr".

    print Sisimai::Reason::RequirePTR->text;  # "requireptr"

match() method returns 1 if the argument matched with patterns defined in this class.

    print Sisimai::Reason::RequirePTR->match('Reverse DNS failed');   # 1

true() method returns 1 if the bounce reason is "requireptr". The argument must be "Sisimai::Fact" object and this method is called only from "Sisimai::Reason" class.

azumakuniyuki

Copyright (C) 2024-2025 azumakuniyuki, All rights reserved.

This software is distributed under The BSD 2-Clause License.

2025-03-28 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.