Ok thank you for this *very* useful information.
I will let anyone knows how this installation is going
(Give us a week at least we are quite busy ... Who isn't)
Thomas
----- Original Message -----
From: Adrian Pavlykevych <[EMAIL PROTECTED]>
To: Production Team 2 <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, March 17, 2000 10:38 AM
Subject: Re: qmail and coda
> Hi!
>
> If you want to use Coda for Maildirs, you have to make small patch to
qmail-local: Coda doesn't support file links between directories, so you
need substitute link(),unlink() for rename().
>
> Her is the patch, but I can't vouch for it - haven't used it on production
machine.
>
> *** qmail-local.c.orig Tue Mar 14 10:21:56 2000
> --- qmail-local.c Tue Mar 7 11:49:35 2000
> ***************
> *** 127,134 ****
> --- 127,138 ----
> if (fsync(fd) == -1) goto fail;
> if (close(fd) == -1) goto fail; /* NFS dorks */
>
> + #ifdef NFS_HACK
> if (link(fntmptph,fnnewtph) == -1) goto fail;
> /* if it was error_exist, almost certainly successful; i hate NFS */
> + #else
> + if (rename(fntmptph,fnnewtph) == -1) goto fail;
> + #endif
> tryunlinktmp(); _exit(0);
>
> fail: tryunlinktmp(); _exit(1);
>
> --
> Adrian Pavlykevych email: <[EMAIL PROTECTED]>
> System Administrator phone/fax: +380 (322) 742041
> State University "Lvivska Polytechnica"
>