• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

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