• 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.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

Question Email Security Pro command line per user settings

Mike99

Basic Pleskian
Hi, I would like to purchase Email Security Pro, but I am unable to find a way how to enable/disable the

Spam action > Block | Mark | Move by CLI or API on per user/domain basis.

My point is, Plesk is behind our own control panel, so customers don't access plesk, default settings are Move spam to folder .Spam, but for POP3 users, I would like to enable Mark option.

I reviewed # plesk ext email-security --help, but only global settings are supported, anyone knows anything more specific to per user settings?

# plesk ext email-security

Available commands:
--help Display this help page
--setup Finalize extension installation - return codes: [0] setup started, [1] setup is running, [2] setup completed
--settings-score Set the global spam score - allowed values: numbers >= 0
--settings-action Set the global spam action - allowed values: block, mark, move
--settings-tag Set the global spam tag to subject - allowed values: any string - dependency: action must be mark
--settings-mailbox Set the global move folder - allowed values: INBOX.Spam or INBOX.Trash
--settings-blacklist Set the global blacklist - allowed values: comma-separated list of email addresses - dependency: @ character mandatory
--settings-whitelist Set the global whitelist - allowed values: comma-separated list of email addresses - dependency: @ character mandatory
--settings-antivirus Enable/disable anti-viruse - allowed values: 0 / 1 - dependency: license
--settings-cleanup-lifetime Set the auto-cleanup lifetime in days - allowed values: numbers > 0
--settings-dns-bl Disable global DNS block lists (not specified lists are automatically enabled) - allowed values: mailspike, sorbs, spamcop, spamhaus, surbl, uribl
--settings-reset-policy Reset spam policy to server default for all users - no values
--settings-debug-amavis Set Amavis debug level - allowed values: 0 - 5
--settings-debug-spamassassin Enable/disable SpamAssassin debug level - allowed values: 0 / 1

Thanks!
 
Just to clarify,

I am trying to find a solution similar to:

# plesk bin spamassassin -u [email protected] -action move

But when I run this command with Plesk Security Pro extension installed (it removes the default spamassassin), so I get "Spamfilter is not installed" response.
 
Back
Top