[horde] splitting a email export

Vijay Sankar vsankar at foretell.ca
Mon Jul 16 15:16:17 UTC 2018


Quoting Gregor Bothe <gregor.bothe at uni-leipzig.de>:

> Hi all,
>
> we want to change our quota limit and therefor inform our users  
> regarding their current allocated space. Further we have to tell  
> some users to clean their inboxes by exporting and deleting emails.
>
> Unfortunately it seems like the Horde 5.2.12 email export function  
> dumps a complete export into the system memory and uses the PHP  
> memory_limit - quite a problem, if the inbox is 20G (mdir). We could  
> increase the limit, but I would prefer an option to split an export  
> into different files or "bypassing" the system memory somehow.
> Or any other option to allow the user to export their emails as a  
> mbox file by an easy end-user usable function/application (I know  
> about e.g. Thunderbird client plugin - but I don't want to tell  
> them, to install a full email client just for an export).
>
> I'm looking forward to any kind of help :)
> Thanks in advance. Regards,
>
> Greg
> -- 
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org

Hi Gregor,

Hopefully, I have not misunderstood your requirement. Assuming your  
server is a Unix or Linux box, I would like to suggest the following:

Use imapsync to copy all folders to mboxes for all users. Keep the  
mbox files in each user's directory and they can access it without  
having to do anything.

In one case, I used imapsync to convert mbox files to maildir.

HTH,

Vijay

Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
vsankar at foretell.ca



More information about the horde mailing list