• 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 BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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