The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Delete or Purge root/user email from whm?

Discussion in 'E-mail Discussions' started by bradyb, Jun 15, 2007.

  1. bradyb

    bradyb Well-Known Member

    Joined:
    May 9, 2005
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    I have about 100 sites on my box and was wondering what the easiest way to delete all mail for users that I previously did not set to :fail: no such adddress. I am going through deleteing via ftp domain/mail but sure there is some way to delete all those junk emails and spoofed aliases.

    ie. When i used to setup an account I didnt have it setup to fail if no matching alias and say the domain is abc.com and user was test, all the unrouted mail would be sent to main acct test mail. Now I have several accts over quota that just have junk in this roots email.

    New accounts that are setup now will auto fail so future wont be an issue but old ones I setup need cleaning.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,447
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. Inetwork

    Inetwork Member

    Joined:
    Sep 21, 2005
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    I'm searching for a delete mails older than xxxxx

    I'm having two mail problem's:

    - Mail account that my client create, but didnt delete
    - Mail account that use his account to hold mail copy for ever

    I'm searching these scripts:
    - Delete mail's with more than 3 month
    - Delete account with more that 3 month without use


    Any idea ? :confused:
     
Loading...

Share This Page