Warning: This plugin only supports AlmaLinux, Rocky Linux, and CloudLinux operating systems. Ubuntu is not yet supported.
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 (no inputs required):
- The script will install the JetEmail repository on your server.
-
After the repository is installed, you have two options to complete the configuration:
Option A: Command Line Installation
Run the
jetemail-cpanelcommand with your JetEmail credentials:Available options:-u, --smtp-user <SMTP_USER>: Your JetEmail smarthost username (required, must not contain @ symbol)-p, --smtp-pass <SMTP_PASS>: Your JetEmail smarthost password (required)-d, --domain-lockdown: Add DNS TXT records for all domains (Domain Lockdown)-s, --add-spf: Add SPF include for JetEmail (SPF Records)-v, --verbose: Verbose output (use multiple times for more verbosity)--skip-smtp-test: Skip SMTP connection test (use if network restrictions prevent connection testing)--test-only: Test mode: only test SMTP connection, don’t install anything-h, --help: Print help
Option B: WHM Plugin Use the JetEmail plugin in WHM to complete the configuration through the web interface.
What the Plugin Does
The plugin automatically configures several email authentication and security settings:- Adds
spf.jetsmtp.netto the additional hosts section of Exim configuration - Configures JetEmail’s inbound IP addresses in:
senderverifybypasslisttrustedipslist
- If Domain Lockdown is enabled (
-dflag), adds a_jmTXT record to all domains for verification - If SPF modification is enabled (
-sflag), 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:- Ensure you have root access to your cPanel server.
- Open a terminal or SSH into your server.
- Remove the plugin using yum:
- Remove the JetEmail repository file:
- The plugin and all JetEmail configurations will be removed from your server.