• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Forwarded to devs Plesk Email Security spam email deleted are treated as ham

oskar.szafraniec

New Pleskian
Username:

TITLE

Plesk Email Security spam email deleted are treated as ham

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Debian 9.13
Plesk 18.0.44

PROBLEM DESCRIPTION

I noticed that when some users delete emails from Spam folder (moved to Trash) sa-learn --ham is fired on it. Change in es-report-ham.sieve listed below solves the problem. Can someone from Plesk Team check it? After some updates (i think from Plesk Email Security ext) I have to change this by hand. I think this can happen when a mailbox value is not Trash but INBOX.Trash.

STEPS TO REPRODUCE

Delete email from Spam folder, so it is moved to Trash.

ACTUAL RESULT

sa-learn --ham process is fired so the email is treaded as HAM

EXPECTED RESULT

Email should be just moved without starting sa-learn process

ANY ADDITIONAL INFORMATION

Below chenge fixes it in my case.

# diff es-report-ham.sieve.org es-report-ham.sieve 7c7 < if string "${mailbox}" "Trash" { --- > if string :matches "${mailbox}" "*Trash" {

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Thank you for reporting. In case you need to contact support on this issue, please provide the internal ID [PPS-13846].
 
Back
Top