Cloud House Technologies Logo
CloudHouse Technologies
HomeServicesProjectsBlogAbout UsCareersContact UsLogin
    Cloud House Technologies Logo
    CloudHouse Technologies
    HomeServicesProjectsBlogAbout UsCareersContact UsLogin

    How to Set Up and Manage Email Accounts for All cPanel Clients in WHM

    Priya

    Content Writer & Researcher

    Last Updated: 31 July 2026
    How to Set Up and Manage Email Accounts for All cPanel Clients in WHM
    🖥️

    Need Expert WHM Email Management for Your Hosting Server?

    CloudHouse Technologies handles WHM email configuration for hosting providers — from DKIM/SPF enforcement to spam queue monitoring and quota management. Let us manage your server's email health so your clients stay deliverable.

    🔧 Book Free DiagnosisCall NowWhatsApp
    🖥️12,400+PCs Fixed
    ⭐4.9★Google Rating
    ⚡<15 minAvg. Response
    🛡️ISO 27001Certified

    Managing email at scale in WHM is one of the most underestimated challenges for web hosting resellers. When you're responsible for dozens or hundreds of cPanel accounts, a missed DKIM configuration, an uncapped email quota, or a single spam-sending account can damage deliverability across your entire server. This guide covers WHM email account management end-to-end — from setting limits inside hosting packages to bulk DKIM enforcement and monitoring email health across all client accounts.

    The Reseller's Email Problem: Why Per-Account Limits and Deliverability Break at Scale

    Most hosting resellers configure email once per account when they first set it up and never revisit it. The result is predictable: clients eventually hit quota limits without warning, unauthenticated email starts hitting spam folders, and one compromised account floods the mail queue before you notice.

    Three problems tend to escalate together:

    • Uncapped email accounts — clients create hundreds of inboxes, consuming server resources and IMAP connection slots
    • Missing or misconfigured DKIM/SPF — newly provisioned accounts inherit the default package but never get authentication records signed at the server level
    • No centralised monitoring — WHM shows individual account mail queues but offers no aggregate view of email health across all reseller accounts without third-party tooling

    The solution is to manage email at the WHM admin layer, not the cPanel user layer — setting policies in hosting packages, enforcing authentication globally, and monitoring queue metrics before clients complain.

    💡 None of these worked? Skip the guesswork.

    Get Expert Help →

    Setting Email Limits Inside WHM Hosting Packages

    Every cPanel account is created from a hosting package (also called a feature list + plan combination). Email limits set at the package level apply to all accounts on that plan, which is far more scalable than editing accounts individually.

    1Navigate to WHM → Packages → Edit a Package

    In WHM, go to Packages → Add a Package (for new plans) or Edit a Package (for existing ones). Scroll to the resource limits section.

    2Set the Max Email Accounts limit

    The default is Unlimited, which you should never leave in place on a shared server. Recommended values:

    • Basic shared hosting plan: 10–25 email accounts
    • Business plan: 50–100 email accounts
    • Reseller plan: Unlimited (managed by the reseller themselves)
    3Set the Max Email List Size (mailing lists)

    Uncapped mailing lists can be weaponised for spam. Set a maximum of 500–1,000 subscribers per list on shared plans.

    4Set Mailbox Disk Quota defaults

    Under the cPanel interface, users can set per-mailbox quotas. At the package level in WHM, you control the total disk allocation for the account, which indirectly caps how much email can accumulate across all inboxes. Set appropriate disk limits per plan rather than Unlimited.

    5Apply the updated package to existing accounts

    After editing a package, WHM asks if you want to update accounts already on this package. Click Update to apply the new limits to all existing accounts in that plan.

    1Use WHM → Account Functions → Manage Account for bulk changes

    Search for any cPanel account and click Manage to override package-level email limits for that specific account without changing the global package. Useful for clients who legitimately need more email accounts than their plan allows.

    2Use the WHM API to bulk-create email accounts

    For onboarding clients with pre-defined email addresses, use the WHM API 1 endpoint to call cpanel API functions:

    curl -s -k -u "root:PASSWORD" "https://localhost:2087/json-api/cpanel?cpanel_jsonapi_user=clientuser&cpanel_jsonapi_apiversion=2&cpanel_jsonapi_module=Email&cpanel_jsonapi_func=addpop&domain=clientdomain.com&email=info&password=Str0ngPass"a=500"

    Replace clientuser, clientdomain.com, and the quota (in MB) with the appropriate values. This can be scripted for bulk provisioning across multiple accounts.

    1Enable DKIM globally: WHM → Email → Enable DKIM/SPF Globally

    Navigate to WHM → Email → Enable DKIM/SPF Globally. Click Proceed. This generates DKIM keys for all existing accounts and configures new accounts to get DKIM automatically at creation.

    2Verify DKIM is active for all accounts

    Run this WHM API call to audit DKIM status across all accounts:

    for user in $(whmapi1 listaccts | grep -oP '(?<=user: )[\w]+'); do
      echo -n "$user: "
      whmapi1 has_local_authority domain=$(grep -m1 '' /var/cpanel/users/$user | awk -F= '{print $2}') | grep -o 'has_local_authority: [01]'
    done
    3Configure the SPF record in the DNS zone template

    WHM → DNS → Edit Zone Templates → Standard zone template. Ensure the SPF TXT record is present:

    "v=spf1 +a +mx +ip4:YOUR.SERVER.IP ~all"

    Replace YOUR.SERVER.IP with your server's primary IP. This template applies to all new zones created by WHM going forward.

    4Enable DMARC for higher-security accounts

    DMARC is not enabled by default in WHM. For business-tier clients, add a DMARC TXT record to their zone manually or via the cPanel zone editor:

    _dmarc.clientdomain.com. IN TXT "v=DMARC1; p=quarantine; rua=mailto:dmarc-reports@clientdomain.com"
    1Enable disk usage notifications in WHM

    WHM → Server Configuration → Tweak Settings → Disk → enable Send disk quota warning to users who are approaching their account's disk quota. Set the threshold to 80%.

    2Configure email-specific quota alerts

    In WHM → Email → Mailbox Quota Warning, set warnings at 80% and hard limits at 100%. Clients receive an email when approaching their mailbox limit, reducing support tickets.

    3Identify accounts near limits before clients notice
    # List all accounts over 80% disk usage
    whmapi1 listaccts | grep -E "diskused|disklimit|user" | paste - - - | awk '{if ($2/$4 > 0.8) print $6, $2"MB/"$4"MB"}'

    For hosting providers managing many servers, consider delegating ongoing WHM email management — including monitoring, DKIM enforcement, and quota configuration — to a managed server service so your team can focus on client relationships rather than daily admin tasks.

    FAQs

    Can I change the email account limit for one account without changing the whole package?
    Yes. In WHM → Account Functions → Manage Account, you can override package-level resource limits for any individual cPanel account, including the max email accounts setting.

    Why is DKIM not working even after enabling it globally in WHM?
    The most common cause is that the DNS zone is hosted externally (e.g. Cloudflare). In that case, WHM writes the DKIM TXT record to the local zone file but it never gets served. You must manually copy the DKIM public key from WHM → Email → Manage DKIM Keys and add it to the external DNS provider.

    How do I stop one account from spamming and damaging my server IP reputation?
    Immediately suspend the account in WHM → Account Functions → Suspend Account. Then flush the Exim mail queue entries for that domain: exiqgrep -i -f @spammingdomain.com | xargs exim -Mrm. Investigate the root cause (compromised password, vulnerable script) before unsuspending.

    What is the recommended Exim hourly send limit for shared hosting?
    For shared hosting, 200–500 emails per hour per domain prevents a single account from monopolising the mail queue while allowing legitimate transactional email to flow. Business plans can be set to 1,000–2,000.

    How do I check if my server IP is blacklisted after a spam incident?
    Use MXToolbox: https://mxtoolbox.com/blacklists.aspx. Enter your server IP to check against 100+ blacklist databases. If listed, remediate the spam source first, then submit delisting requests to each blacklist individually.

    Get the Free Linux Server Admin Cheatsheet (PDF)

    Essential commands for server management, networking, and troubleshooting — all on one printable page.

    Running Linux servers? Let us manage them for you.

    Our Managed Linux Server plans cover updates, security hardening, monitoring, and 24/7 incident response — so your servers stay up and your team stays focused.

    • Proactive OS patching and security updates
    • 24×7 monitoring with instant alerting
    • Backup configuration and disaster recovery
    • Dedicated Linux engineers on call
    See Pricing Plans →

    What our customers say

    “Our production server went down at 2 AM. CloudHouse had it back online in under 20 minutes. Incredible response time.”

    Arun S.

    CTO, SaaS Startup

    “They migrated our entire infrastructure from Ubuntu 18 to 22 with zero downtime. Couldn't have asked for better.”

    Deepak N.

    DevOps Lead

    Frequently Asked Questions

    Yes. In WHM → Account Functions → Manage Account, you can override package-level resource limits for any individual cPanel account, including the max email accounts setting.

    Book your free 15-minute diagnosis

    A certified technician will call you back within 15 minutes during business hours.

    Share this article

    Leave a Comment

    Comments (0)

    Loading comments...

    Struggling with Email Management Across cPanel Accounts?

    Managing email at scale in WHM requires more than basic setup — you need package-level limits, global DKIM enforcement, and proactive queue monitoring. CloudHouse Technologies can manage this for your hosting business.

    Call Now — FreeWhatsApp Us

    Why CloudHouse?

    • ISO 27001:2022 certified
    • 12,400+ devices supported
    • 4.9★ on Google
    • Sub-15-minute response

    CloudHouse Technologies

    Innovative cloud solutions for modern businesses. We deliver cutting-edge technology with exceptional service.

    Contact Us

    CloudHouse Technologies Pvt.Ltd
    Special Economic Zone(SEZ),
    Infopark Thirissur,4B-15,
    Indeevaram,Nalukettu Road,
    Koratty, Kerala, India-680308
    0480-27327360
    info@cloudhousetechnologies.com

    Quick Links

    • Our Services
    • Gold Loan Software
    • About Us
    • Contact
    • Terms and Conditions
    • Privacy Policy
    ISO27001:2022
    Certified

    © 2026 CloudHouse Technologies Pvt.Ltd. All rights reserved.

    Back to top