InMotion Hosting Support Center

If you read our previous article, you should have a good understanding of why IMAP can cause resource usage issues on the server.

Our System Administration team has the ability to run an automated IMAP archive process for you to keep your e-mail account automatically organized to be efficient. This would run once a week and always keep your Inbox tidy with a predetermined time-frame worth of messages.

We’ve found typically 30 days is a good time-frame to set, and any messages older than 30 days would simply be moved automatically for you into an archive folder with the name of the month those messages were received.

Below you can see the way this would look in our various webmail clients:

Horde-IMAP-auto-archive RoundCube-IMAP-auto-archive SquirrelMail-IMAP-auto-archive

You also have the ability to subscribe to these server-side IMAP folders from your favorite e-mail client. We already have an article explaining how to subscribe to specific IMAP folders in Outlook 2010, as well as syncing your IMAP folders on your iPhone.

The instructions should be very similar for any other mail clients. If you're still having issues getting your mail client to subscribe to these IMAP folders, please comment below with the mail client you use, so that we can write additional articles for your specific mail client.

To have our automated IMAP archiving setup on any of your e-mail accounts for you, please open a ticket letting us know which e-mail accounts you'd like this applied to.

Was this article helpful?

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

n/a Points
2015-12-18 3:46 am

Please does the archiving works for mail box set up with POP.

10,077 Points
2015-12-18 2:30 pm
Hello Mike,

Unfortunately it does not as POP does not handle seperate folders correctly. It combines them all so if you have your email account archived you should be using IMAP.

Best Regards,
TJ Edens
n/a Points
2014-12-30 2:08 pm

I have a few questions about how Automated Archiving works.

1. When it says inbox, does that also include trash and sent folders?

2. Can it be set for a different time frame then 30 days?

3. If I dont like how it effects my work flow, can I turn it off? if yes what hapens to the archived messages?

11,186 Points
2014-12-30 2:17 pm
The inbox does indeed include the trash and junk mail. Different time frames can indeed be set, depending on your preference as well as thresholds such as number of emails (ex: keep 100 emails and archive the rest). You may ask for email archiving to be disabled, however, it is not easily reversed.
n/a Points
2014-12-30 2:22 pm

Are there some better screen shots?

Do I adjust the settings or does tech support?

can I have it just archive my trash and sent folders?

11,186 Points
2014-12-30 2:30 pm
Unfortunately, we do not have any addition screenshots.

Email archiving is done by technical support via a verified ticket.

Archiving your trsh and sent folders do not typically have the performance impact that your inbox does as sent and trash folders are not accessed frequently. The reason that archiving your inbox helps is due to the entire inbox being loaded when accessing it. If the inbox is archived, only content that is being accessed in that particular archive is being loaded.
11,186 Points
2014-12-30 2:18 pm
In addition, not archiving your mail if you have a large inbox using IMAP can cause resource usage so archiving your mail is typically a good idea if you have a large inbox.
n/a Points
2014-12-30 2:47 pm

my actual inbox is ussally under 150 messages. I like to hold on to my sent and trash mailboxes for work purposes for longer and it seems auto archive would work well

11,186 Points
2014-12-30 3:09 pm
If solely for the purposes of keeping specific messages, I recommend simply placing them in different folders.
n/a Points
2014-12-22 1:47 pm

We have an employee that accesses his email account through Gmail (set up as iMAP). If we set his account to auto archive on the server will he be able see, as described above and for an iPhone, the the archive folders in Gmail?

11,186 Points
2014-12-22 1:51 pm
Yes, Gmail will automatically detect the folders without any issues.
11,186 Points
2014-03-10 10:02 am
When email archiving is turned on, it will only archive the main inbox and will not affect your created folders. The subscribed email folders are also reviewed, but only when reviewed by your mail client. So in most clients, unless you click on the folder, it will not loop through the mail within it. This saves on resources as it is looping through folders only when requested.
n/a Points
2014-03-07 7:50 pm

I had a few questions for your support staff regarding IMAP archiving and wanted to share them here for anyone else who might run into them down the line.1.  Does IMAP archiving result in a temporary, or permanent, increase in the amount of hard drive space the email account requires?  The cPanel documentation states the following:

"Note: When you enable Email Archiving, the amount of disk space used can quickly double depending on the length of time you store messages. Verify that your disk drive has ample space before you enable Email Archiving"



2.  How does your automated IMAP archiving process (I am assuming this is  email_archive_maintenance from the cPanel documentation) handle existing directories?  Are emails removed from them, and recategorized by date in Archives -> Year -> day/month folders?  Are year -> day/month folders created within each existing directory?  Or are existing directories not archived?

3.  Is it possible to specify which directories to archive, and which directories to not archive?

4. Your doc "Possible server resource usage problems when using IMAP", describes how IMAP connections must loop through all of the messages in the Inbox folder, which can lead to performance issues.  Do IMAP connections also need to loop through other subscribed imap folders?Is the key to lower the overall number of emails in the Inbox, or is it to lower the overall number of emails in any subscribed folder which has a large number of emails?

Thanks from Netpay!

9,968 Points
2013-04-08 12:49 pm
Hello Irning,

Sorry for the delayed response. It looks like you do have some older Archive folders on the server already going back as far as 2005. Were you still having issues viewing those? Because the IMAP archiving should work with older mail that was on the account as well.

- Jacob
2013-03-17 8:09 am

I have recently migrated emails from Google to my own account. As you can imagine, I had several thousand emails archived from different years in my inbox. However, when the automated IMAP archiving kicked in, all it did was to create a folder for March 2013. How about all the other months before that, and years before 2012? Does the IMAP archiving work only with new incoming mail and not for older mail?

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

17 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!