disable emails from being backed up

I have a couple clients that are asking for backups without backing up the actual emails that clients have. I see you can disable Mail/FTP users and mail aliases but nothing for just the email contents.

Is this possible ?

Status: 
Closed (fixed)

Comments

Where do you have email stored? Under each users' ~/Maildir directory, or at /var/spool/mail ?

Well the majority of my clients use ~/Maildir

You should be able to set this up on a per-domain basis at Administration Options -> Excluded Directories, by entering a pattern like homes/*/Maildir

Does that work for you?

Well they were looking for a global setting so they didn't have edit all the current domains. But if that is what were stuck with...

That's what is available right now. You could script it for multiple domains with the modify-domain API command though, using the --add-exclude flag.

Can this change in the future then ?

Sure .. how about if there was a backup-level list of files to exclude?

I mean, would it be useful if you could define the list of files to exclude on the backup form (as a pattern like homes/*/Maildir ) ?

Ok, I will add that in the next release ..

Automatically closed -- issue fixed for 2 weeks with no activity.