Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    May 2005
    Posts
    62

    Default Main User Mailbox question

    One of my clients has 28000 emails in the main acct. How can i easily delete all. I have just added the :fail: rule for emails that come in to bogus aliases.

    Thanks,
    Brady

  2. #2
    Member
    Join Date
    Mar 2005
    Posts
    75

    Default

    found this with google..might be worth trying...

    Code:
    Use this
    
    if the message is frozen
    
    exim -bpru|grep frozen|awk {'print $3'}|xargs exim -Mrm
    
    if the message is <>
    
    exim -bpru|grep '<>'|awk {'print $3'}|xargs exim -Mrm
    
    if all
    
    exim -bpru|awk {'print $3'}|xargs exim -Mrm

  3. #3
    Member cpanelinfoseeker's Avatar
    Join Date
    Oct 2002
    Location
    NE Illinois
    Posts
    320

    Default

    Using the Mail Manager (CMM) from Chirpy, i would just find the email in question and hit the 'empty mailbox' option. This works very quickly and has many other useful options as well. I use it to monitor the email boxes on my server to warn the users when they are getting near full (at 92%).

    My other suggestion would be to use WinSCP3 and go to the directory where the mail is and select all the files in the directory and delete, but this takes a while as it deletes each one in order.

    If you are familiar with SSH, that would be the other option and go to the mail directory (/home/USER/mail/(cur,usr,tmp)) and delete the email in the folders.

    Ron

  4. #4
    Member
    Join Date
    Mar 2006
    Location
    Brno, Czech Republic
    Posts
    510

    Default

    chirpy mail manager - will do the trick. configserver.com. try
    Not everything that is counted counts and not everything that counts can be counted

  5. #5
    Member
    Join Date
    May 2005
    Posts
    62

    Default

    Can i just ftp the domain and go to mail folder and delete the inbox file? will it be recreated?

    Thanks,
    Brady

Similar Threads & Tags
Similar threads

  1. cPanel Main Catch-All Mailbox
    By i3903 in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 01-09-2007, 01:32 AM
  2. Horde showing other mailbox after maldir conversion for main account
    By sukil in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-01-2006, 01:43 PM
  3. main mailbox
    By radioleft in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-21-2005, 10:56 PM
  4. /home/user/mail/mailbox VS /home/user/mail/domain/mailbox
    By PWSowner in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-18-2005, 01:55 AM
  5. Mailbox Question
    By evisions in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 05-19-2004, 03:22 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube