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.
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug
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