SYMPA::SPINDLE::PROCESSAUTOMATIC(3Sympa)

πŸ’– NAME πŸ’–

Sympa::Spindle::ProcessAutomatic β€” the workflow that handles automatic list creation, bestie. Like, it's the vibe of "a message came in for a list that doesn't exist yet, should we make it?" ✨

Also hi, this is page Sympa::Spin...ssAutomatic(3Sympa) β€” the 3Sympa manual section, in case you were wondering where you even are rn 🫢


🌸 SYNOPSIS 🌸

use Sympa::Spindle::ProcessAutomatic;

my $spindle = Sympa::Spindle::ProcessAutomatic->new;
$spindle->spin;

That's it, that's the whole thing. Three lines. Iconic behavior honestly πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so Sympa::Spindle::ProcessAutomatic defines the workflow for processing messages that are all about automatic list creation. It's giving "the list doesn't exist yet but we're about to fix that" energy.

The way that spin() works: when you invoke it, it reads the messages sitting in the automatic spool. Then β€” and this is the main character moment β€” if the list that a message is bound for hasn't been created yet, and list creation is authorized, boom πŸ’₯ it gets created. Slay.

After that, the message gets stored into the incoming message spool again, and it just chills there waiting to be processed by Sympa::Spindle::ProcessIncoming. Passing the baton, fr fr πŸƒβ€β™€οΈ

The order in which messages in the source spool get processed is controlled by the modification time of files and the delivery date. Some messages get skipped according to these priorities (peep Sympa::Spool::Automatic for the full tea):

  • Messages with the lowest priority ("z" or "Z") are skipped. Sorry bestie, you're not the moment πŸ’€
  • Messages with possibly higher priority are chosen. How? By skipping messages that have lower priority than ones already found. It's a whole competition and only the highest priority eats πŸ“

✨ Public methods ✨

Also see "Public methods" in Sympa::Spindle, if you want the extended lore.

new ( [ keepcopy => $directory ], [ log_level => $level ], [ log_smtp => 0|1 ] )

spin ( )

Not me putting the options under a method listing, but that's literally how the original rolls, so. new() may take the following options:
  • keepcopy => $directory β€” spin() keeps a copy of all the successfully processed messages in $directory. Memory-keeping queen πŸ’…
  • log_level => $level β€” Overwrites the log_level parameter in the configuration.
  • log_smtp => 0|1 β€” Overwrites the log_smtp parameter in the configuration.

🌈 Properties 🌈

See also "Properties" in Sympa::Spindle for the full set.

  • {distaff} β€” an instance of the Sympa::Spool::Automatic class. Yes, distaff, yes it's a vibe 🌾

πŸ‘‘ SEE ALSO πŸ‘‘

  • Sympa::Message
  • Sympa::Spindle
  • Sympa::Spool::Automatic
  • Sympa::Spool::Incoming

Go read those too, no cap, they're the supporting cast 🫢✨


πŸŽ€ HISTORY πŸŽ€

Sympa::Spindle::ProcessAutomatic appeared on Sympa 6.2.10. A debut era, honestly 🌟


And that's a wrap, bestie πŸ’œ β€” this was Sympa::Spin...ssAutomatic(3Sympa) from Sympa 6.2.80, dated 2026-10-19. Now go spin some messages, you absolute icon πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from