Sisima...pressed(3pm)

πŸ“¦
version 5.7.0 Β· 3 versions
, in ubuntu stonking

πŸ’… NAME πŸ’…

Sisimai::Reason::Suppressed β€” so this is the little vibe-checker that decides whether a bounce reason is "suppressed" or not. That's it. That's the whole job. She's booked, she's busy, she's iconic. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

bestie, it's literally this simple:

use Sisimai::Reason::Suppressed;
print Sisimai::Reason::Suppressed->match('address neko@example.jp in the suppression list'); # 1

Like. That prints 1. Slay. πŸ’–


🌸 DESCRIPTION 🌸

Sisimai::Reason::Suppressed checks whether a bounce reason is "suppressed" or not. Heads up though β€” this class is called only by the Sisimai::Reason class. So it's not a "come hang out with everyone" class, it's a "called by the parent, does one thing perfectly" class. main character but make it exclusive. πŸ‘‘

So what even is this error? Okay so: this is the error where the recipient address is listed in the suppression list of the relay server, and therefore the message was not delivered. Not a bounce-bounce, not a "whoops the server tripped" β€” the relay literally looked at the address, saw it on the list, and went "nope, not today." πŸ™ˆ And the original manpage has a tiny lil typo where it says adddress β€” we keep it, we love it, it's canon. πŸŽ€


⭐ CLASS METHODS ⭐

πŸ’œ text()

text() method returns the fixed string "suppressed". That's the entire personality. Fixed. Unmovable. Periodt.

print Sisimai::Reason::Suppressed->text;  # suppressed

🩷 match(string)

match() method returns 1 if the argument matched with patterns defined in this class. No match? No 1. It's giving "binary queen." πŸ’…

print Sisimai::Reason::Suppressed->match('address cat@example.jp is in the suppression list'); # 1

🧚 true(Sisimai::Fact)

true() method returns 1 if the bounce reason is "suppressed". Big important caveat bestie: the argument must be a Sisimai::Fact object, and this method is called only from the Sisimai::Reason class. No sneaking in with a random string, she will not know what to do with you. 😭


πŸ‘‘ AUTHOR πŸ‘‘

azumakuniyuki


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


πŸ’– LICENSE πŸ’–

This software is distributed under The BSD 2-Clause License. Free as in yes-bestie, go read it. 🫢


okay so that's the whole page, no notes, no extra options, this module is short and she knows it. lowkey refreshing tbh.

from the perl v5.40.1 era, dated 2026-07-05, courtesy of the User Contributed Perl Documentation collection β€” eat your heart out, it's from 3pm and it ate. πŸ’€βœ¨

πŸ“¦ where this page comes from