Scroll to navigation

Sympa::Spool::Auth(3Sympa) sympa 6.2.72 Sympa::Spool::Auth(3Sympa)

NAME

Sympa::Spool::Auth - Spool for held requests waiting for moderation

SYNOPSIS

  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);

DESCRIPTION

Sympa::Spool::Auth implements the spool for held requests waiting for moderation.

Methods

See also "Public methods" in Sympa::Spool.

Context may be either instance of Sympa::List or Sympa::Family, or robot.
If the pairs describing metadatas are specified, contents returned by next() are filtered by them.

Order of items returned by next() is controlled by time of submission.

Does nothing.

Context and metadata

See also "Marshaling and unmarshaling metadata" in Sympa::Spool.

This class particularly gives following metadata:

{action}
Action requested. 'add' etc.
{date}
Unix time when the request was submitted.
{email}
E-mail of user who submitted the request, or target e-mail of the request.
{keyauth}
Authentication key generated automatically when the request is stored to spool.

CONFIGURATION PARAMETERS

Following site configuration parameters in sympa.conf will be referred.

Directory path of held request spool.

Note: Named such by historical reason.

SEE ALSO

sympa_msg(8), wwsympa(8), Sympa::Request, Sympa::Spool.

HISTORY

Sympa::Spool::Request appeared on Sympa 6.2.10. It was renamed to Sympa::Spool::Auth on Sympa 6.2.13.

2024-07-15 6.2.72