• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

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