Skip to main content

Auto Expunge Trash, actually is not expunging anything

Comments

5 comments

  • cPRex Jurassic Moderator
    Hey there! Can you let me know what you mean when you say you are trying to use URLs? I'm not sure what you mean when you say URL in regards to the trash problem.
    0
  • DiegoMolina
    Hey! thanks for answering cPRex. Maybe i didn't say it right but what i meant was that im using selenium in a WPF app in C#, and in that app what i do is use UAPI by creating a webmail session URL With the host,token and the request. So when i create the request and send it so it can load in selenium the return of the function is empty There are some images so its more easy to understand what i meant Note: The Mailbox are not empty btw and when i check on cpanel if something was worked (deleted mails older than X date) nothing happened.
    0
  • cPRex Jurassic Moderator
    Thanks for the additional details - that does help clear things up :D Is it possible the account was migrated or the timestamps on the messages have changed in some other way? This would affect the expunge tool from reading the dates on the files properly, so it might be best to check a few of the files on the command line that you are expecting to get removed.
    0
  • DiegoMolina
    When you say migrated what do you mean ? D: And how can i check the timestaps on the messages? because i have multiple email accounts and i'm pretty sure that they haven't changed. i checked the messages on roundcube and even when i do the expunge on the app ( expunge any mail older than 1 month) the mails stays intact :(
    0
  • cPRex Jurassic Moderator
    In the past, I've seen issues with the expunge tool after an account was migrated, as the file modification timestamp would have changed when the file was moved to a new server. You'd need to check that on the command line with the "stat" command, although you may be able to get enough data from File Manager as well. Emails would be stored in the /home/username/mail/domain.com/emailaddress/ directory, and you'll see the usual folders there, so that is where I'd recommend examining the files. Since you have root access to the server you are always welcome to submit a ticket to our team if you aren't able to resolve the issue.
    0

Please sign in to leave a comment.