Sisima...ailure(3pm)
π Sisimai::Reason::AuthFailure π
okay bestie so this is a page from the User Contributed Perl Documentation (that's the 3pm section, iykyk) and it's literally all about one tiny little class that does one tiny little job. iconic behaviour tbh.
β¨ NAME β¨
Sisimai::Reason::AuthFailure β it checks whether a bounce reason is "authfailure" or not. that's it. that's the whole gig. π
π SYNOPSIS π
use Sisimai::Reason::AuthFailure;
print Sisimai::Reason::AuthFailure->match('5.7.9 Header error'); # 1
see, you call it, you get a 1. slay. β¨
πΈ DESCRIPTION πΈ
so "Sisimai::Reason::AuthFailure" checks if the bounce reason is "authfailure" or not. and listen β this class is only called by the "Sisimai::Reason" class. it's not out here doing its own thing, it's a supporting character. but honestly? it's giving main character energy anyway. π«Ά
this is the error you get when some kind of authentication failure related to SPF, DKIM, or DMARC was detected on a destination mail host. yeah. the big three. the auth trio. π
Action: failed
Status: 5.7.1
Remote-MTA: dns; smtp.example.com
Diagnostic-Code: smtp; 550 5.7.1 Email rejected per DMARC policy for example.org
literally the "sorry babe, your DKIM said no" of email. π
π CLASS METHODS π
π "text()"
text() method returns the fixed string "authfailure". like, it just says the thing. no notes. perfect.
print Sisimai::Reason::AuthFailure->text; # authfailure
π¦ "match(string)"
match() method returns 1 if the argument matched with patterns defined in this class.
print Sisimai::Reason::AuthFailure->match('5.7.0 SPF Check: fail'); # 1
pass it a string, get a 1 if it vibes with the patterns in here. vibe check passed bestie β
π "true(Sisimai::Fact)"
true() method returns 1 if the bounce reason is "authfailure". no cap.
β οΈ heads up: the argument must be a"Sisimai::Fact"object, and this method is called only from the"Sisimai::Reason"class. so don't go calling it from just anywhere, she's got a very specific social circle. π
π« AUTHOR π«
azumakuniyuki
π COPYRIGHT π
Copyright (C) 2022-2026 azumakuniyuki, All rights reserved.
π§ LICENSE π§
This software is distributed under The BSD 2-Clause License. go forth and distribute, respectfully. π
and that's the whole page babes!! this gem was served up by perl v5.40.1 on 2026-07-05 (that's the footer, she's dated, she's versioned, she's thriving β¨ππ
). mwah, bye!! π«Ά
π¦ where this page comes from
- ubuntu stonking: libsisimai-perl 5.7.0-1 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms