logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Caveat

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

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, 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.

History

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

6.2.76                                             2025-02-12          Sympa::Spindle::TransformIncoming(3Sympa)

Name

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

See Also

       Sympa::Internals::Workflow.

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

See Also