[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pbmserv-dev] order of multiples



On Wed, May 01, 2002 at 07:54:23AM -0400, Randall Bart wrote:
> 
> >It would be "Ok" if the
> >multiple command preserved order but it doesn't (as I learned through hard
> >experience).
> 
> I wish Richard would just fix that.  He's never given a convincing reason 
> why it happens.  If multiple sent the messages out on the Internet to be 
> reflected back, it would make sense, but if the messages are staying on one 
> server, they should stay in order.

The "reason" is that the current implementation of multiple just takes
the inputfile, and converts it into multiple email messages for the
server, and retransmits them en masses to the server.  However, those
messages might be accepted and/or arrive/get processed in a different
order.  It's email... it happens.

To fix it, rather than retransmitting the messages as email, it should
create temporary INPUTFILEs for each request (with whatever headers/comments
are necessary... if any), and then invoke the command inline.

Yes... pretty trivial.  but I've not got a round tuit.

-- 
 /  \__  | Richard Rognlie / Sendmail Ninja / Gamerz.NET Lackey
 \__/  \ | http://www.gamerz.net/rrognlie/    <rrognlie@gamerz.net>
 /  \__/ | No trees were killed in the sending of this message. 
 \__/    | However, a great many instructions were executed.