when safe_mode is on (common on ISP's), creating subdirectories and storing attachment fails when the webserver runs as another user than the owner of the scripts (for example, the ftp user).

This can be solved by manually creating the files/mailarchive directory (with permissions set to 777), and changing the _mailarchive_extract_attachments so it doesn't create month/year subdirectories

Comments

jeremy’s picture

This doesn't affect my installation, I'll not be coding a fix. I would be willing to merge a patch if it offers a graceful solution without breaking things for my installation.

jeremy’s picture

Version: » 5.x-1.x-dev
Status: Active » Postponed

Postponing until someone submits a patch.