• 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

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