• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

disable automatic greylisting activation for new domains

Jens Johansson

Basic Pleskian
Hi there,

how can I disable greylisting automatically for new domains in Plesk 12 and Plesk 12.5?

# Enable greylisting
Tools & Settings -> Spam Filter -> Switch on server-wide greylisting spam protection
-> This Option activated the Checkbox in the subscriptions under Mail -> Mail Settings -> Activate/Deactivate Services

# Disable greylisting for all domains with CLI:
cd /var/www/vhosts/system && for i in *; do echo $i; /usr/local/psa/bin/grey_listing --update-domain $i -status off; done

My problem:
If i add a new domain in a subscription, greylisting is automaticly activated, just because it's enabled on the server. How can I disable that automatic activation? It would be much better if customers have to activate greylisting manually in their settings, like the spamfilter. For now, we have to manually disable greylisting for each new domain, which is a bit inconvenient.
 
As possible solution you can use Event Manager. Just use your command for GL disabling for event "Domain created".
 
Back
Top