SYMPA::SPINDLE::AUTHORIZEMESSAGE(3Sympa)

πŸ’– Sympa::Spindle::AuthorizeMessage πŸ’–

okay bestie, so the manual name is Sympa::Spin...rizeMessage(3Sympa) and this whole thing is about the AuthorizeMessage class β€” the workflow that authorizes messages bound for lists. yes, the whole gatekeeper era. ✨


🌸 NAME 🌸

Sympa::Spindle::AuthorizeMessage β€” the workflow that authorizes messages bound for lists. it's giving bouncer at the club, but make it Perl. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

Sympa::Spindle::AuthorizeMessage authorizes messages and stores them into confirmation spool, moderation spool or the lists. three possible homes, one very hardworking class. no cap.

  • Messages fetched from incoming ("msg") spool or held ("auth") spool may be passed to this class β€” but messages fetched from moderation spool won't be passed to this class, so don't even try it, that's not her lane. πŸ™…β€β™€οΈ
  • Then this class checks the message with "send" scenario. that's the vibe check right there.
  • According to the results of scenario processing, each message is passed to any of classes for succeeding processing:
    • Sympa::Spindle::DistributeMessage for "do_it" (except if tagging topics is required or when personalization failed)
    • Sympa::Spindle::ToHeld for "request_auth" (except if personalization failed)
    • Sympa::Spindle::ToModeration for "editorkey" (except if personalization failed)
    • Sympa::Spindle::ToEditor for "editor"
    • otherwise reject it 😭

If the message was confirmed, i.e. it has been fetched from held spool and at last decided to be distributed, "X-Validation-By" header field is added. If the message at last will be distributed, "{shelved}" attribute (see Sympa::Message) is added as necessity. little tracker, little receipt, we love a paper trail. πŸŽ€

πŸ‘‘ Public methods πŸ‘‘

See also "Public methods" in Sympa::Spindle β€” the family tree is right there, iykyk.

  • new ( key => value, ... ) β€” In most cases, Sympa::Spindle::DoMessage splices messages to this class. This method is not used in ordinal case. so like, it's real, it exists, but it's not the main character here. πŸ’€
  • spin ( ) β€” Not implemented. that's it. that's the whole thing. bestie is on break. πŸ™ˆ

🌈 SEE ALSO 🌈

  • Sympa::Internals::Workflow.
  • Sympa::Message, Sympa::Scenario, Sympa::Spindle::DistributeMessage, Sympa::Spindle::DoMessage, Sympa::Spindle::ProcessHeld, Sympa::Spindle::ToEditor, Sympa::Spindle::ToHeld, Sympa::Spindle::ToModeration, Sympa::Spool::Topic.

the whole friend group, assembled. 🫢


⭐ HISTORY ⭐

Sympa::Spindle::AuthorizeMessage appeared on Sympa 6.2.13. glow-up origin story, honestly iconic. πŸ”₯


and that's the tea, bestie β€” this page lives in sympa version 6.2.80, dated 2026-10-19. take care of her, she's been holding down the authorize-message game since 6.2.13 πŸ’œβœ¨

πŸ“¦ where this page comes from