Sisima...locked(3pm)

πŸ’… Sisimai::Reason::Blocked β€” the manual, but make it make sense

okay bestie, real talk: this is a page from the User Contributed Perl Documentation, section 3pm, and it's all about Sisimai::Reason::Blocked. Yes, the header technically reads Sisima...locked(3pm) because someone let the terminal truncate a perfectly good class name, and honestly? iconic behavior. πŸŽ€


✨ NAME ✨

Sisimai::Reason::Blocked β€” it tells you whether a bounce reason is "blocked" or not. That's it. That's the whole job. πŸ’–


✨ SYNOPSIS ✨

the little taste test, the vibe check, the "does this even work" moment:

use Sisimai::Reason::Blocked;
print Sisimai::Reason::Blocked->match('Access from ip address 192.0.2.1 blocked'); # 1

it prints 1, bestie. slay. ✨


✨ DESCRIPTION ✨

so "Sisimai::Reason::Blocked" checks whether the bounce reason is "blocked" or not. and this class? it's not a main character who shows up everywhere β€” it gets called only by "Sisimai::Reason" class. iykyk. 🫢

now for the actual lore: this is the error where the SMTP connection got rejected. not because of anything cute, no β€” because of a client IP address, or a hostname, or the parameters of a "HELO" or "EHLO" command. the server literally said "not you." 😭

and fun fact: this reason got added in Sisimai 4.0.0. a legend was born. πŸ’…

here's what it actually looks like in the wild:

<kijitora@example.net>:
Connected to 192.0.2.112 but my name was rejected.
Remote host said: 501 5.0.0 Invalid domain name

like, the hose said your name was rejected. rude. but that's the blocked reason, periodt. 🌸


✨ CLASS METHODS ✨

🌈 "text()"

text() returns the fixed string "blocked". no drama, no parameters, just the word. consistency is a love language. πŸ’–

print Sisimai::Reason::Blocked->text;  # blocked

🌈 "match(string)"

match() returns 1 if the argument matched with patterns defined in this class. simple as that. πŸ‘‘

print Sisimai::Reason::Blocked->match('Access from ip address 192.0.2.1 blocked');  # 1

🌈 "true(Sisimai::Fact)"

true() returns 1 if the bounce reason is "blocked". heads up though β€” the argument must be a "Sisimai::Fact" object, no substitutions, no plus-ones. and like the class itself, this method is called only from "Sisimai::Reason" class. it's giving exclusive invite only. πŸŽ€


✨ AUTHOR ✨

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


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


✨ LICENSE ✨

This software is distributed under The BSD 2-Clause License. go forth and share responsibly, bestie. πŸ“œβœ¨


and that's the whole page!! this manual was served up by perl v5.40.1 on 2026-07-05, so if you're reading this from the future β€” hi, ily, the blocked reason still goes hard. πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from