NAME
Sympa::Spindle::TransformIncoming - 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::Message, Sympa::Message::Plugin, Sympa::Spindle, Sympa::Spindle::DistributeMessage, Sympa::Spool::Topic, Sympa::Tracking.
HISTORY
Sympa::Spindle::TransformIncoming appeared on Sympa 6.2.13.