Sympa::Spi...essIncoming(3Sympa)
π NAME π
Sympa::Spindle::ProcessIncoming β the whole workflow of processing incoming messages, bestie. Like, the bouncer at the club door for your mail. β¨
πΈ SYNOPSIS πΈ
use Sympa::Spindle::ProcessIncoming;
my $spindle = Sympa::Spindle::ProcessIncoming->new;
$spindle->spin;
That's it. That's the whole vibe. π«Ά
π¦ DESCRIPTION π¦
So Sympa::Spindle::ProcessIncoming defines the workflow that processes incoming messages. It's giving main character of the incoming spool. π
The way that when the spin() method gets invoked, it literally reads the messages sitting in the incoming spool and then either rejects, quarantines or modifies them. No cap. And the processing happens in this exact order, so pay attention bestie:
- Checks if the message has a message ID and a sender β and if it does not, it quarantines it. Because those kinds of messages are gonna be a source of various troubles, fr fr. π
- Checks if the robot the message is bound for actually exists β and if it doesn't, it rejects it. Bye. π
- Checks spam status, DKIM signature and S/MIME signature, and decrypts the message if possible. The result of all these checks gets stored in the message object and then used in the succeeding process. iykyk.
- If the message is bound for a list, checks if that list exists β and if it doesn't, rejects it. Not on my watch. π
- Loop prevention. If a loop is detected, it ignores the message. Periodt.
- Virus checking, if it's enabled by configuration. And if malware is detected, it rejects or discards the message. π₯
- Splices the message to the appropriate class according to the type of message:
Sympa::Spindle::DoCommandfor a command message;Sympa::Spindle::DoForwardfor a message bound for the administrator;Sympa::Spindle::DoMessagefor an ordinal post.
The order used to process messages in the source spool is controlled by the modification time of files and the delivery date. And some messages get skipped according to these priorities (see Sympa::Spool::Incoming):
- Messages with the lowest priority (
"z"or"Z") are skipped. Yeah, ghosted. π - Messages with possibly higher priority are chosen. This is done by skipping messages with a lower priority than those already found.
β¨ Public methods β¨
Also see "Public methods" in Sympa::Spindle. Slay.
new ( [ keepcopy => $directory ], [ lang => $lang ], [ log_level => $level ], [ log_smtp => 0|1 ] )<br>spin ( )
new() may take the following options:
keepcopy => $directoryβspin()keeps a copy of successfully processed messages in$directory. Little souvenir, adorable. πlang => $langβ Overwrites thelangparameter in configuration.log_level => $levelβ Overwrites thelog_levelparameter in configuration.log_smtp => 0|1β Overwrites thelog_smtpparameter in configuration.
π§ Properties π§
Also see "Properties" in Sympa::Spindle.
{distaff}β Instance of theSympa::Spool::Incomingclass.
π SEE ALSO π
Sympa::Message, Sympa::Spindle, Sympa::Spindle::DoCommand, Sympa::Spindle::DoForward, Sympa::Spindle::DoMessage, Sympa::Spool::Incoming.
π HISTORY π
Sympa::Spindle::ProcessIncoming appeared on Sympa 6.2.13. Baby's first glow-up. π
and that's the whole page, bestie β this was the Sympa::Spindle::ProcessIncoming(3Sympa) manual, straight outta sympa 6.2.80, dated 2026-10-19. mwah, go process some messages, ily πβ¨
π¦ 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