Dear Sir, It started working. Cheers & pl accept my warm thanks. Thanks to Mr. Hardik Pandya, our Unix SysAdmin.
Let me detail it to make it a complete solution for others on the same issue so that they dont generate list-traffic as me!!! I created /var/qmail/maildirs directory on sqwebmail server. Changed the /etc/exports file on LDAP server as "/var/qmail/maildirs <ip-of-sqwebmail-server>(rw,no_root_squash)", restarted portmap & nfs services on LDAP server to make these changes effective. On Sqwebmail server, mounted NFS as: # mount -t nfs -o rw <ip-of-LDAP-server>:/var/qmail/maildirs /var/qmail/maildirs/ Its showing the contents inside user's home directory/Mail directory. Once again thank u very much for ur kind help. Best Regards, Suhag. ----- Original Message ----- From: "Brian Candler" <[EMAIL PROTECTED]> To: "suhag" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, August 01, 2003 4:41 PM Subject: Re: [sqwebmail] can not login thro Sqwebmail > On Fri, Aug 01, 2003 at 04:21:02PM +0530, suhag wrote: > > -------------------------------------------------------------------------- > > chdir "/var/qmail/maildirs/": No such file or directory > > [Fri Aug 1 15:53:32 2003] [error] [client 10.10.10.1 ] Premature end of > > script headers: /var/www/cgi-bin/sqwebmail > > -------------------------------------------------------------------------- > > > > Its trying to chdir "/var/qmail/maildirs/" on sqwebmail server, which is not > > there. Its on our LDAP server where all maildirs r lying. I've mounted > > /var/qmail/maildirs of LDAP server on /mnt/test of sqwebmail server thro > > NFS. > > > > mount -t nfs -o ro 192.168.100.85:/var/qmail/maildirs /mnt/test > > > > But that isnt mounted recursively, only user's directory is mounted and not > > the Maildir inside it. i.e. > > -------------------------------------------------------------------------- > > #ls -l /mnt/test > > drwx------ 5 vmail vmail 4096 Feb 20 13:47 suhag > > #cd suhag > > # > > -------------------------------------------------------------------------- > > But I didn't see you type 'cd /mnt/test/suhag; ls' > > You should find the contents, unless on the remote server > /var/qmail/maildirs/suhag is on a different filesystem than > /var/qmail/maildirs > > You can create an empty directory /var/qmail/maildirs on your sqwebmail > server, unmount /mnt/test and remount on /var/qmail/maildirs. And once > going, you'll need to mount it rw, not ro, for sqwebmail to work properly. > > Anyway, this is now no longer a courier-imap problem. Do you have a friendly > Unix sysadmin you could talk to locally? I am concerned that we are now > generating far too much list traffic as we try to diagnose problems by > exchange of E-mails. And no, I'm not prepared to offer private off-list > consultancy. > > Regards, > > Brian. > >
