Re: zeroseek and qmail

"Mark Delany" <[email protected]> 27 Aug 2002 20:05:17 +0000
Newsgroups gmane.comp.djb.zeroseek
Message-ID <[email protected]>
On Tue, Aug 27, 2002 at 03:39:57PM -0400, Russell Nelson allegedly wrote:
> Charles Cazabon writes:
>  > Not really.  And since on most systems, most deliveries will be either
>  > forwarding "&" directives or maildir/mbox directives, qmail-local only has to
>  > do it when it sees the comparitively rare "|" program delivery directive.
> 
> No, it's even easier than that.  It's only if the "|" program delivery
> is not the final delivery instruction.  Otherwise, qmail can open a
> file for the file deliveries, and open a pipe to qmail-queue for the
> forwarding directives, and open a pipe to /bin/sh -c program, and
> deliver to them all in parallel.  read, write/write/write.

Unless the input to qmail-local is seekable (in some sense, eg, a set
of file vectors), then this doesn't scale.  And, given the security
risk of content exposure, that may not necessarily be the case.

Multi-user access to and from the zeroseek file(s) creates an
interesting set of performance, security and semantic
trade-offs. It'll certainly be interesting to see how Dan resolves
them. One possibility might be that zeroseek is not destined for
multi-user access.


Regards.