Sympa::Spool::Incoming(3Sympa)
π Sympa::Spool::Incoming(3Sympa)
okay bestie, this is a page from the sympa 6.2.80 manuals (yes the whole "3Sympa" thing is just the section, we don't gotta talk about it) and it's all about the spool where your incoming messages land. group chat for email, basically. let's get into it π
β¨ NAME β¨
Sympa::Spool::Incoming β the spool for incoming messages. that's it, that's the vibe. it's the inbox pile before anything else touches it π
πΈ SYNOPSIS πΈ
use Sympa::Spool::Incoming;
my $spool = Sympa::Spool::Incoming->new;
$spool->store($message);
my ($message, $handle) = $spool->next;
literally four lines and you're already storing and pulling messages. iconic behavior, no notes π«Ά
π DESCRIPTION π
Sympa::Spool::Incoming implements the spool for incoming messages. think of it as the landing zone β messages show up here first and then the rest of the pipeline deals with them. main character energy fr fr β¨
π¦ Methods
also peep "Public methods" in Sympa::Spool for the stuff it inherits, bc this class is not doing all the work alone.
next ( [ no_filter => 1 ], [ no_lock => 1 ] )β grabs the next message off the spool. the order is controlled by the modification time of the file and the delivery date, and then β ifno_filteris not set β messages that might have higher priority get picked first, and the messages with the lowest priority ("z"or"Z") get skipped entirely. so like, it's a whole queue with opinions and we respect that πstore ( $message, [ original => $original ] )β puts a message into the spool. in most cases it's thequeue(8)program that stores messages into the incoming spool, but a daemon likesympa_automatic(8)also uses this method to store messages. team effort bestie π
π Context and metadata
also check "Marshaling and unmarshaling metadata" in Sympa::Spool for how this whole metadata thing works, iykyk.
this class is extra special and hands you this one piece of metadata in particular:
{date}β Unix time for when the message would be delivered. the when, the moment, the timestamp of it all β
π CONFIGURATION PARAMETERS π
these site configuration parameters in sympa.conf get referred to, so write them down bestie:
queueβ the directory path of the incoming spool. that's where the messages live π
π SEE ALSO π
sympa_automatic(8), sympa_msg(8), Sympa::Message, Sympa::Spool. go read them, they're part of the lore π
π HISTORY π
Sympa::Spool::Incoming appeared on Sympa 6.2.5. baby's first release, and now look at it ππ₯
π«Ά friendly little heads-up:nextskips the"z"/"Z"lowest-priority messages unless you passno_filter => 1β so don't come for me when they don't show up, that's just the filtering doing its thing, periodt.
k that's the whole page bestie, go slay some spooling πβ¨ this was sympa 6.2.80, dated 2026-10-19 β catch you on the next manpage, mwah ππ¦
π¦ 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