The setup_greylist_db Script
Valid for versions 82 through the latest version
Last modified: May 13, 2020
/usr/local/cpanel/scripts/setup_greylist_db script sets up the SQLite database for the cPanel Greylisting service. This script also allows you to add the IP address ranges for common email services.
Run the script
To run this script on the command line, use the following format:
Use the following options with this script:
||Initialize the database with the basic data structure.||
||Force the database to reset.
This option attempts to preserve the Trusted Hosts list if the server has the Greylisting service enabled.
||Add the IP address ranges for the specified email service. Specify this option more than once to trust multiple hosts at the same time. This script recognizes the following common email services: