• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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