cPanel Plugin
Install and set up the JetEmail plugin for cPanel servers
Installing the cPanel Plugin
To install our cPanel plugin, follow these steps:
-
Ensure you have root access to your cPanel server.
-
Generate a smarthost (or use an existing one) in your JetEmail dashboard.
-
Open a terminal or SSH into your server.
-
Download the installation script and set the correct permissions:
- Run the installation script with your JetEmail credentials. Additional optional parameters are available:
-u
: Your JetEmail smarthost username (required)-p
: Your JetEmail smarthost password (required)-d
: Enables Domain Lockdown for all domains-s
: Modifies SPF Records to include spf.jetsmtp.net for all domains
Example:
-
The script will automatically download and install the plugin.
-
Once completed, the plugin will be active and configured for use.
What the Plugin Does
The plugin automatically configures several email authentication and security settings:
- Adds
spf.jetsmtp.net
to the additional hosts section of Exim configuration - Configures JetEmail’s inbound IP addresses in:
senderverifybypass
listtrustedips
list
- If Domain Lockdown is enabled (
-d
flag), adds a_jm
TXT record to all domains for verification - If SPF modification is enabled (
-s
flag), enables and configures SPF records for all domains - Enables and configures DMARC records for all domains
- Makes additional Exim configuration changes:
- Enables SRS (Sender Rewriting Scheme)
- Disables remote HELO checks
Uninstalling the cPanel Plugin
To uninstall the JetEmail cPanel plugin and revert all configuration changes:
-
Ensure you have root access to your cPanel server.
-
Open a terminal or SSH into your server.
-
Download the uninstallation script and set the correct permissions:
- Run the uninstallation script:
- The script will automatically remove all JetEmail configurations and restore your original email settings.
Note: The uninstall process will revert all changes made during installation, including:
- Removing JetEmail smarthost configuration
- Restoring original Exim settings
- Removing any added SPF and DMARC records
- Removing Domain Lockdown TXT records
- Restoring original sender verification and trusted IP settings