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.

Reply via email to