• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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