Sympa::Spool::Auth(3Sympa)
π Sympa::Spool::Auth π
okay bestie, so this one is Sympa::Spool::Auth(3Sympa) β part of the sympa 6.2.80 era, and it's literally the holding pen for requests that are just sitting there waiting for a human to moderate them. think of it like the group chat's "pending approval" queue, except it's for mailing list requests. iconic behavior honestly. β¨
πΈ NAME πΈ
Sympa::Spool::Auth β the spool for held requests waiting for moderation. yep, that's the whole vibe. requests go in, they chill, mods decide their fate. π
π¦ SYNOPSIS π¦
like, here's how you'd actually use it:
use Sympa::Spool::Auth;
my $spool = Sympa::Spool::Auth->new;
my $request = Sympa::Request->new(...);
$spool->store($request);
my $spool = Sympa::Spool::Auth->new(
context => $list, action => 'add');
my $size = $spool->size;
my $spool = Sympa::Spool::Auth->new(
context => $list, keyauth => $id, action => 'add');
my ($request, $handle) = $spool->next;
$spool->remove($handle);
see? store it, check the size, pull the next one, remove it when you're done. it's giving workflow. π
π DESCRIPTION π
Sympa::Spool::Auth implements the spool for held requests waiting for moderation. that's the whole job and it does it flawlessly, no notes. π
β¨ Methods β¨
also peep "Public methods" in Sympa::Spool β there's more where this came from, bestie.
new ( [ context => $that ], [ action => $action ], [ keyauth => $id ], [ email => $email ] )β makes a new one, obviously.contextcan be an instance ofSympa::ListorSympa::Family, or a robot. so like, pick your context and go off. π«Άnext ( [ no_lock => 1 ] )β hands you the next item. if you specified those pairs describing metadatas, then whatevernext()returns gets filtered by them. and the order of the items coming out ofnext()? that's controlled by the time of submission, so it's first-come-first-served, lowkey fair. β°quarantine ( )β does nothing. literally nothing. it's the main character who shows up, says nothing, and leaves. we respect it anyway. π
π§ Context and metadata π§
also check out "Marshaling and unmarshaling metadata" in Sympa::Spool for the full tea. this class specifically serves up the following metadata:
{action}β the action that was requested. like'add'and etc. π{date}β the Unix time when the request was submitted. timestamped, fr fr. π{email}β the e-mail of the user who submitted the request, or the target e-mail of the request. either or, both valid. π§{keyauth}β the authentication key generated automatically when the request is stored to spool. you didn't make it, the system did. slay. π
π CONFIGURATION PARAMETERS π
the following site configuration parameters in sympa.conf will be referred to. so like, go check your config before you come crying to me. π
queuesubscribeβ directory path of the held request spool. that's where the pile lives.
Note: it's named such by historical reason. yes it's a weird name. no we're not changing it. it's giving legacy, and we move. π
π SEE ALSO π
sympa_msg(8), wwsympa(8), Sympa::Request, Sympa::Spool. go read those too, bestie, they're all in the same friend group. π«
β HISTORY β
Sympa::Spool::Request appeared on Sympa 6.2.10. then it was renamed to Sympa::Spool::Auth on Sympa 6.2.13. so if you're reading old docs and it's called the wrong thing, that's why. glow-up behavior honestly. π¦
and that's the whole page, periodt. π big kisses from the sympa 6.2.80 era, dated 2026-10-19 β go hold some requests for moderation, you've got this. π β¨
π¦ 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