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.

Tidy Up Email Accounts - Auto Purge Mail?

Discussion in 'E-mail Discussions' started by jerdoggmckoy, Jun 21, 2013.

  1. jerdoggmckoy

    jerdoggmckoy Active Member

    Joined:
    Jun 3, 2013
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    St Paul, MN
    cPanel Access Level:
    Root Administrator
    Is there any way to have user account email addresses automatically delete mail out of their deleted items, trash and Spam Folders, say for all emails older than 30 days?
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,145
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
  3. jerdoggmckoy

    jerdoggmckoy Active Member

    Joined:
    Jun 3, 2013
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    St Paul, MN
    cPanel Access Level:
    Root Administrator
    Thanks for your help!
     
  4. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    There is a way to have deleted messages expunged automatically, without needing to do anything in the shell, only if you use Courier-IMAP. This is not available with Dovecot.

    You can switch to Courier-IMAP in the WebHost Manager in Home » Service Configuration » Mailserver Selection . You can configure the interval after which deleted mail is expunged in Home » Service Configuration » Mailserver Configuration .

    More information about this is available in our documentation:

    Mailserver Selection
    Mailserver Configuration

    By default, Courier-IMAP will automatically empty only the "Trash" folder, but you can add other folders (such as "Spam") to be automatically emptied as well, in Mailserver Configuration . The same interval applies to all the folders you configure to be automatically deleted.
     

    Attached Files:

  5. jerdoggmckoy

    jerdoggmckoy Active Member

    Joined:
    Jun 3, 2013
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    St Paul, MN
    cPanel Access Level:
    Root Administrator
    Thank you so much! I have to admit, I was surprised, with how awesome cPanel is, that a feature like that would have been overlooked. Glad to hear it's an option. Thank you so much! Anyone know if there are any major downsides or issues I may run up against by switching from the Dovecot to the Courier-IMAP?
     
  6. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Home » Service Configuration » Mailserver Selection has a table that actually does a pretty good job of showing the pros and cons of each service. There are also links to more specific information about each service in our documentation:

    Mailserver Selection

    Automatic emptying of trash is planned for Dovecot in cPanel 11.40, so when 11.40 is published, the option will be available in both services, but in 11.38 it is only available in Courier-IMAP.
     
  7. jerdoggmckoy

    jerdoggmckoy Active Member

    Joined:
    Jun 3, 2013
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    St Paul, MN
    cPanel Access Level:
    Root Administrator
    Thanks for the help! Since Dovecot uses less resources & is apparantly more highly configurable, I'll go ahead and wait for cPanel 11.40. I'm in no rush, but do you have a target date or month of when you expect the release?
     
  8. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    cPanel 11.39, which is what will eventually become 11.40, is scheduled to go to the EDGE update tier this week, which will be its first exposure to the public. The EDGE tier should not be used on production servers, so I definitely do not recommend using EDGE just for this feature. Unfortunately, I do not have an estimate at this time for when 11.40 will be in public tiers. 11.39 will become 11.40 when it is pushed to the CURRENT tier.

    Keep in mind that 11.38 is planned to go to STABLE today, so 11.38 has not made its way down to all update tiers quite yet.
     
  9. jerdoggmckoy

    jerdoggmckoy Active Member

    Joined:
    Jun 3, 2013
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    St Paul, MN
    cPanel Access Level:
    Root Administrator
    No problem, thanks!
     
  10. albatroz

    albatroz Well-Known Member

    Joined:
    Mar 6, 2003
    Messages:
    258
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Virtual Orbis / Peru
    cPanel Access Level:
    Root Administrator
    Hello Jared,
    WHM/Cpanel is currently in version 11.42 so I was wondering if the feature you were expecting is included in the current version.
     
  11. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Yes, here is a snippet from the 11.40 release notes:

    The option is available in:

    "WHM Home » Service Configuration » Mailserver Configuration"

    Thank you.
     
  12. mcpacific

    mcpacific Member

    Joined:
    May 3, 2015
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Los Angeles, CA
    cPanel Access Level:
    Root Administrator
    We're running WHM 11.48.3 and I can only see the option to Auto Expunge Trash. What about Junk?
     
  13. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page