• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved Plesk Email Security bug aftermath - script to push server wide settings to all mailboxes

TomBoB

Silver Pleskian
Server operating system version
AlmaLinux 8.10
Plesk version and microupdate number
Plesk 18.0.68 #1
In order to resolve the non-delivery of mails during the PES bug the PES extension was removed, then reloaded. Resolved it on most servers but had the after effect that the mailbox security settings were reset to default (for most).
Server wide security settings are as they should be. Custom level, send to Spam folder, certain allow and block lists.
Anyone know which CLI command to use to push those server wide settings to all mailboxes on an effected server?
 
Thanks for the question, Tom. For anyone else who might come across this issue, you should be able to achieve that using the following command:

plesk ext email-security --settings-reset-policy

(Reset spam policy to server default for all users - no values)

To be on the safe side, please create a backup copy beforehand, just in case:

plesk db dump emailsecurity > emailsecurity.sql
 
Back
Top