Knowledgebase
The setup_greylist_db Script Print this Article
Overview:
The /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:
/usr/local/cpanel/scripts/setup_greylist_db [options]
Options
Use the following options with this script:
Options | Description | Example |
---|---|---|
--init |
Initialize the database with the basic data structure. | /usr/local/cpanel/scripts/ --init |
--reset |
Force the database to reset.
Note:
This option attempts to preserve the Trusted Hosts list if the server has the Greylisting service enabled.
|
/usr/local/cpanel/scripts/ --reset |
--trust |
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:
|
/usr/local/cpanel/scripts/ --trust aol |
Was this answer helpful?
Related Articles
WHM Scripts
Overview: The cPanel & WHM installation process adds important scripts to your server’s...
Overview: The cPanel & WHM installation process adds important scripts to your server’s...
The dbmaptool Script
Overview: You can use the /usr/local/cpanel/bin/dbmaptool script to grant ownership of databases...
Overview: You can use the /usr/local/cpanel/bin/dbmaptool script to grant ownership of databases...
The servers_queue Script
Overview: This script allows you to manage the task queue system. The task queue system allows...
Overview: This script allows you to manage the task queue system. The task queue system allows...
The auto-adjust-mysql-limits Script
Overview: The /usr/local/cpanel/scripts/auto-adjust-mysql-limits script updates MySQL®...
Overview: The /usr/local/cpanel/scripts/auto-adjust-mysql-limits script updates MySQL®...
The autossl_check Script
Overview: The /usr/local/cpanel/bin/autossl_check script allows you to manually check the SSL...
Overview: The /usr/local/cpanel/bin/autossl_check script allows you to manually check the SSL...