Skip to main content

Dovecot trash not deleting

Comments

3 comments

  • cPanelMichael
    It was working about 3 weeks ago. Running "/usr/local/cpanel/scripts/dovecot_auto_expunge_trash" shows No such file or directory when before it used to immediately remove the trash.

    Hello, We changed the name of the /scripts/dovecot_auto_expunge_trash maintenance script to /scripts/dovecot_maintenance in cPanel version 58 and newer. Do you notice any error messages logged to /usr/local/cpanel/logs/error_log or output in the command line when running the "/scripts/dovecot_maintenance" script? Thank you.
    0
  • cpanelinfoseeker
    Ran the command manually without error. I added the line into the root cron so it will update regularly. I really thought that having the setting in Mailserver Configuration would be all that I would need to do to have it delete automatically. Thanks for the update! Ron
    0
  • cPanelMichael
    Ran the command manually without error. I added the line into the root cron so it will update regularly. I really thought that having the setting in Mailserver Configuration would be all that I would need to do to have it delete automatically. Thanks for the update! Ron

    You should not have to setup a manual cron job to run that command. It's part of the upcp maintenance script that's executed daily as part of this root cron job command:
    /usr/local/cpanel/scripts/upcp --cron
    Thank you.
    0

Please sign in to leave a comment.