Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Webmail Lite and NFS mounted home dirs Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
irishmart
Newbie
Newbie


Joined: 23 March 2011
Location: Ireland
Online Status: Offline
Posts: 3
Posted: 23 March 2011 at 4:48am | IP Logged Quote irishmart

Hi there
Ive just installed Webmail Lite php on linux ( running imap and smtp). It
installed fine, and the speed is fantastic. One problem Ive not been able to
solve as yet:
If I login as a user accessing a remote mail server which has the users home
directory locally created all is ok
If I login as a user accessing a remote mail server which has the users home
directory mounted from another server ( NAS box) on nfs, it takes a long time to
load ( even though it authenticates via imap fine eventually ) and times out
before displaying any messages.
Is there a way to get NFS home directories to work here, as most/all of our
users use this system
Many thanks in advance
Back to Top View irishmart's Profile Search for other posts by irishmart
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 23 March 2011 at 4:52am | IP Logged Quote Igor

I don't see what this has to do with users' home directories? WebMail accesses mailboxes via IMAP,
and as long as this can be done, it doesn't matter how exactly users' directories are accessed.

I'd suggest to try the Pro edition, version 6 has multiple optimizations specifically targeted at
IMAP-related performance. We are going to update Lite to v6 soon.

--
Regards,
Igor
Back to Top View Igor's Profile Search for other posts by Igor
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 23 March 2011 at 4:54am | IP Logged Quote Igor

Have posted the response in wrong section, should be in place now.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
irishmart
Newbie
Newbie


Joined: 23 March 2011
Location: Ireland
Online Status: Offline
Posts: 3
Posted: 23 March 2011 at 4:59am | IP Logged Quote irishmart

Thanks igor.
If I change the home directory path of one of these users from an NFS one to a
local one, the problem goes away. If I insert it back, the problem reappears.
Looks like some sort of lookup is done ( maybe for folders) before displaying the
messages, that iut doesnt like with NFS. But I'll try out the Pro edition and see
whether it sorts the problem, if so waiting for V6 might solve my problems!
Many thanks again
Back to Top View irishmart's Profile Search for other posts by irishmart
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 23 March 2011 at 5:48am | IP Logged Quote Igor

I have discussed this with the developers here, and it sounds like it could be the issue of NFS itself, if
its old version is used. When you access the account via IMAP, WebMail performs a number of prefetching
operations which can run pretty much simultaneously, and that might become a problem for locking used on NFS.

You can disable prefetching by tweaking js/common/defines.js file:

Code:
var UsePrefetch = true;


Setting this to false is known to resolve some performance-related issues. Of course, you'll need to
clear browser cache to make the update work.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
irishmart
Newbie
Newbie


Joined: 23 March 2011
Location: Ireland
Online Status: Offline
Posts: 3
Posted: 29 March 2011 at 7:24am | IP Logged Quote irishmart

Thanks Igor,
Ive gotten it to work now :) The UsePrefetch option did not work for me. However
taking your point about nfs versions, the mail server i was testing with was
rather old. Trying with my soon to be implemented server with the latest version
of NFS, works a treat. So I'll implement webmail lite with the nre server
implementation. Many thanks for all of your help
Regards
Back to Top View irishmart's Profile Search for other posts by irishmart
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide