Community Discussions and Support
Poor IMAP performance with large mailboxes

I routinely test Mercury here with mailboxes containing several thousand messages and haven't had any particular problems... As Thomas says, IMAP performance is never going to be quite as good as direct file manipulation, but it should be perfectly bearable.

A lot depends on exactly what the client package is doing: IMAP is quite a dense, complex protocol, and it depends very heavily on clients caching data in sensible ways (probably 75% of the IMAP code in WinPMail revolves around client-side cache management, for example).

One thing to look out for is Anti-virus software. If you have anti-virus software running in the background scanning the user mailbox directories, then this can have a dramatic impact on Mercury's ability to access mail files (factors of 10 or more in some cases), as well as introducing the very real possibility of data damage or folder corruption. It's always better to set up a Mercury Policy to handle anti-virus scanning on mail instead of using background scanner processes, because Policies are properly-integrated into Mercury's workflow.

I'm always working on Mercury's IMAP performance, though - it's one of those areas where there's always something you can tweak here or twist there to wring a little more speed out of the poor old girl. Mercury 4.6 will include some modest IMAP performance improvements, but like I said above, it sounds like your issues may be dependent on other factors.

Cheers!

-- David --

I routinely test Mercury here with mailboxes containing several thousand messages and haven't had any particular problems... As Thomas says, IMAP performance is never going to be quite as good as direct file manipulation, but it should be perfectly bearable. A lot depends on exactly what the client package is doing: IMAP is quite a dense, complex protocol, and it depends very heavily on clients caching data in sensible ways (probably 75% of the IMAP code in WinPMail revolves around client-side cache management, for example). One thing to look out for is Anti-virus software. If you have anti-virus software running in the background scanning the user mailbox directories, then this can have a dramatic impact on Mercury's ability to access mail files (factors of 10 or more in some cases), as well as introducing the very real possibility of data damage or folder corruption. It's always better to set up a Mercury Policy to handle anti-virus scanning on mail instead of using background scanner processes, because Policies are properly-integrated into Mercury's workflow. I'm always working on Mercury's IMAP performance, though - it's one of those areas where there's always something you can tweak here or twist there to wring a little more speed out of the poor old girl. Mercury 4.6 will include some modest IMAP performance improvements, but like I said above, it sounds like your issues may be dependent on other factors. Cheers! -- David --

I wanted to migrate to M32 for IMAP support, but am finding *very* poor performance via IMAP.  I'm running on dedicated a 2.8gHz P4 w/ 2gb ram & SATA HD's , so it's not a hardware limitation by any means.

 I've got a large mailbox (~10,000 messages) that takes forever to access.  I had to increase the TCPIP timeout from 30 secs to 10 mins to even do the initial population in Mozilla thunderbird.  I also tried using squirrel mail web interface and again the script would timeout after 30 seconds and not populate messages.

I got my family migrated and then performance sucked so bad I went back to my old POP3 server until I can get it performing better.   Is there some way to increase the performance of IMAP?

 

<p>I wanted to migrate to M32 for IMAP support, but am finding *very* poor performance via IMAP.  I'm running on dedicated a 2.8gHz P4 w/ 2gb ram & SATA HD's , so it's not a hardware limitation by any means.</p><p> I've got a large mailbox (~10,000 messages) that takes forever to access.  I had to increase the TCPIP timeout from 30 secs to 10 mins to even do the initial population in Mozilla thunderbird.  I also tried using squirrel mail web interface and again the script would timeout after 30 seconds and not populate messages. </p><p>I got my family migrated and then performance sucked so bad I went back to my old POP3 server until I can get it performing better.   Is there some way to increase the performance of IMAP?  </p>

[quote user="aka_bigred"]

I wanted to migrate to M32 for IMAP support, but am finding *very* poor performance via IMAP.  I'm running on dedicated a 2.8gHz P4 w/ 2gb ram & SATA HD's , so it's not a hardware limitation by any means.

 I've got a large mailbox (~10,000 messages) that takes forever to access.  I had to increase the TCPIP timeout from 30 secs to 10 mins to even do the initial population in Mozilla thunderbird.  I also tried using squirrel mail web interface and again the script would timeout after 30 seconds and not populate messages.

I got my family migrated and then performance sucked so bad I went back to my old POP3 server until I can get it performing better.   Is there some way to increase the performance of IMAP?

 

[/quote]

 

IMAP4 is a very busy protocol and relies a lot of folder caching to speed it up.  The first time you open any folder will be really slow and it will get better later on.  I've got SquirrelMail v1.5.1 working pretty well with these large folders but no mater what it's going to be a lot slower that direct access via the local hard drive.

 

[quote user="aka_bigred"]<p>I wanted to migrate to M32 for IMAP support, but am finding *very* poor performance via IMAP.  I'm running on dedicated a 2.8gHz P4 w/ 2gb ram & SATA HD's , so it's not a hardware limitation by any means.</p><p> I've got a large mailbox (~10,000 messages) that takes forever to access.  I had to increase the TCPIP timeout from 30 secs to 10 mins to even do the initial population in Mozilla thunderbird.  I also tried using squirrel mail web interface and again the script would timeout after 30 seconds and not populate messages. </p><p>I got my family migrated and then performance sucked so bad I went back to my old POP3 server until I can get it performing better.   Is there some way to increase the performance of IMAP?  </p><p>[/quote]</p><p> </p><p>IMAP4 is a very busy protocol and relies a lot of folder caching to speed it up.  The first time you open any folder will be really slow and it will get better later on.  I've got SquirrelMail v1.5.1 working pretty well with these large folders but no mater what it's going to be a lot slower that direct access via the local hard drive.</p><p> </p>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft