bobsthename
Verified User
I was just wondering if it is possible to automatically remove emails from one imap email account after a certain amount of days/weeks/months?
du
at commandline that the mail folders on disk are <20MB, but in the GUI they still show as >50MB after several days. How come?How come?
du
their compressed size, while a mail client shows a uncompressed size.less
and they actually don't look compressed.Wouldn't that indicate that the purge didn't have any effect?
find /home/*/imap/*/*/Maildir/{cur,new} -mtime +30 -type f -exec ls -la {} +
find /home/*/imap/*/*/Maildir/{cur,new} -mtime +30 -type f -exec rm -f {} +