• 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.

Resolved Fast or temporar disable of greylisting spam protection?

Dirk

Basic Pleskian
Hi guys,
is there a way to easily and/or temporarily disable the greylisting option from an Emailaddress?
I sometimes need to receive emails (eg like password recoverings) fast and the greylist option takes too long in those cases.
So, is there a shortcut, or a script or ANYTHING to switch on/off this setting quickly? Or even something to swith it off only for 5 Minutes or so?
 
Disable GL for mailbox with:

# plesk bin grey_listing -um [email protected] -status off

for domain:

# plesk bin grey_listing -ud domain.tld -status off
 
Ah, one more question. I would like to build a php script that will toggle the greylist on/off with each run.
Turn off is
# plesk bin grey_listing -um [email protected] -status off

Turn on is
# plesk bin grey_listing -um [email protected] -status on

But is there a way to get an output of the current state to enable a toggle?
 
Just check these options:

# plesk bin grey_listing --help
....
--info-mailname or -im <mail@domain> retrieves grey listing settings for given mailname
--info-domain or -id <domain> retrieves grey listing settings for given domain
--info-server or -i retrieves server wide grey listing settings
 
Just check these options:

# plesk bin grey_listing --help
....
--info-mailname or -im <mail@domain> retrieves grey listing settings for given mailname
--info-domain or -id <domain> retrieves grey listing settings for given domain
--info-server or -i retrieves server wide grey listing settings
OK, thnx :)
 
Back
Top