Sympa::Spindle::ProcessIncoming.3Sympa - Man Page

Workflow of processing incoming messages

Synopsis

  use Sympa::Spindle::ProcessIncoming;

  my $spindle = Sympa::Spindle::ProcessIncoming->new;
  $spindle->spin;

Description

Sympa::Spindle::ProcessIncoming defines workflow to process incoming messages.

When spin() method is invoked, it reads the messages in incoming spool and rejects, quarantines or modifies them. Processing are done in the following order:

Order to process messages in source spool are controlled by modification time of files and delivery date. Some messages are skipped according to these priorities (See Sympa::Spool::Incoming):

Public methods

See also “Public methods” in Sympa::Spindle.

new ( [ keepcopy => $directory ], [ lang => $lang ], [ log_level => $level ], [ log_smtp => 0|1 ] )
spin ( )

new() may take following options:

keepcopy => $directory

spin() keeps copy of successfully processed messages in $directory.

lang => $lang

Overwrites lang parameter in configuration.

log_level => $level

Overwrites log_level parameter in configuration.

log_smtp => 0|1

Overwrites log_smtp parameter in configuration.

Properties

See also “Properties” in Sympa::Spindle.

{distaff}

Instance of Sympa::Spool::Incoming class.

See Also

Sympa::Message, Sympa::Spindle, Sympa::Spindle::DoCommand, Sympa::Spindle::DoForward, Sympa::Spindle::DoMessage, Sympa::Spool::Incoming.

History

Sympa::Spindle::ProcessIncoming appeared on Sympa 6.2.13.

Info

2021-03-02 sympa 6.2.60