NAME

Sisimai::Reason::RateLimited - Bounced due to that too many connections.

SYNOPSIS

use Sisimai::Reason::RateLimited;
print Sisimai::Reason::RateLimited->match('Connection rate limit exceeded');    # 1

DESCRIPTION

Sisimai::Reason::RateLimited checks the bounce reason is ratelimited or not. This class is called only Sisimai::Reason class.

This is the error that the SMTP connection was rejected temporarily due to too fast or too many concurrency connections to the remote server. This reason has added in Sisimai 4.1.26.

<kijitora@example.ne.jp>: host mx02.example.ne.jp[192.0.1.20] said:
    452 4.3.2 Connection rate limit exceeded. (in reply to MAIL FROM command)

CLASS METHODS

text()

text() method returns the fixed string ratelimited.

print Sisimai::Reason::RateLimited->text;  # ratelimited

match(string)

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

print Sisimai::Reason::RateLimited->match('Connection rate limit exceeded');  # 1

true(Sisimai::Fact)

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

AUTHOR

azumakuniyuki

COPYRIGHT

Copyright (C) 2014-2021,2024-2026 azumakuniyuki, All rights reserved.

LICENSE

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