Knowledgebase
The manage_greylisting Script Print this Article
Overview:
The /usr/local/cpanel/scripts/manage_greylisting
manages the cPanel Greylisting service.
Run the script
To use the /manage_greylisting
script to manage the Greylisting service, run the following command:
/usr/local/cpanel/scripts/manage_greylisting [options]
Options
When you run the /manage_greylisting
script, you can specify the following options:
Option | Description | Example | ||
---|---|---|---|---|
--init |
Initialize the SQLite database with the basic data structure.
Note:
The SQLite database resides in the
/var/cpanel/greylist/greylist.sqlite file. |
|
||
--reset |
Forcibly reset the SQLite database. This option attempts to preserve the Trusted Hosts list if the Greylisting service runs on the server. |
|
||
--trust |
Trust the IP addresses for the common specified email services. Specify this option more than once to trust multiple services at the same time. This script recognizes the following common email services:
|
|
||
--import |
Import the Trusted Hosts list that the specified JSON file contains. |
|
||
--export |
Export the current Trusted Hosts list. To export the list to a file, specify the export_to option or redirect via STDOUT . |
|
||
--update_common_mail_providers |
Update the common mail providers data in the database.
Note:
You can specify the
--force flag with this option to forcibly update the IP address data in the database. |
|
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...