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 theDISTRIBUTEorREJECTcommand. so like, who did the thing? this is how we know.context => $contextandauthkey => $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 theSympa::Spool::Moderationclass. 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::MessageSympa::SpindleSympa::Spindle::DistributeMessageSympa::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
- fedora 43: sympa-devel-doc 6.2.80-2.fc43 Β· GPL-2.0-or-later AND (OFL-1.1-RFN AND MIT) AND OFL-1.1-RFN AND MIT and (MIT OR GPL-2.0-only)
- fedora 44: sympa-devel-doc 6.2.80-2.fc44 Β· GPL-2.0-or-later AND (OFL-1.1-RFN AND MIT) AND OFL-1.1-RFN AND MIT and (MIT OR GPL-2.0-only)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms