Sympa::Spindle::TransformIncoming.3Sympa
Process to transform messages — first stage
Description
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, ifcustom_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.
Caveat
- Transformation by this class can break integrity of DKIM signature, because some header fields including
From
,Message-ID
andSubject
may be altered.
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.
Info
2024-08-22 sympa 6.2.72