Sympa::Spi...sModeration(3Sympa)

πŸ’– Sympa::Spindle::ProcessModeration β€” Workflow of message moderation πŸ’–

okay bestie, so this is a page from the sympa manual (section 3Sympa), and it's literally about the whole vibe of moderating messages. no cap. let's get into it ✨


πŸŽ€ NAME πŸŽ€

Sympa::Spindle::ProcessModeration β€” the workflow of message moderation. it's giving "the bouncer at the club door for your mailing list" energy fr fr.


🌸 SYNOPSIS 🌸

use Sympa::Spindle::ProcessModeration;

my $spindle = Sympa::Spindle::ProcessModeration->new(
    distributed_by => $email, context => $robot, authkey => $key);
$spindle->spin;

look at her. iconic. πŸ’…


✨ DESCRIPTION ✨

So Sympa::Spindle::ProcessModeration defines the workflow for moderation of messages. that's the whole job, that's the assignment, and she ate.

When the spin() method gets invoked, it reads a message that's chillin' in the moderation spool and then either distributes it or rejects it. That's it. That's the lore.

And here's the important part, listen up: whether distribution or rejection failed or not, spin() will terminate processing. Like, she's done after one pass, no lingering, no waiting around. If it failed, the message gets kept in the spool and it just… waits for moderation again. πŸ™ˆ (yes, she'll be back.)

πŸ‘‘ Public methods

also go check out "Public methods" in Sympa::Spindle for the bigger picture, bestie.

πŸ’« new ( distributed_by => $email | rejected_by => $email, context => $context, authkey => $key, [ quiet => 1 ] )

πŸ’« spin ( )

so new() must take the following options β€” not optional optional, like required required:

  • distributed_by => $email | rejected_by => $email β€” the e-mail address of the user who distributed or rejected the message. It's given by the DISTRIBUTE or REJECT command. so like, who did the thing? this is how we know.
  • context => $context and authkey => $key β€” the context (either a List or a Robot) plus the authorization key, which together are what specify which message in the spool we're talking about. pinpoint accuracy, periodt.
  • quiet => 1 β€” if this one's set, the automatic replies that report the result of processing back to the user (you know, the ones for "distributed_by" and "rejected_by") will not be sent. silent mode activated, no notifications, shhh 🀫

πŸ¦‹ Properties

and also peep "Properties" in Sympa::Spindle while you're there.

  • {distaff} β€” an instance of the Sympa::Spool::Moderation class. she's the sister object, the sidekick, the co-star.
  • {finish} β€” 'success' gets set if processing succeeded. 'failure' gets set if processing failed. binary queen, no in-between 🌈

πŸ”₯ SEE ALSO πŸ”₯

  • Sympa::Message
  • Sympa::Spindle
  • Sympa::Spindle::DistributeMessage
  • Sympa::Spool::Moderation

πŸ“œ HISTORY πŸ“œ

Sympa::Spindle::ProcessModeration appeared on Sympa 6.2.13. a legend was born, your fave could never ⭐


and that's the whole page, bestie!! this was version 6.2.80, dated 2026-10-19, hanging out in the sympa 6.2.80 manual under Sympa::Spi...sModeration(3Sympa). mwah, go moderate something responsibly πŸ’œπŸ«Ά

πŸ“¦ where this page comes from