DOKK / manpages / debian 13 / libsisimai-perl / Sisimai::Reason::TooManyConn.3pm.en
Sisimai::Reason::TooManyConn(3pm) User Contributed Perl Documentation Sisimai::Reason::TooManyConn(3pm)

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

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

"Sisimai::Reason::TooManyConn" checks the bounce reason is "toomanyconn" or not. This class is called only "Sisimai::Reason" class.

This is the error that the SMTP connection was rejected temporarily due to 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)

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

    print Sisimai::Reason::TooManyConn->text;  # toomanyconn

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

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

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

azumakuniyuki

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

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

2025-04-12 perl v5.40.1