Re: zeroseek and qmail

"Mark Delany" <[email protected]> 27 Aug 2002 16:27:03 +0000
Newsgroups gmane.comp.djb.zeroseek
Message-ID <[email protected]>
On Tue, Aug 27, 2002 at 08:20:17AM -0600, Charles Cazabon allegedly wrote:
> Jos Backus <[email protected]> wrote:
> > As has probably been asked before, I wonder how zeroseek is going to maintain
> > the ``fd to the queue file'' semantics that .qmail files support.
> 
> Others have asked /whether/ qmail2 would support this -- most people who have
> posted think not, for the same reasons you're wondering how it could be done.
> 
> Someone (I think it was Russell?) noted that there's nothing in the 1.03
> documentation that guarantees the fd supplied to qmail-command programs is
> seekable

Check out the last sentence in the DESCRIPTION section of the
qmail-local manpage. "The standard input for qmail-local must be a
seekable file, so that qmail-local can read it more than once.".

Strictly speaking, it doesn't follow that the fd that qmail-local
gives to the delivery command has to likewise be seeakable, but in
practice that's the expectation the author has as we see in things
like condredirect.


Regards.