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.

dovecot 2.2 Auto Expunging - when does it run?

Discussion in 'E-mail Discussions' started by amasci, Oct 3, 2014.

  1. amasci

    amasci Registered

    Joined:
    Sep 14, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    So I have turned on the setting in WHM (Server Configuration > Mailserver Configuration) Auto Expunging to remove messages older than 60 days. However, at what point does this script run? Does it run daily at a set time?

    Thanks
     
  2. kdean

    kdean Well-Known Member

    Joined:
    Oct 19, 2012
    Messages:
    262
    Likes Received:
    12
    Trophy Points:
    18
    Location:
    Orlando, FL
    cPanel Access Level:
    Root Administrator
    It runs during cPanel's daily update, so you can check the update log for:

    Code:
    Processing: Cleaning up mailbox trash
    Processing command `/usr/local/cpanel/scripts/dovecot_auto_expunge_trash`
    
    with specific details below those lines.
     
  3. amasci

    amasci Registered

    Joined:
    Sep 14, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks could you give me some guidance as to where/how I check the daily update logs?
    Thanks.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    cPanel update logs are stored in the following directory:

    Code:
    /var/cpanel/updatelogs/
    Keep in mind the option you are referring to does not remove messages older than the configured time frame. It removes messages after they have been in the trash folder for that set time frame.

    Thank you.
     
Loading...

Share This Page