Skip to main content

About leaving a copy of messages on server and remove from server after * days

Comments

3 comments

  • cPanelMichael
    Hello :) You would have to download the messages with some type of email client if you want the messages removed from the server. You could even access Webmail and delete the messages manually if you prefer. You could also setup a cron job to remove emails, but then you would be deleting emails that you might not have read. Thank you.
    0
  • Daniel Daniel
    Hellp :) I know that I can do it manually. But, my boss don't have time to do this (or you can say that he will forget to delete). Do you have any method for automatically delete the mail after x days in Cpanel? Thanks.
    0
  • cPanelMichael
    There are no native features in cPanel that will automatically delete emails. There's an option to remove mail from the "Trash" directory after a set time period under "WHM Home " Service Configuration " Mailserver Configuration", but that does not apply to new emails. You would have to setup a cron job to remove the delivered emails from the "cur" directory (e.g. /home/$username/mail/$domain/$email-address/cur). Thank you.
    0

Please sign in to leave a comment.