How to delete users large inbox

aidan

Verified User
Joined
Jul 10, 2005
Messages
15
I have a user with their primary account email which he doesn't use have over 51,000 emails in the inbox using 160+ mb storage.
The person must have setup the cron wrong and not noticed the cron emails going to the inbox. Anyway, I can't access the webmail account inbox for this account, it goes to a "page cannot be found" when trying to access it.

Is there a way to delete this persons email from this email account server-side?

Where is a users email data stored, in what directory? The user has requested me to empty this email account but keep other emails stored in other email accounts.
 
There must be a way to do it without having to create another account everytime this happens right?
 
Sorry, I misread "primary account".

I apologize.

The file should be at:

/var/spool/mail/username

You can just delete it; the next email to come in should recreate it.

Jeff
 
It will delete all the email in the primary email account.

Each email account has it's own mailbox file.

The primary email account file is in /var/spool/mail/username. The additional email account mailboxes are in /var/spool/virtual/example.com/username.

Jeff
 
Back
Top