How to clean all the email accounts

Description of your first forum.
Post Reply
johnsonjoshua292
Posts: 9
Joined: Thu Jan 22, 2015 4:32 pm

How to clean all the email accounts

Post by johnsonjoshua292 » Tue Aug 11, 2015 3:57 pm

Hello,
How to clean all the email accounts mailboxes on my dedicated server manually?
Thanks

richarddiego846
Posts: 9
Joined: Thu Jan 22, 2015 4:41 pm

Re: How to clean all the email accounts

Post by richarddiego846 » Wed Aug 12, 2015 4:31 pm

First login to dedicated server as root via SSH.

Then browse to the/home/USERNAME/mail/YOUR_DOMAIN/MAIL USER/ folder.

In it we will find folders named cur and new. The "new" folder contains all the unread messages we have in your inbox and the "cur" directory - the ones we have already read. Each mail presents a file in those folders.

davidryan254
Posts: 14
Joined: Wed Jan 21, 2015 5:05 pm

Re: How to clean all the email accounts

Post by davidryan254 » Mon Nov 08, 2021 8:35 am

Gmail should be deleted.
1. Download your data before you delete your Gmail account.
2. Open the Google Settings app on your Android smartphone or tablet.
3. Select Data & Privacy from the drop-down menu at the top.
4. Select "Data from apps and services you use" from the drop-down menu.
5. Tap Delete a Google service under "Download or delete your data."
6. Tap Delete next to "Gmail."

charless
Posts: 14
Joined: Mon Dec 29, 2014 10:36 am

Re: How to clean all the email accounts

Post by charless » Tue Dec 14, 2021 3:32 am

If you don't have access to SSH, you can use this method to clear the default mail account. Simply launch File Manager after logging into your cPanel account.

As illustrated in the picture below, go to the'mail' directory in your home directory.



Simply pick the 'cur' and 'new' folders and click the delete button. cPanel will regenerate these folders if you delete them.

If you have a dedicated server, you can disable the catch-all function by going to WHM >>  Configure the server >> Make changes to the settings >> Set the value of the field Initial default/catch-all forwarder destination to fail while sending mail.



If you select this setting, no spam emails will be sent to the default cPanel mail account if the desired mail account does not exist.

If you want assistance, please call our 24/7 support service, who will resolve your issue as quickly as possible.

Post Reply
cron