Symptoms
You may have found that you server:
- Is on an email blacklist
- Has been experiencing elevated load / resource usage
- Has sent out a large number of email messages
- Is receiving a large number of unexplained bounce back messages
Description
Please keep in mind that the use of the Mail Status Probe script is not supported by cPanel. This script is offered as a courtesy to systems administrators who are able to interpret the output. cPanel support is not able to provide assistance with the use of the script, interpreting the output, or taking action based upon the output of the script.
Further information about the script and usage can be found at the GitHub page:
https://github.com/CpanelInc/tech-MSP
The Mail Status Probe can help you to identify potential configuration problems as well as help find the source of large amounts of mail being sent through the server.
Usage
In order to use the script, first, execute the following command via SSH as the root user on your cPanel server:
/usr/local/cpanel/3rdparty/bin/perl <(curl -s "https://raw.githubusercontent.com/CpanelInc/tech-SSE/master/msp.pl") --help
The above command will provide you with some basic usage information. This script is periodically updated, so it is important to review the help information regularly to be sure that you are aware of any changes that may have been made since the last time you used the script.
Most of the time you'll be most interested in using the --conf and --auth flags.
The --conf flag checks for commonly troublesome configurations on the server and will provide you with an alert if anything problematic is found.
The --auth flag will review the mail logs on the server and produce a report that shows information about the email activity on your server. The way that it is formatted can help to identify potential sources of spam. An experienced email administrator would be able to easily identify potential problems when reviewing the output, although the output may not be immediately clear to an inexperienced administrator. If you are not sure how to interpret the output, you'll need to reach out to an experienced administrator for advice about how to interpret the data. If you are not sure how to locate a systems administrator, you can start here:
System Administration Services
Further explanation of the script and how to use it can be found at the GitHub page here:
https://github.com/CpanelInc/tech-MSP
This is an example of what the command looks like with the --conf and --auth flags:
/usr/local/cpanel/3rdparty/bin/perl <(curl -s "https://raw.githubusercontent.com/CpanelInc/tech-SSE/master/msp.pl") --auth --conf