WHM’s SMTP Restrictions prevent ordinary server users and applications from connecting directly to remote SMTP servers. This helps require mail to pass through the server’s supported mail service.

Enable SMTP Restrictions

  1. Check how your websites send mail. Applications using an external SMTP provider may be affected.
  2. Sign in to WHM and open Security Center > SMTP Restrictions.
  3. Select Enable.
  4. Confirm that the feature is enabled.
  5. Test website notifications and other legitimate mail workflows.

Understand the scope

cPanel allows the mail transport agent, Mailman and root to make the permitted remote SMTP connections. This setting is not an incoming-mail connection limit and does not guarantee that the server cannot send spam.

If a legitimate application stops sending, review its mail method and the server’s policy with the administrator. Use a supported configuration rather than disabling the restriction for every account without investigating the cause.