DOKK / manpages / debian 10 / sympa / Sympa::Spool::Incoming.3sympa.en
Sympa::Spool::Incoming(3Sympa) sympa 6.2.40 Sympa::Spool::Incoming(3Sympa)

Sympa::Spool::Incoming - Spool for incoming messages

  use Sympa::Spool::Incoming;
  my $spool = Sympa::Spool::Incoming->new;
  $spool->store($message);
  my ($message, $handle) = $spool->next;

Sympa::Spool::Incoming implements the spool for incoming messages.

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

Order is controlled by modification time of file and delivery date, then, if "no_filter" is not set, messages with possibly higher priority are chosen and messages with lowest priority ("z" or "Z") are skipped.
In most cases, queue(8) program stores messages to incoming spool. Daemon such as sympa_automatic(8) uses this method to store messages.

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

This class particularly gives following metadata:

{date}
Unix time when the message would be delivered.

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

Directory path of incoming spool.

sympa_automatic(8), sympa_msg(8), Sympa::Message, Sympa::Spool.

Sympa::Spool::Incoming appeared on Sympa 6.2.5.

2020-12-10 6.2.40