Sympa::Spi...ormIncoming(3Sympa)

πŸ’– Sympa::Spindle::TransformIncoming πŸ’–

okay bestie, welcome to the first stage of message transformation, no cap. This is Sympa::Spindle::TransformIncoming from the 3Sympa manual, and she's literally the opening act β€” the main character who goes on before the archive spool era begins. This stage gets put before storing messages into the archive spool (peep Sympa::Spindle::DistributeMessage if you wanna see what happens next, iykyk).


✨ DESCRIPTION ✨

So this class runs the first stage of message transformation before the message gets sent through the list. She sits right before messages get stored into the archive spool. The transformation glow-up happens in this exact order, and we do not skip steps:

  1. Runs the pre_distribute hook of message hooks, but only if it's available. πŸ‘‘
  2. Adds an X-Sympa-Topic header field, if any message topics (check Sympa::Spool::Topic bestie) got tagged for the message.
  3. Anonymizes the message, if the anonymous_sender list configuration parameter is enabled. incognito mode fr fr πŸ™ˆ
  4. Adds the custom subject tag to the Subject field, if the custom_subject list configuration parameter is available. Cute little label moment πŸŽ€
  5. Enables message tracking (go look at Sympa::Tracking) if necessary. πŸ‘€
  6. Removes the header fields specified by remove_headers. bye bye headers πŸ’…

Then, once she's done all that, this class passes the message along to the next stage of transformation. Iconic. That's the whole vibe.


⚠️ CAVEAT ⚠️

  • Transformation by this class can break the integrity of your DKIM signature, because some header fields β€” including From, Message-ID and Subject β€” may be altered. Not me messing with your signature 😭 so just be aware, okay?

🌈 SEE ALSO 🌈

Sympa::Internals::Workflow.

Sympa::Message, Sympa::Message::Plugin, Sympa::Spindle, Sympa::Spindle::DistributeMessage, Sympa::Spool::Topic, Sympa::Tracking.


πŸ“œ HISTORY πŸ“œ

Sympa::Spindle::TransformIncoming appeared on Sympa 6.2.13. She's been serving looks since day one, periodt. ⭐


mwah, that's a wrap, bestie 🫢 this page came to you from version 6.2.80, dated 2026-10-19 β€” the 3Sympa manual section, always and forever. Go slay those transformations πŸ’–βœ¨

πŸ“¦ where this page comes from