Updated: 28 September 2026 · Applies to: cPanel & WHM 138 (WHM, root access)

Some internet providers block outgoing port 25, so mail programs cannot connect to your server on it. cPanel can run the Exim mail server on an extra port as well.

Steps

  1. Log in to WHM as root (https://your-server:2087).
  2. Open Service Configuration › Service Manager.
  3. Tick the Exim entry for another port (the default extra port is 26), change the port number if you want, and tick Monitor.
  4. Click Save.

Also open the port in your firewall. Mail programs can then use it as the outgoing (SMTP) port.

Tip: Mail programs normally use port 587 (STARTTLS) or 465 (SSL) for sending, which are rarely blocked. Try those before adding another port.

Related services

Managed cPanel VPS

cPanel included; we handle updates, security and monitoring.

cPanel server management

hardening, migrations and 24/7 monitoring, with no long-term contract.

cPanel, Plesk and LiteSpeed licences

for VPS and dedicated servers, with installation help on demand.

Was this answer helpful?

Still stuck? Open a ticket