Skip to main content

Delete attachments from mails in sent folder?

Comments

3 comments

  • Spirogg
    you can delete mail from sent folders, setup a cron to do this, also if you allow them to use Horde mail client only in cPanel default sending of attachments won't save to sent folder they are removed after they have been sent, unless user selects "save attachments in sent folder" see my attachment below just something to think about :)
    0
  • cPanelLauren
    Hi guys, Any idea how to delete attachments from mails in sent folder? Some customers send a lot of mails with big attachments files inside and easily fill the mailbox. Thx!

    You could also (using the cron idea) remove messages over X size in the sent folder - which wouldn't remove all of their sent mail - though you'd still be removing their mail which may pose an issue. One of the biggest reasons why some providers encourage their users to use a POP3 mail client is due to the amount of space mail stored on the server consumes. You might want to also enable dovecot's ability to compress messages by going to WHM>>Service Configuration>>MailServer Configuration.
    0
  • masterross
    Thanks for replies guys, Unfortunately, I allowed the use of Roundcube only and dont want to remove whole mails but just attachments from them.
    0

Please sign in to leave a comment.