Scroll to navigation

Sympa::Spindle::TransformIncoming(3Sympa) sympa 6.2.70 Sympa::Spindle::TransformIncoming(3Sympa)


Sympa::Spindle::TransformIncoming - Process to transform messages - first stage


This class executes the first stage of message transformation to be sent through the list. This stage is put before storing messages into archive spool (See also Sympa::Spindle::DistributeMessage). Transformation processes by this class are done in the following order:

  • Executes "pre_distribute" hook of message hooks if available.
  • Adds "X-Sympa-Topic" header field, if any message topics (see Sympa::Spool::Topic) are tagged for the message.
  • Anonymizes message, if "anonymous_sender" list configuration parameter is enabled.
  • Adds custom subject tag to "Subject" field, if "custom_subject" list configuration parameter is available.
  • Enables message tracking (see Sympa::Tracking) if necessary.
  • Removes header fields specified by "remove_headers".

Then this class passes the message to the next stage of transformation.


Transformation by this class can break integrity of DKIM signature, because some header fields including "From", "Message-ID" and "Subject" may be altered.



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


Sympa::Spindle::TransformIncoming appeared on Sympa 6.2.13.

2023-01-26 6.2.70