• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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