Znuny/Znuny LTS is a fork of the ((OTRS)) Community Edition, one of the most flexible web-based ticketing systems used for Customer Service, Help Desk, IT Service Management.
This mod adds new sysconfig parameter Ticket::EventModulePost###9996-LearnSpam that when enabled allows to mark ticket (using ticket text dynamic field PendingSpamLearningOperation which must exist in system, best as internal dynamic field) for learning as spam or as ham.
SpamQueues value in Ticket::EventModulePost###9996-LearnSpam must contain names of all spam queues (::: separated).
TrashQueues value in Ticket::EventModulePost###9996-LearnSpam must contain names of all trash queues (::: separated).
Ticked is marked for learning as spam (PendingSpamLearningOperation dynamic field set to "spam") when is moved from non-spam queue to spam queue.
Ticked is marked for learning as ham (PendingSpamLearningOperation dynamic field set to "ham") when is moved from spam or trash queue to non-spam, non-trash queue.
When option NewStateAfterMarkingSpam is defined, ticket state is changed to specified state after ticket is marked for learning as spam.
This mod introduces otrs.Console.pl Maint::Ticket::SpamAssassinLearn command (requires https://metacpan.org/pod/Mail::SpamAssassin::Client) to allow sending marked tickets (all customer e-mail messages from ticket) for learning in SpamAssassin service (PendingSpamLearningOperation is deleted from ticket after successfull learning). This task may be executed periodically by application daemon when parameter Daemon::SchedulerCronTaskManager::Task###SpamAssassinLearn is enabled and configured in SysConfig.
Type of change
'1 - š feature' - New feature (which adds functionality to an existing integration)
Additional information
Author-Change-Id: IB#1110581
Checklist
[x] The code change is tested and works locally.(ā)
[x] There is no commented out code in this PR.(ā)
[ ] You improved or added new unit tests.(ā)
[x] Local ZnunyCodePolicy passed.(ā)
[x] Local UnitTests / Selenium passed.(ā)
[ ] GitHub workflow CI (UnitTests / Selenium) passed.(ā)
Proposed change
This mod adds new sysconfig parameter
Ticket::EventModulePost###9996-LearnSpam
that when enabled allows to mark ticket (using ticket text dynamic fieldPendingSpamLearningOperation
which must exist in system, best as internal dynamic field) for learning as spam or as ham.SpamQueues
value inTicket::EventModulePost###9996-LearnSpam
must contain names of all spam queues (:::
separated).TrashQueues
value inTicket::EventModulePost###9996-LearnSpam
must contain names of all trash queues (:::
separated).Ticked is marked for learning as spam (PendingSpamLearningOperation dynamic field set to "spam") when is moved from non-spam queue to spam queue.
Ticked is marked for learning as ham (PendingSpamLearningOperation dynamic field set to "ham") when is moved from spam or trash queue to non-spam, non-trash queue.
When option
NewStateAfterMarkingSpam
is defined, ticket state is changed to specified state after ticket is marked for learning as spam.This mod introduces
otrs.Console.pl Maint::Ticket::SpamAssassinLearn
command (requires https://metacpan.org/pod/Mail::SpamAssassin::Client) to allow sending marked tickets (all customer e-mail messages from ticket) for learning in SpamAssassin service (PendingSpamLearningOperation is deleted from ticket after successfull learning). This task may be executed periodically by application daemon when parameterDaemon::SchedulerCronTaskManager::Task###SpamAssassinLearn
is enabled and configured in SysConfig.Type of change
Additional information
Author-Change-Id: IB#1110581
Checklist