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.

Purge old emails for user

Discussion in 'E-mail Discussions' started by Kerrya, May 20, 2014.

  1. Kerrya

    Kerrya Registered

    Joined:
    Jul 27, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    Some of my users have our cPanel email forwarded to another account like live.com.

    While they manage their own deletions in live.com, it leaves their cPanel account accumulating old emails till it max's out.

    It appears cPanel removed the feature to delete old emails automatically. how can we best deal with this situatoin?

    Kerry
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You could manually delete the email files from:
    Code:
    /home/$username/mail/$domain/$email-account/cur
    /home/$username/mail/$domain/$email-account/new
    Then, going forward, instead of using a forwarder, setup a user level filter with a rule to redirect the email sent to the first address, and then have an additional rule discard the message.

    Thank you.
     
Loading...

Share This Page