Bobcares Logo
Search Phone User Profile Emergency Contact
Bobcares Logo
Search Phone User Profile Emergency Contact
Emergency Contact Client Portal
SOLUTIONS
Product Engineering
MVP Build
MVP to Scale
Product Maintenance
Digital Transformation
Process Digitization & Automation
Systems Integration & Workflow Orchestration
Data Enablement & Decision Support
Application & Platform Modernization
Transformation Execution
AI Services
AI Readiness & Use-Case Discovery
AI Integration & Application Enablement
Intelligent Automation & AI Workflows
Infrastructure Management & Optimization
Always-On Infrastructure Management
Proactive Monitoring & Incident Prevention
Cloud Cost Control & Optimization (FinOps)
Outsourced IT & End-User Support
Managed Infrastructure Execution Support
DevOps & Automation Services
CI/CD & Release Automation
Infrastructure as Code & Platform Standardization
Reliability Engineering & Observability
DevSecOps Enablement
Cybersecurity
Security Assessment & Risk Posture
Threat Monitoring & Incident Response
Infrastructure & Cloud Security Hardening
Vulnerability Assessment & Penetration Testing (VAPT)
Backup, Disaster Recovery & BCP

Email accounts missing from cpanel – How to fix it

by Arya MA | Jun 22, 2020 | cPanel, Latest, Server Management | 0 comments

Please Note: This article is part of our historical archive. Because it was published a while ago, some of the information, links, or context may now be outdated.

Webmasters and website owners often notice email accounts missing from cPanel after a migration. The attempt to create email account manually triggers the error message “The account already exists”.

As a part of our Server Management services, we help customers to fix email related errors routinely.

Today, let’s look into some of the possible reasons and fixes to make the email accounts visible in cPanel again.

 

What makes Email accounts missing from Cpanel?

Often after migration, some users notice that the email accounts does not display in cPanel even after the copy of the emails to destination server. As per cPanel’s folder structure, it stores only the mailboxes and the received/sent emails inside the folder  /home/cpanelusername/mail. The /home/$user/etc/$domain/shadow and /home/$user/etc/$domain/passwd files contain the password and other settings of each email account.

If the passwd and shadow files are not copied over properly, email accounts will not display in cPanel. Even if users try to create those email accounts manually, it will fail with the below error.

Email accounts missing from cpanel

Let us now look at the possible reasons for the email vanishing from cPanel :

  • Missing files in etc folder
  • Cache and temp file inside the .cpanel directory
  • Incorrect file permission

 

Missing files in etc folder

As we discussed earlier if the “/home/$user/etc/$domain/shadow” and the “/home/$user/etc/$domain/passwd ” are missing after migration, email accounts will vanish from cPanel. Though the mails will be physically present in the server, it won’t be able to fetch the details from backend to cPanel. Restoration of these files from a backup is the fix here.

At times even if the file is present in the server, won’t be able to fetch the accounts. This happens when files get corrupted or entries of some email accounts are missing from the file. You can open the shadow file and verify the contents. Restoration of the file can fix the issue here as well.

Also, users may find corrupt passwd and shadow files at source end prior to migration. In such situations, a preferable method would be to create the email accounts manually and then restore the mail folder into the new folder created.

 

Incorrect file ownership

The ownership of the shadow and passwd file is also an important factor that makes accounts invisible in cPanel. The ideal ownership that these files require is:

user:mail

If the ownership of the folder is anything different from the value given above, it should be corrected with the help of chown command.

 

Cache and temp file in .cpanel directory inside the users home directory

At times the emails missing from cPanel can occur due to a large number of cache and temp files in .cpanel directory inside the user’s home directory. This directory contains the email_accounts.cache, and email_accounts.yaml, required to load the email accounts.

If any of these files contain old data or corrupted data, it may make the mail accounts missing from cPanel. The possible fix here would be to remove this folder. If you are connecting using SSH, a simple rm command on that folder will do the task.

Email accounts missing from cpanel

Similarly, this folder can be deleted from the File Manager option in cPanel as well. After deleting the folder, ensure to restart the cPanel service. The contents of the folder will be automatically recreated when users try to access the email account again.

 

[Need help to fix email accounts missing from cPanel? We are available 24×7]

 

Conclusion

In short, email accounts vanishes from cPanel due to a variety of reasons. It includes missing shadow and passwd file, incorrect ownership, etc. Today we discussed how our Support Engineers make email accounts reappear in cPanel again.

Related posts:

    1. Resolving cPanel Error: “The Email Account Already Exists”
    2. Blocking spoofed mails going out from your cPanel/WHM server to protect it from blacklists
    3. Are your cPanel, Plesk or DirectAdmin servers email blacklisted? Here’s how you can prevent spam block listing of web hosting servers
    4. How to resolve “550 Access denied – Invalid HELO name” error from Outlook (0x800ccc78), Windows Mail, etc in cPanel/WHM Exim mail servers

Submit a Comment Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • How to Fix VMware Datastore Connectivity and Storage Latency Issues
  • DevSecOps Automation Platform for Secure Development
  • AI and ML for DevOps: The Complete Guide
  • 3-2-1-1-0 Backup Strategy With Restic, Wasabi, and Air-Gapped Storage
  • How to Improve API Reliability with HAProxy Load Balancing and Health Checks

Categories

  • Advanced Vulnerability
  • AI Automation
  • AI Services
  • AI Support
  • AIOps
  • Amazon Web Services (AWS)
  • Apache
  • API Integration
  • Application Development
  • Azure
  • Business Process Management
  • Business Process Reengineering
  • Cloud Cost Optimization
  • Cloud Management
  • Cloud-Native Application
  • Cloudflare
  • cPanel
  • cPanel migration
  • Cyberpanel
  • DDoS
  • Development Service
  • DevOps
  • DevOps Consulting
  • DevSecOps
  • Digital Transformation
  • DigitalOcean
  • DirectAdmin
  • Docker
  • Drupal
  • Ecommerce
  • Feedback Management Systems
  • Filezilla
  • FTP
  • Full-Stack Product Development
  • Google cloud platform
  • HAProxy
  • Headless CMS Integration
  • Hosting Support
  • Hybrid Cloud Management
  • IIS
  • Infrastructure Management & Optimization
  • Kubernetes
  • KVM
  • Laravel
  • Latest
  • Legacy Application Modernization
  • Linode
  • Litespeed
  • LXC/LXD
  • Magento
  • Microservices Architecture
  • Mobile App Development
  • MongoDB
  • Moodle
  • MySQL
  • NFS
  • Nginx
  • OnApp
  • Outsourced Support
  • OVH
  • ovirt
  • Performance Optimization & Monitoring
  • pfsense
  • Plesk
  • PostgreSQL
  • PowerDNS
  • Product Engineering
  • Proxmox
  • RedHat
  • Redis
  • SaaS Development
  • Sendmail
  • Server Administration
  • Server Management
  • Software Development
  • Software Testing
  • SQLServer
  • Technical Support
  • UI/UX
  • Virtualizor
  • VMware
  • VPN
  • Vulnerability Scanning
  • Vultr
  • Web Development
  • Windows
  • WordPress
  • WordPress Hosting
  • WordPressHA

Subscribe to our newsletter

Footer newsletter

Email inquiry@bobcares.com | Phone 1-800-383-5193

Solutions

  • Product Engineering
  • Digital Transformation
  • AI Services
  • Infrastructure Management & Optimization
  • DevOps & Automation Services
  • Cybersecurity

Services

  • Managed IT Services
  • Cloud Modernization Services
  • Custom Software Development Services
  • DevOps services
  • Business Process Management Services

Insights

  • Case Studies
  • Blog

Company

  • About Us
  • Our Partners
  • Careers
  • CSR
Product Engineering +
Web Development MVP to Scale Builds Microservices Architecture Agile & Dev Team Augmentation Mobile Apps Ecommerce UI/UX Design QA & Test Automation
Digital Transformation +
Legacy Modernization Workflow Automation Data-Driven Dashboards CRM / ERP Integration Business Process Re-engineering
AI Services +
AI & Machine Learning AIOps Intelligent Automation Business Intelligence & Analytics AI Installation & Compute
Infrastructure Management +
Cloud Setup Cloud Migration Managed Cloud Services Server & Hosting Cost Optimization Performance Optimization Outsourced Support
DevOps & Automation Services +
CI/CD Setup Kubernetes & Docker Infrastructure as Code Cloud-Native Migration DevSecOps
Cybersecurity & Compliance Services +
Security Hardening VAPT Incident Response Backup & DR

© 2026 Bobcares. All Rights Reserved.

  • Cookie Policy
  • |
  • GDPR
  • |
  • Privacy Policy
  • |
  • Terms of Service
  • LinkedIn
  • YouTube
  • Instagram
  • Facebook

Preview of the new Bobcares experience
NEW UPDATE
See What’s New
at Bobcares

Discover a faster, clearer view of our services and expertise.


Explore the New Experience
Arrow Right