If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Change where mail is stored?

09-22-2018, 02:58 AM

Hi,

Bit of a odd question and I do think the answer is no but just wanted to double check. Is it possible to change the path where emails are stored? Like onto an NFS drive maybe where there is more space. This would only be for specific accounts though rather than everyone.

Comment

I've thought about trying this too, but just for the email only. As Gmail and Office 365 Exchange accounts become more the norm, people even on a shared account want to be able to store gigs and gigs of IMAP email which cuts into the SSD more expensive drive storage. Would be nice to move large accounts email to a standard drive.

Comment

This is totally unsupported by Interworx and if trying/testing the following may incur charges from interworx if they need to become involved to correct. Also, you do so at your own risk as I accept no responsibility for anything which may happen.

I had a quick look and think, and although untested, the below may or may not work. I would strongly suggest you first try using a test siteworx account

Firstly you need to stop qmail fully
Copy or move mail folder to new drive (nfs folders may cause degradation but you can test) and make sure perms/rights fully match exactly
In var/vpopmail/domains delete the symlink on the new test domain you created and create new symlink for the domain to point to new moved mailbox
Restart qmail
Test, test, test and leave running for at least 24 hours so you can see if the quota space is calculated correctly.

It may or may not work and was just a quick thought but to repeat, interworx would charge for fixing and you change at your own risk

Many thanks

John

Comment

John, I'm definitely not going to do this until it's supported (and it may never be). Honestly, even though SSD drives are more expensive, they do give a better IMAP experience with all the thousands of small email files in each account. So probably makes more sense to just invest in bigger drives when they are needed.

Comment

It does work lovely though, as I just tried but I do not know if space quota count is working.

At the very least, if you wanted to move just a few very large mailboxes, you could as this is just changing outside IW, and Amy new email accounts for that siteworx domain is created within the new folder.