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.

Remove All Emails Marked for Deletion

Discussion in 'E-mail Discussions' started by TCB13, Dec 17, 2015.

  1. TCB13

    TCB13 Well-Known Member

    Joined:
    Jul 25, 2014
    Messages:
    58
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Hello,
    I've dozens of email account that are full because the customers email clients are no properly configured to really delete messages over IMAP. They just mark the messages for deletion and they are kept on the inbox for ever.

    Is there a server side way I can execute a command to remove all emails marked for deletion for once? Maybe I can make a cron for this later?

    Thank you.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Please browse to:

    "WHM Home » Service Configuration » Mailserver Configuration"

    Enable the "Auto Expunge Trash" option and choose how long you want deleted email to remain on the server.

    Thank you.
     
  3. TCB13

    TCB13 Well-Known Member

    Joined:
    Jul 25, 2014
    Messages:
    58
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    That options will:

    I'm talking about messages marked for deletion that stay on the inbox or whatever folder where they were deleted. Some email clients seem to this. Instead of moving the messages to the Trash folder, they mark them for deletion and they they never really do anything else later.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Have you verified the messages are not actually in the "Deleted" or "Trash" folder when they appear in the inbox with a line through them?

    Thank you.
     
Loading...

Share This Page