• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

disable automatic greylisting activation for new domains

ESTUGO

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