Sisima...nyConn(3pm)

πŸ“¦
version 5.3.0 Β· 4 versions
, in debian trixie, ubuntu questing

Sisimai::Reason::TooManyConn(3pm) πŸ’–

okay bestie, so this page is literally called Sisimai::Reason::TooManyConn(3pm) β€” and yeah, the header up top squishes it into Sisima...nyConn(3pm) because the terminal is dramatic like that πŸ’…. It's a User Contributed Perl Documentation page and it's here to tell you about one specific bounce reason. Buckle up πŸŽ€


✨ NAME ✨

Sisimai::Reason::TooManyConn β€” bounced because there were, and I cannot stress this enough, too many connections. 🫢


✨ SYNOPSIS ✨

Look how simple she is:

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

That # 1? That's the slay. πŸ”₯


✨ DESCRIPTION ✨

So Sisimai::Reason::TooManyConn is the little vibe-checker that decides whether a bounce reason is "toomanyconn" or not. That's it, that's the job. And listen β€” this class is called only by the Sisimai::Reason class. Nobody else gets to summon her, okay? She's exclusive. πŸ‘‘

What's the actual error, you ask? It's the one where the SMTP connection got rejected temporarily because there were too many concurrency connections hitting the remote server. Like, the server said "bestie, I'm at capacity, come back later." 😭 This reason got added in Sisimai 4.1.26, so if you're on something older... no she wasn't there yet, fr fr.

Here's what it actually looks like in the wild πŸ¦‹:

<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)

Iconic, honestly. That 452 4.3.2 is doing main character energy.


✨ CLASS METHODS ✨

text()

text() method returns the fixed string "toomanyconn". That's the whole personality. She said one word and it's the correct one. πŸ’…

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

match(string)

match() method returns 1 if the argument matched with patterns defined in this class. Feed her a string, she tells you yes or no. Very demure, very mindful. 🌸

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

true(Sisimai::Fact)

true() method returns 1 if the bounce reason is "toomanyconn". Heads up though β€” the argument must be a Sisimai::Fact object, no substitutes accepted. And same deal as before: this method is called only from the Sisimai::Reason class. 🧚


✨ AUTHOR ✨

azumakuniyuki β€” the icon, the legend, the moment. πŸ‘‘


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


✨ LICENSE ✨

This software is distributed under The BSD 2-Clause License. Go read it, it's short, it's giving responsible adult. πŸŽ€


πŸ’– tiny reminder bestie: don't go adding your own flags or "improvements" to this class, she's called by Sisimai::Reason and that's the whole arrangement.

okay that's the whole page!! and for the cute sign-off: this doc lives under perl v5.40.1, dated 2025-04-12, sitting pretty in the User Contributed Perl Documentation pile. bye bestie, go check your mail server's connection limits πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from