• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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