Skip to content

WHM Tweak Settings that look tempting but should be left alone

A small set of Tweak Settings are reliably misused on takeover audits. They look like wins; they introduce silent regressions you only notice weeks later.

There’s a pattern on cPanel server takeovers: the new operator goes through Tweak Settings, sees a half-dozen toggles that look like obvious wins, flips them, and a week later something downstream breaks in a way that’s hard to trace. The settings in this article are the ones I find people flipping incorrectly often enough that they deserve their own list. Each one looks helpful; each one has a downstream consequence the setting label doesn’t mention.

What’s happening

cPanel’s Tweak Settings exist on a spectrum from “always flip” through “depends on workload” to “almost never flip, the default exists for a reason”. The “almost never” group is small but expensive when you get it wrong. Many of these are guards against legacy bugs cPanel can no longer remove because too many existing installs depend on the conservative behaviour.

How to verify

For any setting before you change it, read the current value and the docs link:

whmapi1 get_tweaksetting key=initialdefaultaddresspop
whmapi1 get_tweaksetting key=skipanalogue
whmapi1 get_tweaksetting key=jsondatadir
grep -E '(initialdefaultaddresspop|skipanalogue)' /var/cpanel/cpanel.config

The Tweak Settings UI shows the documentation snippet for each setting; on the CLI, read the setting’s category and default. Defaults exist for reasons that aren’t always obvious from the label.

The fix

Eight settings I see misused most often, with the reason to leave them:

  1. initialdefaultaddresspop — leave on. Without it, a customer creating their first mail account finds the default address is :fail: and bounces all inbound that doesn’t match a real account. Customers hate this; the default is on for that reason.
  2. skipanalogue — leave at 0. The “skip Analog stats” toggle is a legacy invitation to disable webalizer-style stats generation. cPanel still uses Analog for some bandwidth accounting; turning it off causes the monthly bandwidth tally to drift.
  3. jsondatadir — leave at default. Custom paths break upgrades that hard-code the path.
  4. enableselectserverquota — counter-intuitively, leaving this off on a single-reseller box is fine. Only enable when you have multiple resellers needing quota allocation.
  5. autodelimitbyperiod — leave on. Disabling it changes how cPanel parses email addresses with periods, breaking established customer accounts.
  6. mysql-version — never change at runtime. The on-disk MySQL/MariaDB version is the truth; the Tweak Setting is informational. Changing it without a real upgrade leaves cPanel issuing incompatible queries.
  7. emailstrampoline — leave on. The “trampoline” delivers mail through a per-account Exim transport; turning it off bypasses per-account limits and breaks the spam-handling chain.
  8. secstoretemppwd — leave at 0. Storing temporary passwords in /var/cpanel/userpasses/ was a debugging aid that became a security liability when audit logs revealed it; the default is off and stays off.

For shops standardizing Tweak Settings across a fleet, Stack Harbor’s cPanel and WHM management practice maintains a list of “never flip” settings alongside the “always flip” baseline so audits catch the regression-creators before they ship.