• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Forwarded to devs Error in auto-removing spam messages

Falk A.

New Pleskian
TITLE:
Error in auto-removing spam messages​
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
Plesk Onyx 17.5.3 Update #8
Ubuntu 14.04.5 LTS‬
​
PROBLEM DESCRIPTION:
Messages in spam folders are not deleted if message size is greater than msg_size_max="256000", not even after 30 days.

Reason:

See file /usr/local/psa/admin/sbin/spamtrain, function spam_learn():

...
# skip messages greater than size limit..
msg_size="`/usr/bin/stat -c '%s' \"$msg\"`"
if [ "$msg_size" -gt "$msg_size_max" ]; then
continue
fi

# Spam messages to remove from mailbox after training
if [ "$type" = "spam" -a "$msg_date" -lt "$expired_time" ]; then
echo "$msg" >> $spam_messages
fi
...

Possible solution:

Swap the order of these two checks.​
STEPS TO REPRODUCE:
  1. create spam message with size > 256000
  2. wait 31 days ;)
ACTUAL RESULT:
after 31 days message still exists​
EXPECTED RESULT:
after 31 days message should be removed​
ANY ADDITIONAL INFORMATION:
​
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Confirm bug​
 
Back
Top